v0.3.0: removed self-kill check from wand of magic missile
This commit is contained in:
committed by
Evan Debenham
parent
6c9552f215
commit
38c84d6018
@@ -60,11 +60,7 @@ public class WandOfMagicMissile extends Wand {
|
|||||||
ch.damage(Random.NormalIntRange(2 , 6 + level * 2), this);
|
ch.damage(Random.NormalIntRange(2 , 6 + level * 2), this);
|
||||||
|
|
||||||
ch.sprite.burst(0xFFFFFFFF, level / 2 + 2);
|
ch.sprite.burst(0xFFFFFFFF, level / 2 + 2);
|
||||||
|
|
||||||
if (ch == curUser && !ch.isAlive()) {
|
|
||||||
Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name ) );
|
|
||||||
GLog.n( "You killed yourself with your own Wand of Magic Missile..." );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user