Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: skillhandlers/Pdam.java
- ===================================================================
- --- skillhandlers/Pdam.java (revision 9014)
- +++ skillhandlers/Pdam.java (working copy)
- @@ -48,6 +48,14 @@
- 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)
- Index: effecthandlers/EnemyCharge.java
- ===================================================================
- --- effecthandlers/EnemyCharge.java (revision 9014)
- +++ effecthandlers/EnemyCharge.java (working copy)
- @@ -47,6 +47,9 @@
- @Override
- public boolean onStart()
- {
- + if (getEffected().isMovementDisabled())
- + return false;
- +
- // Get current position of the L2Character
- final int curX = getEffector().getX();
- final int curY = getEffector().getY();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement