瀏覽代碼

Summons base mcrit is much lower than 8%. For now I use old 0.8% value, but needs retail confirmation.

Gigiikun 15 年之前
父節點
當前提交
aaac5b3c1b
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      L2_GameServer/java/net/sf/l2j/gameserver/skills/Formulas.java

+ 4 - 2
L2_GameServer/java/net/sf/l2j/gameserver/skills/Formulas.java

@@ -499,10 +499,12 @@ public final class Formulas
 		}
 
 		@Override
-        public void calc(Env env)
+		public void calc(Env env)
 		{
 			L2Character p = env.player;
-			if (p instanceof L2PcInstance && p.getActiveWeaponInstance() != null)
+			if(p instanceof L2Summon)
+				env.value = 8; // TODO: needs retail value
+			else if (p instanceof L2PcInstance && p.getActiveWeaponInstance() != null)
 				env.value *= WITbonus[p.getWIT()];
 		}
 	}