瀏覽代碼

BETA: Minor fix to [5964].

Reported by: jurchiks
Zoey76 12 年之前
父節點
當前提交
c648b1df1c
共有 1 個文件被更改,包括 10 次插入5 次删除
  1. 10 5
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Attackable.java

+ 10 - 5
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Attackable.java

@@ -390,14 +390,19 @@ public class L2Attackable extends L2Npc
 		
 		if (!skill.isStatic())
 		{
-			if (skill.isMagic() && isMuted())
+			if (skill.isMagic())
 			{
-				return;
+				if (isMuted())
+				{
+					return;
+				}
 			}
-			
-			if (isPhysicalMuted())
+			else
 			{
-				return;
+				if (isPhysicalMuted())
+				{
+					return;
+				}
 			}
 		}