v2.4.2: DK now only kills allied minions of his on phase 1 -> 2
This commit is contained in:
@@ -498,11 +498,18 @@ public class DwarfKing extends Mob {
|
|||||||
s.detach();
|
s.detach();
|
||||||
}
|
}
|
||||||
for (Mob m : Dungeon.level.mobs.toArray(new Mob[0])) {
|
for (Mob m : Dungeon.level.mobs.toArray(new Mob[0])) {
|
||||||
|
if (m.alignment == alignment) {
|
||||||
if (m instanceof Ghoul || m instanceof Monk || m instanceof Warlock || m instanceof Golem) {
|
if (m instanceof Ghoul || m instanceof Monk || m instanceof Warlock || m instanceof Golem) {
|
||||||
m.die(null);
|
m.die(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (Buff b: buffs()){
|
||||||
|
if (b instanceof LifeLink){
|
||||||
|
b.detach();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (phase == 2 && shielding() == 0) {
|
} else if (phase == 2 && shielding() == 0) {
|
||||||
properties.remove(Property.IMMOVABLE);
|
properties.remove(Property.IMMOVABLE);
|
||||||
phase = 3;
|
phase = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user