Browse Source

Some flyType skills can be used while movement is disabled. (Warp, Blonk, Air Blink, etc.)

Nik 13 năm trước cách đây
mục cha
commit
66223f523a

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

@@ -2103,7 +2103,7 @@ public abstract class L2Character extends L2Object
 	 */
 	protected boolean checkDoCastConditions(L2Skill skill)
 	{
-		if (skill == null || isSkillDisabled(skill) || ((skill.getFlyRadius() > 0 || skill.getFlyType() != null) && isMovementDisabled()))
+		if (skill == null || isSkillDisabled(skill))
 		{
 			// Send a Server->Client packet ActionFailed to the L2PcInstance
 			sendPacket(ActionFailed.STATIC_PACKET);