Addition of MagicalSkillPower skill effect.

This commit is contained in:
MobiusDev
2017-09-13 13:37:37 +00:00
parent ad57080e7d
commit 185c73f3e4
18 changed files with 117 additions and 3 deletions

View File

@ -204,6 +204,7 @@ public final class Formulas
}
damage = damage * critMod * generalTraitMod * attributeMod * randomMod * pvpPveMod;
damage = attacker.getStat().getValue(Stats.MAGICAL_SKILL_POWER, damage);
return damage;
}

View File

@ -107,6 +107,7 @@ public enum Stats
MAGIC_CRITICAL_DAMAGE("mCritPower"),
PHYSICAL_SKILL_POWER("physicalSkillPower"), // Adding skill power (not multipliers) results in points added directly to final value unmodified by defence, traits, elements, criticals etc.
// Even when damage is 0 due to general trait immune multiplier, added skill power is active and clearly visible (damage not being 0 but at the value of added skill power).
MAGICAL_SKILL_POWER("magicalSkillPower"),
CRITICAL_DAMAGE_SKILL("cAtkSkill"),
CRITICAL_DAMAGE_SKILL_ADD("cAtkSkillAdd"),
MAGIC_CRITICAL_DAMAGE_ADD("mCritPowerAdd"),