v2.2.1: updated armored statues to use new statue generation logic
This commit is contained in:
+9
-5
@@ -46,15 +46,19 @@ public class ArmoredStatue extends Statue {
|
|||||||
public ArmoredStatue(){
|
public ArmoredStatue(){
|
||||||
super();
|
super();
|
||||||
|
|
||||||
do {
|
|
||||||
armor = Generator.randomArmor();
|
|
||||||
} while (armor.cursed);
|
|
||||||
armor.inscribe(Armor.Glyph.random());
|
|
||||||
|
|
||||||
//double HP
|
//double HP
|
||||||
HP = HT = 30 + Dungeon.depth * 10;
|
HP = HT = 30 + Dungeon.depth * 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void createWeapon(boolean useDecks) {
|
||||||
|
super.createWeapon(useDecks);
|
||||||
|
|
||||||
|
armor = Generator.randomArmor();
|
||||||
|
armor.cursed = false;
|
||||||
|
armor.inscribe(Armor.Glyph.random());
|
||||||
|
}
|
||||||
|
|
||||||
private static final String ARMOR = "armor";
|
private static final String ARMOR = "armor";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user