Addition of MagicalSkillPower skill effect.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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"),
|
||||
|
Reference in New Issue
Block a user