Browse Source

Trickshot boiler plate stuff

nossr50 1 year ago
parent
commit
dadc295431

+ 6 - 1
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

+ 4 - 1
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

+ 9 - 0
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