v0.9.1b: fixed a small damage source inconsistency in dwarf king

This commit is contained in:
Evan Debenham 2020-12-20 21:15:26 -05:00
parent 96d0b046d0
commit 0e6e1c6982

View File

@ -537,7 +537,7 @@ public class DwarfKing extends Mob {
} }
} else { } else {
Char ch = Actor.findChar(pos); Char ch = Actor.findChar(pos);
ch.damage(Random.NormalIntRange(20, 40), summon); ch.damage(Random.NormalIntRange(20, 40), target);
if (((DwarfKing)target).phase == 2){ if (((DwarfKing)target).phase == 2){
target.damage(target.HT/12, new KingDamager()); target.damage(target.HT/12, new KingDamager());
} }