Kringle Posted December 1, 2014 Posted December 1, 2014 I am looking for a script that a certain CARD/ITEM that will only work on a certain map. For example. I have KIEL CARD, it will only work inside the Gold Room but outside the map it will not work. I've already tried. ,{ if (strcharinfo(3) == "ordeal_3-2" },{ bonus bDelayRate,-100; },{} and if (strcharinfo(3) != "ordeal_3-2" bonus bDelayRate,-100; Both not working properly. What i mean after few cast it returns to normal cast delay. Thanks in advance. Quote
Skorm Posted December 1, 2014 Posted December 1, 2014 if ( strcharinfo(3) == "ordeal_3-2" ) { bonus bDelayRate,-100; } Quote
Nerfwood Posted December 1, 2014 Posted December 1, 2014 Aside from Skorm's way, you can use item_noequip.txt in your /db/import folder in conjunction with the restricted zone mapflag to add restrictions to items in certain maps. This method is longer but preferable when adding numerous item (and/or skill) restrictions. For skills, use skill_nocast_db.txt instead of item_noequip.txt. Quote
Question
Kringle
I am looking for a script that a certain CARD/ITEM that will only work on a certain map.
For example. I have KIEL CARD, it will only work inside the Gold Room but outside the map it will not work.
I've already tried.
Both not working properly. What i mean after few cast it returns to normal cast delay.
Thanks in advance.
2 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.