Warp dispel

Nekotine

New member
Messages
7
Points
0
Is there a way to add a script that fully dispel a player when entering a map warp? (regular warp, not npc warper or warp portal skill)

Bless, agi up, berserk, fury... things like that

...or just remove buffs in general while entering some specific maps

 
if you want to do in specific map, maybe getunits can help.

something like...

.@count = getunits((BL_PC), .@units, false, "pay_fild01");

for(.@i = 0; .@i < .@count; .@i++) {
attachrid(.@units[.@i]);
sc_end(SC_END);
}


But this piece of code need to be trigger by some way, like, Ontimer events, npc talk event, on touch event or whatever things that trigger this.

Like..

OnTimer5000:

.@count = getunits((BL_PC), .@units, false, "pay_fild01");

for(.@i = 0; .@i < .@count; .@i++) {
attachrid(.@units[.@i]);
sc_end(SC_END);
}
stopnpctimer();
initnpctimer();
end;

OnInit:
initnpctimer();
end;


This will remove all the buffs that all players have in pay_fild01 each 5seconds.

 
My idea was remove buffs specially in MVP maps where ppl like monks who like to abuse the saving grace that warps give forcing them to cast their skills "on the map" instead 

 
Last edited by a moderator:
Back
Top