Sync with L2jServer HighFive Nov 28th 2015.

This commit is contained in:
MobiusDev
2015-11-29 11:21:55 +00:00
parent fd9e7a99fd
commit cc94608578
507 changed files with 4128 additions and 79 deletions

View File

@ -56,6 +56,19 @@ public final class RequestMagicSkillUse extends L2GameClientPacket
return;
}
if (activeChar.isDead())
{
activeChar.sendPacket(ActionFailed.STATIC_PACKET);
return;
}
if (activeChar.isFakeDeath())
{
activeChar.sendPacket(SystemMessageId.YOU_CANNOT_MOVE_WHILE_SITTING);
activeChar.sendPacket(ActionFailed.STATIC_PACKET);
return;
}
// Get the level of the used skill
Skill skill = activeChar.getKnownSkill(_magicId);
if (skill == null)