v1.3.0: fixed wand of corrosion not trigger friendly fire badge
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user