From 1d5616231cec2cad1d11cafb18ceb566f788c07d Mon Sep 17 00:00:00 2001 From: Ethan Date: Thu, 3 Feb 2022 21:01:44 -0500 Subject: [PATCH] Adds functionality for the new `Additional Profession Experience` stat in mmoitems. --- .../java/net/Indyuce/mmocore/experience/PlayerProfessions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/Indyuce/mmocore/experience/PlayerProfessions.java b/src/main/java/net/Indyuce/mmocore/experience/PlayerProfessions.java index 3a6e7651..4d1287fd 100644 --- a/src/main/java/net/Indyuce/mmocore/experience/PlayerProfessions.java +++ b/src/main/java/net/Indyuce/mmocore/experience/PlayerProfessions.java @@ -164,6 +164,7 @@ public class PlayerProfessions { } value = MMOCore.plugin.boosterManager.calculateExp(profession, value); + // Adds functionality for additional experience per profession. value *= 1 + playerData.getStats().getInstance(StatType.ADDITIONAL_EXPERIENCE, profession).getTotal() / 100;