v2.2.0: fixed ratmogrify making raging gnoll brutes invulnerable
This commit is contained in:
@@ -161,6 +161,11 @@ public class Ratmogrify extends ArmorAbility {
|
||||
Sample.INSTANCE.play(Assets.Sounds.PUFF);
|
||||
|
||||
Dungeon.level.occupyCell(rat);
|
||||
|
||||
//for rare cases where a buff was keeping a mob alive (e.g. gnoll brutes)
|
||||
if (!rat.isAlive()){
|
||||
rat.die(this);
|
||||
}
|
||||
}
|
||||
|
||||
armor.charge -= chargeUse(hero);
|
||||
|
||||
Reference in New Issue
Block a user