Bläddra i källkod

BETA: When a players is under the effect '''Seal of Blockade''' skill, it should blocks ordinary attacks only, not all the physical skills.

Reported by: AriesT
Patch by: GodKratos

NOTE: Fixed after 5 years, lol.
MELERIX 12 år sedan
förälder
incheckning
a64d8f3259

+ 2 - 7
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/L2Character.java

@@ -2096,7 +2096,8 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
 			return false;
 		}
 		
-		if (!skill.isStatic()) // Skill mute checks.
+		// Skill mute checks.
+		if (!skill.isStatic())
 		{
 			// Check if the skill is a magic spell and if the L2Character is not muted
 			if (skill.isMagic())
@@ -2117,12 +2118,6 @@ public abstract class L2Character extends L2Object implements ISkillsHolder
 					sendPacket(ActionFailed.STATIC_PACKET);
 					return false;
 				}
-				else if (isPhysicalAttackMuted()) // Prevent use attack
-				{
-					// Send a Server->Client packet ActionFailed to the L2PcInstance
-					sendPacket(ActionFailed.STATIC_PACKET);
-					return false;
-				}
 			}
 		}