Skip to content
Snippets Groups Projects
Commit 7436fc6f authored by Sdw-'s avatar Sdw-
Browse files

Fixing minor bug in EnergyAttack related to physical skill power stat that may...

Fixing minor bug in EnergyAttack related to physical skill power stat that may cause incredible damage
parent a42ee275
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ public final class EnergyAttack extends AbstractEffect
{
damage *= attacker.getStat().calcStat(Stats.PVP_PHYS_SKILL_DMG, 1.0);
damage *= target.getStat().calcStat(Stats.PVP_PHYS_SKILL_DEF, 1.0);
damage *= attacker.getStat().calcStat(Stats.PHYSICAL_SKILL_POWER, 1.0);
damage = attacker.getStat().calcStat(Stats.PHYSICAL_SKILL_POWER, damage);
}
critical = (BaseStats.STR.calcBonus(attacker) * _criticalChance) > (Rnd.nextDouble() * 100);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment