From 7436fc6f8202356ebeed0a5ae42da56532158329 Mon Sep 17 00:00:00 2001
From: Sdw- <jeremy.garreau.pro@gmail.com>
Date: Wed, 10 Dec 2014 09:25:14 +0100
Subject: [PATCH] Fixing minor bug in EnergyAttack related to physical skill
 power stat that may cause incredible damage

---
 .../game/data/scripts/handlers/effecthandlers/EnergyAttack.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/L2J_DataPack/dist/game/data/scripts/handlers/effecthandlers/EnergyAttack.java b/L2J_DataPack/dist/game/data/scripts/handlers/effecthandlers/EnergyAttack.java
index 7655bc294e..ce6aff97bb 100644
--- a/L2J_DataPack/dist/game/data/scripts/handlers/effecthandlers/EnergyAttack.java
+++ b/L2J_DataPack/dist/game/data/scripts/handlers/effecthandlers/EnergyAttack.java
@@ -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);
-- 
GitLab