v2.5.0: fixed ratmog killing enemies twice if transmogged over pits
This commit is contained in:
@@ -169,11 +169,11 @@ public class Ratmogrify extends ArmorAbility {
|
||||
CellEmitter.get(rat.pos).burst(Speck.factory(Speck.WOOL), 4);
|
||||
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)
|
||||
//for rare cases where a buff was keeping a mob alive (e.g. gnoll brute rage)
|
||||
if (!rat.isAlive()){
|
||||
rat.die(this);
|
||||
} else {
|
||||
Dungeon.level.occupyCell(rat);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user