|
@@ -48,6 +48,14 @@ public class Pdam implements ISkillHandler
|
|
|
if (activeChar.isAlikeDead())
|
|
|
return;
|
|
|
|
|
|
+ if ((skill.getFlyRadius() > 0 || skill.getFlyType() != null) && activeChar.isMovementDisabled())
|
|
|
+ {
|
|
|
+ SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.S1_CANNOT_BE_USED);
|
|
|
+ sm.addSkillName(skill);
|
|
|
+ activeChar.sendPacket(sm);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
int damage = 0;
|
|
|
|
|
|
if (Config.DEBUG)
|