Jump to content
  • 0

Need Help!


Question

Posted

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.

2 answers to this question

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...