2
0
Эх сурвалжийг харах

Fixed Final Secret and Spirit Sharing skills, damage boost works only in
PvP fight.

Adry85 7 жил өмнө
parent
commit
64b8f9f9a4

+ 1 - 3
src/main/java/com/l2jserver/gameserver/model/stats/Formulas.java

@@ -911,11 +911,9 @@ public final class Formulas
 		if (isPvP)
 		{
 			damage *= attacker.calcStat(Stats.PVP_PHYS_SKILL_DMG, 1, null, null);
+			damage = attacker.calcStat(Stats.PHYSICAL_SKILL_POWER, damage, null, null); // // Physical skill dmg boost
 		}
 		
-		// Physical skill dmg boost
-		damage = attacker.calcStat(Stats.PHYSICAL_SKILL_POWER, damage, null, null);
-		
 		damage *= calcAttributeBonus(attacker, target, null);
 		if (target.isAttackable())
 		{