v0.3.3: changed EVIL propery to DEMONIC, implemented it
This commit is contained in:
@@ -456,7 +456,7 @@ public abstract class Char extends Actor {
|
||||
BOSS,
|
||||
MINIBOSS,
|
||||
UNDEAD,
|
||||
EVIL,
|
||||
DEMONIC,
|
||||
IMMOVABLE
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,6 +51,8 @@ public class Elemental extends Mob {
|
||||
|
||||
loot = new PotionOfLiquidFlame();
|
||||
lootChance = 0.1f;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -60,6 +60,8 @@ public class Eye extends Mob {
|
||||
|
||||
loot = new Dewdrop();
|
||||
lootChance = 0.5f;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -46,7 +46,7 @@ public class FetidRat extends Rat {
|
||||
state = WANDERING;
|
||||
|
||||
properties.add(Property.MINIBOSS);
|
||||
properties.add(Property.UNDEAD);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -63,6 +63,7 @@ public class Goo extends Mob {
|
||||
lootChance = 0.333f;
|
||||
|
||||
properties.add(Property.BOSS);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
private int pumpedUp = 0;
|
||||
|
||||
@@ -54,7 +54,7 @@ public class Guard extends Mob {
|
||||
loot = null; //see createloot.
|
||||
lootChance = 1;
|
||||
|
||||
properties.add(Property.UNDEAD);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -50,6 +50,8 @@ public class Mimic extends Mob {
|
||||
{
|
||||
name = "mimic";
|
||||
spriteClass = MimicSprite.class;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
public ArrayList<Item> items;
|
||||
|
||||
@@ -52,6 +52,8 @@ public class Scorpio extends Mob {
|
||||
|
||||
loot = new PotionOfHealing();
|
||||
lootChance = 0.2f;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -59,6 +59,8 @@ public class Succubus extends Mob {
|
||||
|
||||
loot = new ScrollOfLullaby();
|
||||
lootChance = 0.05f;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -56,6 +56,8 @@ public class Thief extends Mob {
|
||||
lootChance = 0.01f;
|
||||
|
||||
FLEEING = new Fleeing();
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
private static final String ITEM = "item";
|
||||
|
||||
@@ -73,6 +73,7 @@ public class Yog extends Mob {
|
||||
|
||||
properties.add(Property.BOSS);
|
||||
properties.add(Property.IMMOVABLE);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
private static final String TXT_DESC =
|
||||
@@ -233,7 +234,7 @@ public class Yog extends Mob {
|
||||
state = WANDERING;
|
||||
|
||||
properties.add(Property.BOSS);
|
||||
properties.add(Property.UNDEAD);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -326,6 +327,7 @@ public class Yog extends Mob {
|
||||
state = WANDERING;
|
||||
|
||||
properties.add(Property.BOSS);
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -441,6 +443,8 @@ public class Yog extends Mob {
|
||||
EXP = 0;
|
||||
|
||||
state = HUNTING;
|
||||
|
||||
properties.add(Property.DEMONIC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user