|
@@ -9351,7 +9351,7 @@ public final class L2PcInstance extends L2Playable
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (skill.getSkillType() == L2SkillType.INSTANT_JUMP)
|
|
|
|
|
|
+ if (skill.hasEffectType(L2EffectType.TELEPORT_TO_TARGET))
|
|
{
|
|
{
|
|
// You cannot jump while rooted right ;)
|
|
// You cannot jump while rooted right ;)
|
|
if (isMovementDisabled())
|
|
if (isMovementDisabled())
|
|
@@ -9360,10 +9360,8 @@ public final class L2PcInstance extends L2Playable
|
|
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CANNOT_BE_USED);
|
|
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CANNOT_BE_USED);
|
|
sm.addSkillName(skill.getId());
|
|
sm.addSkillName(skill.getId());
|
|
sendPacket(sm);
|
|
sendPacket(sm);
|
|
-
|
|
|
|
// Send a Server->Client packet ActionFailed to the L2PcInstance
|
|
// Send a Server->Client packet ActionFailed to the L2PcInstance
|
|
sendPacket(ActionFailed.STATIC_PACKET);
|
|
sendPacket(ActionFailed.STATIC_PACKET);
|
|
-
|
|
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
// And this skill cannot be used in peace zone, not even on NPCs!
|
|
// And this skill cannot be used in peace zone, not even on NPCs!
|
|
@@ -9371,13 +9369,10 @@ public final class L2PcInstance extends L2Playable
|
|
{
|
|
{
|
|
// Sends a sys msg to client
|
|
// Sends a sys msg to client
|
|
sendPacket(SystemMessageId.TARGET_IN_PEACEZONE);
|
|
sendPacket(SystemMessageId.TARGET_IN_PEACEZONE);
|
|
-
|
|
|
|
// Send a Server->Client packet ActionFailed to the L2PcInstance
|
|
// Send a Server->Client packet ActionFailed to the L2PcInstance
|
|
sendPacket(ActionFailed.STATIC_PACKET);
|
|
sendPacket(ActionFailed.STATIC_PACKET);
|
|
-
|
|
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
// Check if the skill is defensive
|
|
// Check if the skill is defensive
|
|
if (!skill.isOffensive() && target.isMonster() && !forceUse)
|
|
if (!skill.isOffensive() && target.isMonster() && !forceUse)
|
|
@@ -9642,7 +9637,7 @@ public final class L2PcInstance extends L2Playable
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * Set the type of Pet mounted (0 : none, 1 : Stridder, 2 : Wyvern) and send a Server->Client packet InventoryUpdate to the L2PcInstance.
|
|
|
|
|
|
+ * Set the type of Pet mounted (0 : none, 1 : Strider, 2 : Wyvern) and send a Server->Client packet InventoryUpdate to the L2PcInstance.
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public boolean checkLandingState()
|
|
public boolean checkLandingState()
|