v0.3.2b: prevent DM-300 from awarding time from its own toxic gas
This commit is contained in:
parent
b733c6f4d0
commit
d2dc3aa712
|
@ -135,7 +135,7 @@ public class DM300 extends Mob {
|
|||
public void damage(int dmg, Object src) {
|
||||
super.damage(dmg, src);
|
||||
LockedFloor lock = Dungeon.hero.buff(LockedFloor.class);
|
||||
if (lock != null) lock.addTime(dmg*1.5f);
|
||||
if (lock != null && !immunities().contains(src.getClass())) lock.addTime(dmg*1.5f);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user