getmapflag MF_RESTRICTED (#4193)
* Corrected the value returned by getmapflag script command for MF_RESTRICTED
This commit is contained in:
@@ -754,7 +754,7 @@ bool skill_isNotOk(uint16 skill_id, struct map_session_data *sd)
|
||||
(skill_nocast&4 && mapdata_flag_gvg2_no_te(mapdata)) ||
|
||||
(skill_nocast&8 && mapdata->flag[MF_BATTLEGROUND]) ||
|
||||
(skill_nocast&16 && mapdata_flag_gvg2_te(mapdata)) || // WOE:TE
|
||||
(mapdata->zone && skill_nocast&(8*mapdata->zone) && mapdata->flag[MF_RESTRICTED]) ){
|
||||
(mapdata->zone && skill_nocast&(mapdata->zone) && mapdata->flag[MF_RESTRICTED]) ){
|
||||
clif_msg(sd, SKILL_CANT_USE_AREA); // This skill cannot be used within this area
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user