From bdfd7d9839bd6347faf28a73ec31810ffaf1973c Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Thu, 10 Jan 2013 21:33:39 +0100 Subject: [PATCH] Display Endurance Perk stats in skill commands --- .../nossr50/commands/skills/AxesCommand.java | 27 +++++++++++++++-- .../commands/skills/ExcavationCommand.java | 26 ++++++++++++++-- .../commands/skills/HerbalismCommand.java | 27 +++++++++++++++-- .../commands/skills/MiningCommand.java | 26 ++++++++++++++-- .../commands/skills/SwordsCommand.java | 29 ++++++++++++++++-- .../commands/skills/UnarmedCommand.java | 30 +++++++++++++++++-- .../commands/skills/WoodcuttingCommand.java | 29 ++++++++++++++++-- .../resources/locale/locale_cs_CZ.properties | 1 + .../resources/locale/locale_cy.properties | 1 + .../resources/locale/locale_da.properties | 1 + .../resources/locale/locale_de.properties | 3 +- .../resources/locale/locale_en_US.properties | 1 + .../resources/locale/locale_es.properties | 1 + .../resources/locale/locale_fi.properties | 1 + .../resources/locale/locale_fr.properties | 1 + .../resources/locale/locale_it.properties | 1 + .../resources/locale/locale_ko.properties | 1 + .../resources/locale/locale_lv.properties | 1 + .../resources/locale/locale_nl.properties | 1 + .../resources/locale/locale_no.properties | 1 + .../resources/locale/locale_pl.properties | 1 + .../resources/locale/locale_pl_PL.properties | 1 + .../resources/locale/locale_pt_BR.properties | 1 + .../resources/locale/locale_ru.properties | 1 + .../resources/locale/locale_sv.properties | 1 + .../resources/locale/locale_tr_TR.properties | 1 + .../resources/locale/locale_zh_CN.properties | 1 + 27 files changed, 201 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/skills/AxesCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/AxesCommand.java index 098593156..b6b076444 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/AxesCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/AxesCommand.java @@ -20,6 +20,7 @@ public class AxesCommand extends SkillCommand { private String impactDamage; private String greaterImpactDamage; private String skullSplitterLength; + private String skullSplitterLengthEndurance; private int bonusDamageAxesBonusMax = advancedConfig.getBonusDamageAxesBonusMax(); private int bonusDamageAxesMaxBonusLevel = advancedConfig.getBonusDamageAxesMaxBonusLevel(); @@ -35,6 +36,7 @@ public class AxesCommand extends SkillCommand { private boolean canImpact; private boolean canGreaterImpact; private boolean lucky; + private boolean endurance; public AxesCommand() { super(SkillType.AXES); @@ -49,7 +51,24 @@ public class AxesCommand extends SkillCommand { //Armor Impact impactDamage = String.valueOf(1 + ((double) skillValue / (double) greaterImpactIncreaseLevel)); //Skull Splitter - skullSplitterLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + skullSplitterLength = String.valueOf(length); + + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.AXES.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + skullSplitterLengthEndurance = String.valueOf(length); + //Greater Impact greaterImpactDamage = String.valueOf(greaterImpactBonusDamage); //Critical Strikes @@ -71,6 +90,7 @@ public class AxesCommand extends SkillCommand { canImpact = Permissions.impact(player); canGreaterImpact = Permissions.greaterImpact(player); lucky = Permissions.luckyAxes(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -133,7 +153,10 @@ public class AxesCommand extends SkillCommand { } if (canSkullSplitter) { - player.sendMessage(LocaleLoader.getString("Axes.Combat.SS.Length", new Object[] { skullSplitterLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Axes.Combat.SS.Length", new Object[] { skullSplitterLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { skullSplitterLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Axes.Combat.SS.Length", new Object[] { skullSplitterLength })); } } } diff --git a/src/main/java/com/gmail/nossr50/commands/skills/ExcavationCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/ExcavationCommand.java index 54240a1bb..d1f0e0322 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/ExcavationCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/ExcavationCommand.java @@ -11,12 +11,14 @@ import com.gmail.nossr50.util.Permissions; public class ExcavationCommand extends SkillCommand { AdvancedConfig advancedConfig = AdvancedConfig.getInstance(); private String gigaDrillBreakerLength; + private String gigaDrillBreakerLengthEndurance; private int abilityLengthIncreaseLevel = advancedConfig.getAbilityLength(); private boolean canGigaDrill; private boolean canTreasureHunt; private boolean lucky; + private boolean endurance; public ExcavationCommand() { super(SkillType.EXCAVATION); @@ -24,7 +26,23 @@ public class ExcavationCommand extends SkillCommand { @Override protected void dataCalculations() { - gigaDrillBreakerLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + gigaDrillBreakerLength = String.valueOf(length); + + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.EXCAVATION.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + gigaDrillBreakerLengthEndurance = String.valueOf(length); } @Override @@ -32,6 +50,7 @@ public class ExcavationCommand extends SkillCommand { canGigaDrill = Permissions.gigaDrillBreaker(player); canTreasureHunt = Permissions.excavationTreasures(player); lucky = Permissions.luckyExcavation(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -63,7 +82,10 @@ public class ExcavationCommand extends SkillCommand { @Override protected void statsDisplay() { if (canGigaDrill) { - player.sendMessage(LocaleLoader.getString("Excavation.Effect.Length", new Object[] { gigaDrillBreakerLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Excavation.Effect.Length", new Object[] { gigaDrillBreakerLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { gigaDrillBreakerLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Excavation.Effect.Length", new Object[] { gigaDrillBreakerLength })); } } } diff --git a/src/main/java/com/gmail/nossr50/commands/skills/HerbalismCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/HerbalismCommand.java index 52cd00d55..0a54459ae 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/HerbalismCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/HerbalismCommand.java @@ -15,6 +15,7 @@ public class HerbalismCommand extends SkillCommand { AdvancedConfig advancedConfig = AdvancedConfig.getInstance(); private String greenTerraLength; + private String greenTerraLengthEndurance; private String greenThumbChance; private String greenThumbChanceLucky; private String greenThumbStage; @@ -39,6 +40,7 @@ public class HerbalismCommand extends SkillCommand { private boolean canDoubleDrop; private boolean doubleDropsDisabled; private boolean lucky; + private boolean endurance; public HerbalismCommand() { super(SkillType.HERBALISM); @@ -49,7 +51,24 @@ public class HerbalismCommand extends SkillCommand { DecimalFormat df = new DecimalFormat("0.0"); float greenThumbChanceF; float doubleDropChanceF; - greenTerraLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + greenTerraLength = String.valueOf(length); + + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.HERBALISM.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + greenTerraLengthEndurance = String.valueOf(length); //FARMERS DIET if (skillValue >= farmersDietMaxLevel) farmersDietRank = "5"; else farmersDietRank = String.valueOf((int) ((double) skillValue / (double) farmersDietRankChange)); @@ -81,6 +100,7 @@ public class HerbalismCommand extends SkillCommand { canDoubleDrop = Permissions.herbalismDoubleDrops(player); doubleDropsDisabled = configInstance.herbalismDoubleDropsDisabled(); lucky = Permissions.luckyHerbalism(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -124,7 +144,10 @@ public class HerbalismCommand extends SkillCommand { @Override protected void statsDisplay() { if (canGreenTerra) { - player.sendMessage(LocaleLoader.getString("Herbalism.Ability.GTe.Length", new Object[] { greenTerraLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Herbalism.Ability.GTe.Length", new Object[] { greenTerraLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { greenTerraLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Herbalism.Ability.GTe.Length", new Object[] { greenTerraLength })); } if (canGreenThumbBlocks || canGreenThumbWheat) { diff --git a/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java index e0e2e7b21..d0cdce519 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java @@ -17,6 +17,7 @@ public class MiningCommand extends SkillCommand { private String doubleDropChance; private String doubleDropChanceLucky; private String superBreakerLength; + private String superBreakerLengthEndurance; private String blastMiningRank; private String blastRadiusIncrease; private String blastDamageDecrease; @@ -41,6 +42,7 @@ public class MiningCommand extends SkillCommand { private boolean canDemoExpert; private boolean doubleDropsDisabled; private boolean lucky; + private boolean endurance; public MiningCommand() { super(SkillType.MINING); @@ -51,7 +53,23 @@ public class MiningCommand extends SkillCommand { DecimalFormat df = new DecimalFormat("0.0"); float doubleDropChanceF; //Super Breaker - superBreakerLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + superBreakerLength = String.valueOf(length); + + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.MINING.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + superBreakerLengthEndurance = String.valueOf(length); //Double Drops if (skillValue >= doubleDropsMaxLevel) doubleDropChanceF = (float) (doubleDropsMaxBonus); else doubleDropChanceF = (float) ((doubleDropsMaxBonus / doubleDropsMaxLevel) * skillValue); @@ -118,6 +136,7 @@ public class MiningCommand extends SkillCommand { canSuperBreaker = Permissions.superBreaker(player); doubleDropsDisabled = configInstance.miningDoubleDropsDisabled(); lucky = Permissions.luckyMining(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -168,7 +187,10 @@ public class MiningCommand extends SkillCommand { } if (canSuperBreaker) { - player.sendMessage(LocaleLoader.getString("Mining.Ability.Length", new Object[] { superBreakerLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Mining.Ability.Length", new Object[] { superBreakerLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { superBreakerLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Mining.Ability.Length", new Object[] { superBreakerLength })); } if (canBlast) { diff --git a/src/main/java/com/gmail/nossr50/commands/skills/SwordsCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/SwordsCommand.java index 3966c5a93..a16c03334 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/SwordsCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/SwordsCommand.java @@ -19,6 +19,7 @@ public class SwordsCommand extends SkillCommand { private String bleedChance; private String bleedChanceLucky; private String serratedStrikesLength; + private String serratedStrikesLengthEndurance; private int abilityLengthIncreaseLevel = advancedConfig.getAbilityLength(); private float bleedChanceMax = advancedConfig.getBleedChanceMax(); @@ -32,6 +33,7 @@ public class SwordsCommand extends SkillCommand { private boolean canSerratedStrike; private boolean canBleed; private boolean lucky; + private boolean endurance; public SwordsCommand() { super(SkillType.SWORDS); @@ -42,8 +44,26 @@ public class SwordsCommand extends SkillCommand { DecimalFormat df = new DecimalFormat("0.0"); float bleedChanceF; float counterAttackChanceF; - serratedStrikesLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + //Serrated Strikes + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + serratedStrikesLength = String.valueOf(length); + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.SWORDS.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + serratedStrikesLengthEndurance = String.valueOf(length); + + //Bleed if (skillValue >= bleedMaxLevel) bleedLength = String.valueOf(bleedMaxTicks); else bleedLength = String.valueOf(bleedBaseTicks); @@ -53,6 +73,7 @@ public class SwordsCommand extends SkillCommand { if (bleedChanceF + bleedChanceF * 0.3333D >= 100D) bleedChanceLucky = df.format(100D); else bleedChanceLucky = df.format(bleedChanceF + bleedChanceF * 0.3333D); + //Counter Attack if (skillValue >= counterMaxLevel) counterAttackChanceF = counterChanceMax; else counterAttackChanceF = (float) (((double) counterChanceMax / (double) counterMaxLevel) * skillValue); counterAttackChance = df.format(counterAttackChanceF); @@ -66,6 +87,7 @@ public class SwordsCommand extends SkillCommand { canCounter = Permissions.counterAttack(player); canSerratedStrike = Permissions.serratedStrikes(player); lucky = Permissions.luckySwords(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -118,7 +140,10 @@ public class SwordsCommand extends SkillCommand { } if (canSerratedStrike) { - player.sendMessage(LocaleLoader.getString("Swords.SS.Length", new Object[] { serratedStrikesLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Swords.SS.Length", new Object[] { serratedStrikesLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { serratedStrikesLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Swords.SS.Length", new Object[] { serratedStrikesLength })); } } } diff --git a/src/main/java/com/gmail/nossr50/commands/skills/UnarmedCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/UnarmedCommand.java index ff3297716..18ecf8bf3 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/UnarmedCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/UnarmedCommand.java @@ -13,6 +13,7 @@ import com.gmail.nossr50.util.Permissions; public class UnarmedCommand extends SkillCommand { AdvancedConfig advancedConfig = AdvancedConfig.getInstance(); private String berserkLength; + private String berserkLengthEndurance; private String deflectChance; private String deflectChanceLucky; private String disarmChance; @@ -32,6 +33,7 @@ public class UnarmedCommand extends SkillCommand { private boolean canBonusDamage; private boolean canDeflect; private boolean lucky; + private boolean endurance; public UnarmedCommand() { super(SkillType.UNARMED); @@ -42,20 +44,40 @@ public class UnarmedCommand extends SkillCommand { DecimalFormat df = new DecimalFormat("0.0"); float disarmChanceF; float deflectChanceF; - berserkLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + //Berserk + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + berserkLength = String.valueOf(length); + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.UNARMED.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + berserkLengthEndurance = String.valueOf(length); + + //Disarm if (skillValue >= disarmMaxLevel) disarmChanceF = disarmChanceMax; else disarmChanceF = (float) (((double) disarmChanceMax / (double) disarmMaxLevel) * skillValue); disarmChance = df.format(disarmChanceF); if (disarmChanceF + disarmChanceF * 0.3333D >= 100D) disarmChanceLucky = df.format(100D); else disarmChanceLucky = df.format(disarmChanceF + disarmChanceF * 0.3333D); + //Deflect if (skillValue >= deflectMaxLevel) deflectChanceF = deflectChanceMax; else deflectChanceF = (float) (((double) deflectChanceMax / (double) deflectMaxLevel) * skillValue); deflectChance = df.format(deflectChanceF); if (deflectChanceF + deflectChanceF * 0.3333D >= 100D) deflectChanceLucky = df.format(100D); else deflectChanceLucky = df.format(deflectChanceF + deflectChanceF * 0.3333D); + //Iron Arm if (skillValue >= 250) ironArmBonus = String.valueOf(ironArmMaxBonus); else ironArmBonus = String.valueOf(3 + ((double) skillValue / (double) ironArmIncreaseLevel)); } @@ -67,6 +89,7 @@ public class UnarmedCommand extends SkillCommand { canDeflect = Permissions.deflect(player); canDisarm = Permissions.disarm(player); lucky = Permissions.luckyUnarmed(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -124,7 +147,10 @@ public class UnarmedCommand extends SkillCommand { } if (canBerserk) { - player.sendMessage(LocaleLoader.getString("Unarmed.Ability.Berserk.Length", new Object[] { berserkLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Unarmed.Ability.Berserk.Length", new Object[] { berserkLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { berserkLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Unarmed.Ability.Berserk.Length", new Object[] { berserkLength })); } } } diff --git a/src/main/java/com/gmail/nossr50/commands/skills/WoodcuttingCommand.java b/src/main/java/com/gmail/nossr50/commands/skills/WoodcuttingCommand.java index eb718de9b..79fbbf85e 100644 --- a/src/main/java/com/gmail/nossr50/commands/skills/WoodcuttingCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/skills/WoodcuttingCommand.java @@ -14,6 +14,7 @@ import com.gmail.nossr50.util.Permissions; public class WoodcuttingCommand extends SkillCommand { AdvancedConfig advancedConfig = AdvancedConfig.getInstance(); private String treeFellerLength; + private String treeFellerLengthEndurance; private String doubleDropChance; private String doubleDropChanceLucky; @@ -27,6 +28,7 @@ public class WoodcuttingCommand extends SkillCommand { private boolean canDoubleDrop; private boolean doubleDropsDisabled; private boolean lucky; + private boolean endurance; public WoodcuttingCommand() { super(SkillType.WOODCUTTING); @@ -37,7 +39,26 @@ public class WoodcuttingCommand extends SkillCommand { DecimalFormat df = new DecimalFormat("0.0"); float doubleDropChanceF; - treeFellerLength = String.valueOf(2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel)); + //Tree Feller + int length = 2 + (int) ((double) skillValue / (double) abilityLengthIncreaseLevel); + treeFellerLength = String.valueOf(length); + + if (Permissions.activationTwelve(player)) { + length = length + 12; + } + else if (Permissions.activationEight(player)) { + length = length + 8; + } + else if (Permissions.activationFour(player)) { + length = length + 4; + } + int maxLength = SkillType.WOODCUTTING.getAbility().getMaxTicks(); + if (maxLength != 0 && length > maxLength) { + length = maxLength; + } + treeFellerLengthEndurance = String.valueOf(length); + + //Double Drops if (skillValue >= doubleDropsMaxLevel) doubleDropChanceF = (float) (doubleDropsMaxBonus); else doubleDropChanceF = (float) ((doubleDropsMaxBonus / doubleDropsMaxLevel) * skillValue); doubleDropChance = df.format(doubleDropChanceF); @@ -54,6 +75,7 @@ public class WoodcuttingCommand extends SkillCommand { canLeafBlow = Permissions.leafBlower(player); doubleDropsDisabled = configInstance.woodcuttingDoubleDropsDisabled(); lucky = Permissions.luckyWoodcutting(player); + endurance = Permissions.activationTwelve(player) || Permissions.activationEight(player) || Permissions.activationFour(player); } @Override @@ -106,7 +128,10 @@ public class WoodcuttingCommand extends SkillCommand { } if (canTreeFell) { - player.sendMessage(LocaleLoader.getString("Woodcutting.Ability.Length", new Object[] { treeFellerLength })); + if (endurance) + player.sendMessage(LocaleLoader.getString("Woodcutting.Ability.Length", new Object[] { treeFellerLength }) + LocaleLoader.getString("Perks.activationtime.bonus", new Object[] { treeFellerLengthEndurance })); + else + player.sendMessage(LocaleLoader.getString("Woodcutting.Ability.Length", new Object[] { treeFellerLength })); } } } diff --git a/src/main/resources/locale/locale_cs_CZ.properties b/src/main/resources/locale/locale_cs_CZ.properties index 39845015f..4129920b5 100644 --- a/src/main/resources/locale/locale_cs_CZ.properties +++ b/src/main/resources/locale/locale_cs_CZ.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_cy.properties b/src/main/resources/locale/locale_cy.properties index fd570d74c..7e6fb0c9f 100644 --- a/src/main/resources/locale/locale_cy.properties +++ b/src/main/resources/locale/locale_cy.properties @@ -466,3 +466,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_da.properties b/src/main/resources/locale/locale_da.properties index c65b6e31d..40023e5bd 100644 --- a/src/main/resources/locale/locale_da.properties +++ b/src/main/resources/locale/locale_da.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_de.properties b/src/main/resources/locale/locale_de.properties index 978eca942..8de0490ca 100644 --- a/src/main/resources/locale/locale_de.properties +++ b/src/main/resources/locale/locale_de.properties @@ -530,4 +530,5 @@ Perks.lucky.bonus=[[GOLD]] ({0}% mit Gl\u00FCck-Perk) Perks.cooldowns.name=Schnelle Wiederherstellung Perks.cooldowns.desc=Verk\u00FCrzt die Cooldownzeit um {0}. Perks.activationtime.name=Ausdauer -Perks.activationtime.desc=Erh\u00F6ht die Aktivierungszeit von F\u00E4higkeiten um {0} Sekunden. \ No newline at end of file +Perks.activationtime.desc=Erh\u00F6ht die Aktivierungszeit von F\u00E4higkeiten um {0} Sekunden. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) \ No newline at end of file diff --git a/src/main/resources/locale/locale_en_US.properties b/src/main/resources/locale/locale_en_US.properties index aed0a3d19..7c7a11944 100644 --- a/src/main/resources/locale/locale_en_US.properties +++ b/src/main/resources/locale/locale_en_US.properties @@ -540,3 +540,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_es.properties b/src/main/resources/locale/locale_es.properties index 86d7b0055..da9dc00e0 100644 --- a/src/main/resources/locale/locale_es.properties +++ b/src/main/resources/locale/locale_es.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_fi.properties b/src/main/resources/locale/locale_fi.properties index 8b4d5ff57..45d72c4a5 100644 --- a/src/main/resources/locale/locale_fi.properties +++ b/src/main/resources/locale/locale_fi.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_fr.properties b/src/main/resources/locale/locale_fr.properties index ce4bf3406..11f2bd859 100644 --- a/src/main/resources/locale/locale_fr.properties +++ b/src/main/resources/locale/locale_fr.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_it.properties b/src/main/resources/locale/locale_it.properties index a1cb75927..58a46b91a 100644 --- a/src/main/resources/locale/locale_it.properties +++ b/src/main/resources/locale/locale_it.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Recupero Rapido Perks.cooldowns.desc=Riduce la durata del raffreddamento di {0}. Perks.activationtime.name=Resistenza Perks.activationtime.desc=Incrementa il tempo di attivazione dell\'abilit\u00e0 di {0} secondi. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_ko.properties b/src/main/resources/locale/locale_ko.properties index f907ad29f..513018758 100644 --- a/src/main/resources/locale/locale_ko.properties +++ b/src/main/resources/locale/locale_ko.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_lv.properties b/src/main/resources/locale/locale_lv.properties index a12f8a048..5a23c3790 100644 --- a/src/main/resources/locale/locale_lv.properties +++ b/src/main/resources/locale/locale_lv.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_nl.properties b/src/main/resources/locale/locale_nl.properties index 13a08d531..01fe17c1e 100644 --- a/src/main/resources/locale/locale_nl.properties +++ b/src/main/resources/locale/locale_nl.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_no.properties b/src/main/resources/locale/locale_no.properties index 9b8c93801..ef4adfe2e 100644 --- a/src/main/resources/locale/locale_no.properties +++ b/src/main/resources/locale/locale_no.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_pl.properties b/src/main/resources/locale/locale_pl.properties index 4a5172936..c2bc7a940 100644 --- a/src/main/resources/locale/locale_pl.properties +++ b/src/main/resources/locale/locale_pl.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_pl_PL.properties b/src/main/resources/locale/locale_pl_PL.properties index 6dc72ba37..d74878905 100644 --- a/src/main/resources/locale/locale_pl_PL.properties +++ b/src/main/resources/locale/locale_pl_PL.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_pt_BR.properties b/src/main/resources/locale/locale_pt_BR.properties index 965a5ce17..6f320ad6d 100644 --- a/src/main/resources/locale/locale_pt_BR.properties +++ b/src/main/resources/locale/locale_pt_BR.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_ru.properties b/src/main/resources/locale/locale_ru.properties index fa35409a5..ac52e31b8 100644 --- a/src/main/resources/locale/locale_ru.properties +++ b/src/main/resources/locale/locale_ru.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_sv.properties b/src/main/resources/locale/locale_sv.properties index 6e4f468e3..78d834bed 100644 --- a/src/main/resources/locale/locale_sv.properties +++ b/src/main/resources/locale/locale_sv.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_tr_TR.properties b/src/main/resources/locale/locale_tr_TR.properties index 258a6ce82..fa1d58389 100644 --- a/src/main/resources/locale/locale_tr_TR.properties +++ b/src/main/resources/locale/locale_tr_TR.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk) diff --git a/src/main/resources/locale/locale_zh_CN.properties b/src/main/resources/locale/locale_zh_CN.properties index c0df781b0..db36600fc 100644 --- a/src/main/resources/locale/locale_zh_CN.properties +++ b/src/main/resources/locale/locale_zh_CN.properties @@ -469,3 +469,4 @@ Perks.cooldowns.name=Fast Recovery Perks.cooldowns.desc=Cuts cooldown duration by {0}. Perks.activationtime.name=Endurance Perks.activationtime.desc=Increases ability activation time by {0} seconds. +Perks.activationtime.bonus=[[GOLD]] ({0}s with Endurance Perk)