Added <MMOCore.skill.(name).level>

This commit is contained in:
ASangarin 2019-09-03 02:05:49 +01:00
parent 4c08483250
commit c81053dd27

View File

@ -59,6 +59,8 @@ public class PlayerSkillData {
public void cacheModifiers(MythicMobSkill mmSkill, SkillResult cast) { public void cacheModifiers(MythicMobSkill mmSkill, SkillResult cast) {
for (String modifier : cast.getSkill().getModifiers()) for (String modifier : cast.getSkill().getModifiers())
cacheModifier(mmSkill, modifier, cast.getModifier(modifier)); cacheModifier(mmSkill, modifier, cast.getModifier(modifier));
cacheModifier(mmSkill, "level", cast.getLevel());
} }
public void cacheModifier(MythicMobSkill skill, String name, double value) { public void cacheModifier(MythicMobSkill skill, String name, double value) {