forked from Upstream/mmocore
Adds functionality for the new Additional Profession Experience
stat in mmoitems.
This commit is contained in:
parent
4eb7291a07
commit
1d5616231c
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user