mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-01 10:38:51 +00:00
class armor now starts active
This commit is contained in:
@@ -203,19 +203,19 @@ void stat_screen(bool editable) {
|
||||
switch(m.profession) {
|
||||
case stat::str:
|
||||
find_power("axe").gain(1, 1);
|
||||
find_power("heavy armor").gain(2, 2);
|
||||
find_power("heavy armor").gain(2, 2).flags |= ACTIVE;
|
||||
break;
|
||||
case stat::con:
|
||||
find_power("polymorph").gain(1, 1).flags |= IDENTIFIED | PARTIAL;
|
||||
find_power("druid outfit").gain(2, 2);
|
||||
find_power("druid outfit").gain(2, 2).flags |= ACTIVE;
|
||||
break;
|
||||
case stat::dex:
|
||||
find_power("the thief").gain(1, 1).flags |= IDENTIFIED | PARTIAL;
|
||||
find_power("thief garments").gain(2, 2);
|
||||
find_power("thief garments").gain(2, 2).flags |= ACTIVE;
|
||||
break;
|
||||
case stat::wis:
|
||||
find_power("fire").gain(1, 1).flags |= IDENTIFIED | PARTIAL;
|
||||
find_power("wizard attire").gain(2, 2);
|
||||
find_power("wizard attire").gain(2, 2).flags |= ACTIVE;
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user