v1.3.0: fixed wand of corrosion not trigger friendly fire badge

This commit is contained in:
Evan Debenham
2022-06-29 19:12:30 -04:00
parent 3e13dee370
commit ea8b7ae3ce

View File

@@ -55,7 +55,7 @@ public class CorrosiveGas extends Blob {
cell = i + j*Dungeon.level.width();
if (cur[cell] > 0 && (ch = Actor.findChar( cell )) != null) {
if (!ch.isImmune(this.getClass()))
Buff.affect(ch, Corrosion.class).set(2f, strength);
Buff.affect(ch, Corrosion.class).set(2f, strength, source);
}
}
}