From 869a0434cb5adcfa5fe9f328ce09953740c6198f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 23 Oct 2024 16:04:12 -0400 Subject: [PATCH] v3.0.0: fixed a few missing death & rankings messages --- core/src/main/assets/messages/items/items.properties | 4 +++- .../shatteredpixeldungeon/items/wands/WandOfBlastWave.java | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src/main/assets/messages/items/items.properties b/core/src/main/assets/messages/items/items.properties index f1e4a9c93..2243cdb6b 100644 --- a/core/src/main/assets/messages/items/items.properties +++ b/core/src/main/assets/messages/items/items.properties @@ -47,7 +47,6 @@ items.armor.glyphs.obfuscation.name=%s of obfuscation items.armor.glyphs.obfuscation.desc=This glyph obscures the wearer, making them more difficult to detect. items.armor.glyphs.potential.name=%s of potential -items.armor.glyphs.potential.rankings_desc=Killed by: glyph of potential items.armor.glyphs.potential.desc=This glyph builds energy when struck, granting charge to the wearer's wand when it activates. items.armor.glyphs.repulsion.name=%s of repulsion @@ -96,6 +95,7 @@ items.armor.armor.not_cursed=This armor is free of malevolent magic. items.armor.armor.seal_attached=The Warrior's broken seal is attached to this armor, it is providing him up to _%d shielding_. items.armor.armor$glyph.glyph=glyph items.armor.armor$glyph.killed=%s killed you... +items.armor.armor$glyph.rankings_desc=Killed by a glyph items.armor.classarmor.ac_ability=CHOOSE ABILITY items.armor.classarmor.ac_transfer=TRANSFER @@ -1465,6 +1465,7 @@ items.wands.wand$placeholder.name=wand items.wands.wandofblastwave.name=wand of blast wave items.wands.wandofblastwave.staff_name=staff of blast wave items.wands.wandofblastwave.ondeath=You killed yourself with your own Wand of Blast Wave... +items.wands.wandofblastwave.knockback_ondeath=The collision killed you... items.wands.wandofblastwave.desc=This wand is made of a sort of marbled stone, with gold trim and a round black gem at the tip. It feels very weighty in your hand. items.wands.wandofblastwave.typical_stats_desc=This wand shoots a bolt which violently detonates at a target location. The force of this blast typically deals _%1$d-%2$d damage_ and is strong enough to send most enemies flying. items.wands.wandofblastwave.stats_desc=This wand shoots a bolt which violently detonates at a target location. The force of this blast deals _%1$d-%2$d damage_ and is strong enough to send most enemies flying. @@ -2146,6 +2147,7 @@ items.weapon.weapon.enchanted=it has a _%s._ items.weapon.weapon.enchant_hardened=It has been _hardened._ items.weapon.weapon.hardened_no_enchant=This weapon has been _hardened,_ but is not currently enchanted. items.weapon.weapon$enchantment.enchant=enchantment +items.weapon.weapon$enchantment.rankings_desc=Killed by an enchantment ###misc items diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java index d93adfbf1..b61c4aa6d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/WandOfBlastWave.java @@ -37,9 +37,11 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.levels.features.Door; import com.shatteredpixel.shatteredpixeldungeon.levels.traps.TenguDartTrap; import com.shatteredpixel.shatteredpixeldungeon.mechanics.Ballistica; +import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene; import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet; import com.shatteredpixel.shatteredpixeldungeon.tiles.DungeonTilemap; +import com.shatteredpixel.shatteredpixeldungeon.utils.GLog; import com.watabou.noosa.Game; import com.watabou.noosa.Group; import com.watabou.noosa.Image; @@ -170,6 +172,7 @@ public class WandOfBlastWave extends DamageWand { if (cause instanceof WandOfBlastWave){ Badges.validateDeathFromFriendlyMagic(); } + GLog.n(Messages.get(WandOfBlastWave.class, "knockback_ondeath")); Dungeon.fail(cause); } }