소스 검색

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