v0.3.4: reworked rankings to store their cause instead of a result string
This commit is contained in:
committed by
Evan Debenham
parent
0e2fbc05fb
commit
ac967fad27
@@ -66,7 +66,7 @@ public class DisintegrationTrap extends Trap {
|
||||
if (ch == Dungeon.hero){
|
||||
Hero hero = (Hero)ch;
|
||||
if (!hero.isAlive()){
|
||||
Dungeon.fail(Utils.format(ResultDescriptions.TRAP, name));
|
||||
Dungeon.fail( getClass() );
|
||||
GLog.n( Messages.get(this, "ondeath") );
|
||||
} else {
|
||||
Item item = hero.belongings.randomUnequipped();
|
||||
|
||||
Reference in New Issue
Block a user