Jump to content
  • 0
Sign in to follow this  
karazu

Disable all Healing items except Certain Healing items.

Question

Is this possible in script? like all the healing items in this map are disable but their is only 1 that can be used?




like red potion,white,blue is disable while green pots is ok?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
 

Enable the zone mapflag for the desired restricted map(s) in npc/mapflag/zone.txt, then create a new zone for it in db/pre-re/map_zone_db.conf or db/re/map_zone_db.conf (depending on your server mode) with the items you want to disable.

isee, thank you for the reply..

 

 

 

how about like this? I found this in rathena.
 

 

501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ if(strcharinfo(3) == "prontera") {effect} },{},{} 

can u edit that for me as a sample?

 

 

How about this Diff? is this going to work here in hercules? 

http://rathena.org/board/topic/77378-skillitem-map-restriction-now-supports-multiple-maps/

Edited by karazu

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.