Преглед на файлове

Fixed stupid bug: 80% of the summon attack attribute was calculated from current owner atatck attribute value (already only 20%).
Now calculating in more correct way (owner*4).

_DS_ преди 16 години
родител
ревизия
e4cfd541ac
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java

+ 2 - 2
L2_GameServer/java/net/sf/l2j/gameserver/model/actor/instance/L2SummonInstance.java

@@ -298,8 +298,8 @@ public class L2SummonInstance extends L2Summon
 	{
 		if (getOwner() == null)
 			return 0;
-		// 80% of the owner
-		return (8 * getOwner().getAttackElementValue(attribute)) / 10; 
+		// 80% of the owner (onwer already has only 20%)
+		return 4 * getOwner().getAttackElementValue(attribute); 
 	}
 
 	@Override