From 696e82e622962f6e10d03d70545479e69cc1f365 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Mon, 15 Jul 2013 13:18:03 +0200 Subject: [PATCH] Add missing Axes locale string * Somehow, the message notifying a player that he was struck by Skull Splitter wasn't in the locale files anymore. * Re-added this string and renamed it. * Fixes #1271 --- Changelog.txt | 1 + src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java | 2 +- src/main/resources/locale/locale_en_US.properties | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 405e9a19c..759e8b84e 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -9,6 +9,7 @@ Key: Version 1.4.07-dev + Added snow to excavation + = Fixed bug with Skull Splitter not finding the locale string ! Improved profile saving ! Updated localization files diff --git a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java index e187a25a9..4b0dc21ee 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java @@ -402,7 +402,7 @@ public final class CombatUtils { case AXES: if (entity instanceof Player) { - ((Player) entity).sendMessage(LocaleLoader.getString("Axes.Combat.Cleave.Struck")); + ((Player) entity).sendMessage(LocaleLoader.getString("Axes.Combat.SS.Struck")); } break; diff --git a/src/main/resources/locale/locale_en_US.properties b/src/main/resources/locale/locale_en_US.properties index 67d7ff569..7cf247971 100644 --- a/src/main/resources/locale/locale_en_US.properties +++ b/src/main/resources/locale/locale_en_US.properties @@ -60,6 +60,7 @@ Axes.Combat.CritChance=[[RED]]Chance to critically strike: [[YELLOW]]{0} Axes.Combat.CriticalHit=[[RED]]CRITICAL HIT! Axes.Combat.GI.Proc=[[GREEN]]**STRUCK WITH GREAT FORCE** Axes.Combat.GI.Struck=[[RED]]**HIT BY GREATER IMPACT** +Axes.Combat.SS.Struck=[[DARK_RED]]Struck by SKULL SPLITTER! Axes.Combat.SS.Length=[[RED]]Skull Splitter Length: [[YELLOW]]{0}s Axes.Effect.0=Skull Splitter (Ability) Axes.Effect.1=Deal AoE Damage