*sc_end <effect type>{,<GID>};
'sc_end' will remove a specified status effect. If SC_All is used (-1), it
will do a complete removal of all statuses (although permanent ones will
re-apply).
OnPCLoadMapEvent:This special label will trigger once a player steps in a map marked with the 'loadevent' mapflag and attach its RID.
- script debuffer -1, {OnPCLoadMapEvent: sc_end SC_ALL;}pvpmorocc mapflag loadevent
- script debuffer -1,{OnInit: setarray .Map$[0], "arug_cas01", "schg_cas01", "schg_cas02"; set .size, getarraysize(.Map$); for ( set .@i, 0; .@i < .size; set .@i, .@i + 1 ) setmapflag .Map$[.@i], mf_loadevent; end; OnPCLoadMapEvent: getmapxy(@map$, @x, @y, 0); while ( .@j < .size ) { if ( @map$ == .Map$[.@j] ) sc_end SC_ALL; set .@j, .@j + 1; } end;}
- script debuffer -1,{OnInit: setarray .Map$[0], "arug_cas01", "schg_cas01", "schg_cas02"; set .size, getarraysize(.Map$); for ( set .@i, 0; .@i < .size; set .@i, .@i + 1 ) setmapflag .Map$[.@i], mf_loadevent; end; OnPCLoadMapEvent: getmapxy(@map$, @x, @y, 0); while ( .@j < .size ) { if ( @map$ == .Map$[.@j] ) sc_end SC_ALL; set .@j, .@j + 1; } end;}
We use essential cookies to make this site work, and optional cookies to enhance your experience.