v0.2.3: improvements to the rankings page
This commit is contained in:
@@ -73,7 +73,7 @@ public class Bleeding extends Buff {
|
||||
}
|
||||
|
||||
if (target == Dungeon.hero && !target.isAlive()) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.BLEEDING, Dungeon.depth ) );
|
||||
Dungeon.fail( ResultDescriptions.BLEEDING );
|
||||
GLog.n( "You bled to death..." );
|
||||
}
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ public class Burning extends Buff implements Hero.Doom {
|
||||
|
||||
Badges.validateDeathFromFire();
|
||||
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.BURNING, Dungeon.depth ) );
|
||||
Dungeon.fail( ResultDescriptions.BURNING );
|
||||
GLog.n( TXT_BURNED_TO_DEATH );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ public class Hunger extends Buff implements Hero.Doom {
|
||||
|
||||
Badges.validateDeathFromHunger();
|
||||
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.HUNGER, Dungeon.depth ) );
|
||||
Dungeon.fail( ResultDescriptions.HUNGER );
|
||||
GLog.n( TXT_DEATH );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ public class Ooze extends Buff {
|
||||
else if (Random.Int(2) == 0)
|
||||
target.damage( 1, this );
|
||||
if (!target.isAlive() && target == Dungeon.hero) {
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.OOZE, Dungeon.depth ) );
|
||||
Dungeon.fail( ResultDescriptions.OOZE );
|
||||
GLog.n( TXT_HERO_KILLED, toString() );
|
||||
}
|
||||
spend( TICK );
|
||||
|
||||
@@ -90,7 +90,7 @@ public class Poison extends Buff implements Hero.Doom {
|
||||
public void onDeath() {
|
||||
Badges.validateDeathFromPoison();
|
||||
|
||||
Dungeon.fail( Utils.format( ResultDescriptions.POISON, Dungeon.depth ) );
|
||||
Dungeon.fail( ResultDescriptions.POISON );
|
||||
GLog.n( "You died from poison..." );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user