forked from Upstream/mmocore
Added <MMOCore.skill.(name).level>
This commit is contained in:
parent
4c08483250
commit
c81053dd27
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user