0flee Posted October 17, 2020 Posted October 17, 2020 HI, it is possible to make a zone without buffs? On enter and when player is trying to buff to no work. Thanks Quote
0 GsL Posted October 17, 2020 Posted October 17, 2020 2 hours ago, 0flee said: HI, it is possible to make a zone without buffs? On enter and when player is trying to buff to no work. Thanks Disable cast skill by id ? Quote
0 MoNsT3ReN4RgY Posted October 18, 2020 Posted October 18, 2020 (edited) maybe you want something like that.. and you will need also the zone code. https://pastebin.com/vpWg5t16 Edited October 18, 2020 by MoNsT3ReN4RgY Quote
0 0flee Posted October 19, 2020 Author Posted October 19, 2020 I understand, but here if (skill.getId () == 1234 || skill.getId () == 1234) I have to put all id's of all possible buffs? Quote
0 GsL Posted October 19, 2020 Posted October 19, 2020 6 hours ago, 0flee said: I understand, but here if (skill.getId () == 1234 || skill.getId () == 1234) I have to put all id's of all possible buffs? Yes Do think and try to find a similar idea... this is l2 .. custom means tons of hours of work Quote
0 0flee Posted October 19, 2020 Author Posted October 19, 2020 Is not a problem, i want to know if i should add manually all id's. Thanky Quote
0 MoNsT3ReN4RgY Posted October 19, 2020 Posted October 19, 2020 2 hours ago, 0flee said: Is not a problem, i want to know if i should add manually all id's. Thanky you can add this code i have send you and add the single buffs that all the players have.. might/shield ets.. and one other code to avoid Classes wich have all buffs to join this zone . Quote
0 Rootware Posted October 19, 2020 Posted October 19, 2020 All buffs have skill type BUFF. Add this check if player inside this zone into RequestMagicSkillUse client packet and OnEnterZone add function for cleanup all buff effects. Possible, better to use restricted buff list for detecting also "Hot Springs" effects and compare effect skill id with black list. In this case you can manage this zone type and for each instance make own restricted list in zone template. Quote
Question
0flee
HI, it is possible to make a zone without buffs? On enter and when player is trying to buff to no work. Thanks
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.