v2.2.0: fixed storm clouds not clearing fire or damaging fiery enemies
This commit is contained in:
@@ -43,11 +43,11 @@ public class StormCloud extends Blob {
|
||||
if (cur[cell] > 0) {
|
||||
Dungeon.level.setCellToWater(true, cell);
|
||||
if (fire != null){
|
||||
fire.clear(i);
|
||||
fire.clear(cell);
|
||||
}
|
||||
|
||||
//fiery enemies take damage as if they are in toxic gas
|
||||
Char ch = Actor.findChar(i);
|
||||
Char ch = Actor.findChar(cell);
|
||||
if (ch != null
|
||||
&& !ch.isImmune(getClass())
|
||||
&& Char.hasProp(ch, Char.Property.FIERY)){
|
||||
|
||||
Reference in New Issue
Block a user