From dadc295431ca487f65617867815ba515741d82bf Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 27 Dec 2023 19:20:41 -0800 Subject: [PATCH] Trickshot boiler plate stuff --- src/main/resources/locale/locale_en_US.properties | 7 ++++++- src/main/resources/plugin.yml | 5 ++++- src/main/resources/skillranks.yml | 9 +++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/main/resources/locale/locale_en_US.properties b/src/main/resources/locale/locale_en_US.properties index afc91df23..58943933a 100644 --- a/src/main/resources/locale/locale_en_US.properties +++ b/src/main/resources/locale/locale_en_US.properties @@ -430,10 +430,15 @@ Crossbows.Skills.SSG.Refresh=&aYour &eSuper Shotgun &aability is refreshed! Crossbows.Skills.SSG.Other.On=&a{0}&2 used &Super Shotgun! Crossbows.SubSkill.SuperShotgun.Name=Super Shotgun Crossbows.SubSkill.SuperShotgun.Description=Shoot dozens of arrows at once -Crossbows.SubSkill.SuperShotgun.Stat=Per Projectile damage {0} +Crossbows.SubSkill.SuperShotgun.Stat=Per Projectile damage &a{0} Crossbows.SubSkill.CrossbowsLimitBreak.Name=Crossbows Limit Break Crossbows.SubSkill.CrossbowsLimitBreak.Description=Breaking your limits. Increased damage against tough opponents. Intended for PVP, up to server settings for whether it will boost damage in PVE. Crossbows.SubSkill.CrossbowsLimitBreak.Stat=Limit Break Max DMG +Crossbows.SubSkill.TrickShot.Name=Trick Shot +Crossbows.SubSkill.TrickShot.Description=Richochet arrows with steep angles +Crossbows.SubSkill.TrickShot.Stat=Trick Shot Chance +Crossbows.SubSkill.TrickShot.Stat.Extra=Trick Shot Max Bounces: &a{0} +Crossbows.SubSkill.TrickShot.Stat.Extra2=Trick Shot Reduced DMG per Bounce: &a{0} Crossbows.Listener=Crossbows: #TRIDENTS diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index e2fea0ae2..a0e57eb5d 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -339,11 +339,14 @@ permissions: description: Allows access to all Crossbows abilities children: mcmmo.ability.crossbows.supershotgun: true + mcmmo.ability.crossbows.trickshot: true mcmmo.ability.crossbows.crossbowslimitbreak: true mcmmo.ability.crossbows.supershotgun: - description: Allows access to the Super Shotgun ability + description: Allows access to the Super Shotgun super ability mcmmo.ability.crossbows.crossbowslimitbreak: description: Adds damage to crossbows + mcmmo.ability.crossbows.trickshot: + description: Allows access to the Trick Shot ability mcmmo.ability.excavation.*: default: false description: Allows access to all Excavation abilities diff --git a/src/main/resources/skillranks.yml b/src/main/resources/skillranks.yml index d214204cb..5ad0e84ee 100644 --- a/src/main/resources/skillranks.yml +++ b/src/main/resources/skillranks.yml @@ -207,6 +207,15 @@ Axes: Rank_3: 150 Rank_4: 200 Crossbows: + TrickShot: + Standard: + Rank_1: 5 + Rank_2: 20 + Rank_3: 40 + RetroMode: + Rank_1: 50 + Rank_2: 200 + Rank_3: 400 CrossbowsLimitBreak: Standard: Rank_1: 10