Kringle Posted December 1, 2014 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 34 Reputation: 1 Joined: 06/14/12 Last Seen: May 3, 2020 Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted December 1, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted December 1, 2014 if ( strcharinfo(3) == "ordeal_3-2" ) { bonus bDelayRate,-100; } Quote Link to comment Share on other sites More sharing options...
Nerfwood Posted December 1, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 104 Reputation: 27 Joined: 12/05/13 Last Seen: August 26, 2015 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.