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