Jump to content
  • 0

Need Help!


Kringle

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  06/14/12
  • Last Seen:  

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.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  


if ( strcharinfo(3) == "ordeal_3-2" ) { bonus bDelayRate,-100; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

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.

Link to comment
Share on other sites

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.

×
×
  • Create New...