Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In: l2jserver / gameserver / network / clientpackets / RequestMagicSkillUse.java
- in the method -> runImpl ()
- search for:
- // Check the validity of the skill
- if (skill! = null)
- {
- Add:
- + if (activeChar.isInYourZoneName ())
- + {
- + // Prohibits buffs In YourZoneName
- + if (skill.getId () == 1234 || skill.getId () == 1234)
- + {
- + activeChar.sendMessage ("It is not possible to use" + skill.getName () + "Inside This Zone!");
- + activeChar.sendPacket (ActionFailed.STATIC_PACKET);
- + return;
- +}
- +}
Advertisement
Add Comment
Please, Sign In to add comment