- script OnPCLoadMapEvent HIDDEN_NPC,{
end;
OnPCLoadMapEvent:
if ( strcharinfo(PC_MAP) == "new_1-1" )
if(getstatus(SC_BLESSING)) sc_end SC_BLESSING;
end;
Oninit:
setmapflag "new_1-1", mf_loadevent;
end;
}
correct me if im wrong map zone only prevents u to cast a skill, if u enter a restricted zone with that buff, it will ignore itIf you want to disable skill in certain maps, you need to configure a map_zone.
https://github.com/HerculesWS/Hercules/blob/master/npc/mapflag/zone.txt
https://github.com/HerculesWS/Hercules/blob/master/db/pre-re/map_zone_db.conf
or
https://github.com/HerculesWS/Hercules/blob/master/db/re/map_zone_db.conf
We use essential cookies to make this site work, and optional cookies to enhance your experience.