Adds functionality for the new Additional Profession Experience stat in mmoitems.

This commit is contained in:
Ethan 2022-02-03 21:01:44 -05:00
parent 4eb7291a07
commit 1d5616231c

View File

@ -164,6 +164,7 @@ public class PlayerProfessions {
} }
value = MMOCore.plugin.boosterManager.calculateExp(profession, value); value = MMOCore.plugin.boosterManager.calculateExp(profession, value);
// Adds functionality for additional experience per profession. // Adds functionality for additional experience per profession.
value *= 1 + playerData.getStats().getInstance(StatType.ADDITIONAL_EXPERIENCE, profession).getTotal() / 100; value *= 1 + playerData.getStats().getInstance(StatType.ADDITIONAL_EXPERIENCE, profession).getTotal() / 100;