V0.2.0: fixed death interaction with Scroll of Psionic Blast
This commit is contained in:
@@ -81,7 +81,7 @@ public class WandOfAvalanche extends Wand {
|
||||
}
|
||||
|
||||
if (!curUser.isAlive()) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.WAND, name, Dungeon.depth ) );
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name, Dungeon.depth ) );
|
||||
GLog.n( "You killed yourself with your own Wand of Avalanche..." );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ public class WandOfFirebolt extends Wand {
|
||||
ch.sprite.emitter().burst( FlameParticle.FACTORY, 5 );
|
||||
|
||||
if (ch == curUser && !ch.isAlive()) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.WAND, name, Dungeon.depth ) );
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name, Dungeon.depth ) );
|
||||
GLog.n( "You killed yourself with your own Wand of Firebolt..." );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ public class WandOfLightning extends Wand {
|
||||
// The actual effect is processed in "fx" method
|
||||
|
||||
if (!curUser.isAlive()) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.WAND, name, Dungeon.depth ) );
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name, Dungeon.depth ) );
|
||||
GLog.n( "You killed yourself with your own Wand of Lightning..." );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public class WandOfMagicMissile extends Wand {
|
||||
ch.sprite.burst( 0xFF99CCFF, level / 2 + 2 );
|
||||
|
||||
if (ch == curUser && !ch.isAlive()) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.WAND, name, Dungeon.depth ) );
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.ITEM, name, Dungeon.depth ) );
|
||||
GLog.n( "You killed yourself with your own Wand of Magic Missile..." );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user