v0.6.3: fixed various text errors relating to venom

This commit is contained in:
Evan Debenham 2018-01-21 20:50:22 -05:00
parent 2dddeee60d
commit 8aae9906ae
2 changed files with 11 additions and 5 deletions

View File

@ -71,9 +71,14 @@ public class Venom extends Buff implements Hero.Doom {
return Messages.get(this, "name"); return Messages.get(this, "name");
} }
@Override
public String heroMessage() {
return Messages.get(this, "heromsg");
}
@Override @Override
public String desc() { public String desc() {
return Messages.get(this, "desc", dispTurns(left), damage); return Messages.get(this, "desc", dispTurns(left), (int)damage);
} }
@Override @Override
@ -102,7 +107,7 @@ public class Venom extends Buff implements Hero.Doom {
Badges.validateDeathFromPoison(); Badges.validateDeathFromPoison();
Dungeon.fail( getClass() ); Dungeon.fail( getClass() );
GLog.n(Messages.get(Poison.class, "ondeath")); GLog.n(Messages.get(this, "ondeath"));
} }
} }

View File

@ -218,9 +218,10 @@ actors.buffs.toxicimbue.name=Imbued with Toxicity
actors.buffs.toxicimbue.desc=You are imbued with poisonous energy!\n\nAs you move around toxic gas will constantly billow forth from you, damaging your enemies. You are immune to toxic gas and poison for the duration of the effect.\n\nTurns of toxic imbue remaining: %s. actors.buffs.toxicimbue.desc=You are imbued with poisonous energy!\n\nAs you move around toxic gas will constantly billow forth from you, damaging your enemies. You are immune to toxic gas and poison for the duration of the effect.\n\nTurns of toxic imbue remaining: %s.
actors.buffs.venom.name=Venomed actors.buffs.venom.name=Venomed
actors.blobs.venomgas.ondeath=You died from venom... actors.buffs.venom.heromsg=You are envenomed!
actors.blobs.venomgas.rankings_desc=Succumbed to Venom actors.buffs.venom.ondeath=You died from venom...
actors.buffs.venom.desc=Venom is a extremely caustic and dangerous poison.\n\nUnlike poison, whose damage lowers over time, venom does increasing damage the longer it stays on a target.\n\nTurns of venom remaining: %1$s.\nCurrent venom damage: %2$d. actors.buffs.venom.rankings_desc=Succumbed to Venom
actors.buffs.venom.desc=Venom is an extremely caustic and dangerous poison.\n\nUnlike poison, whose damage lowers over time, venom does increasing damage the longer it stays on a target.\n\nTurns of venom remaining: %1$s.\nCurrent venom damage: %2$d.
actors.buffs.vertigo.name=Vertigo actors.buffs.vertigo.name=Vertigo
actors.buffs.vertigo.desc=Walking in a straight line can be difficult when the whole world is spinning.\n\nWhile under the effects of vertigo, characters who attempt to move will go in a random direction, instead of the one they intended to go in.\n\nTurns of vertigo remaining: %s. actors.buffs.vertigo.desc=Walking in a straight line can be difficult when the whole world is spinning.\n\nWhile under the effects of vertigo, characters who attempt to move will go in a random direction, instead of the one they intended to go in.\n\nTurns of vertigo remaining: %s.