|
@@ -25,7 +25,11 @@ public class FishingCommand extends SkillCommand {
|
|
|
protected void dataCalculations() {
|
|
|
lootTier = Fishing.getFishingLootTier(profile);
|
|
|
magicChance = percent.format((float) lootTier / 15);
|
|
|
- shakeChance = String.valueOf(Fishing.getShakeChance(lootTier));
|
|
|
+ int dropChance = Fishing.getShakeChance(lootTier);
|
|
|
+ if (player.hasPermission("mcmmo.perks.lucky.fishing")) {
|
|
|
+ dropChance = (int) (dropChance * 1.25);
|
|
|
+ }
|
|
|
+ shakeChance = String.valueOf(dropChance);
|
|
|
|
|
|
if (skillValue >= 1000) {
|
|
|
fishermansDietRank = "5";
|