Disable all Healing items except Certain Healing items.

karazu

New member
Messages
1,115
Points
0
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?

 
 
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/

 
Last edited by a moderator:
Back
Top