Quest to remove unwanted buffs.
I'm looking to create a quest that constantly removes unwanted buffs from players, but I have failed to come up with anything solid.
EDIT:
if ($client && $client->FindBuff(xxxx) && $ulevel <= (xxxx))
$client->BuffFadeAll(); is the syntax I'm using but can't seem to find a place to constantly check it. (This works)
Tried making this a player.pl in templates and can't get anything going. Tried sub EVENT_TARGET_CHANGE{ and a sub EVENT_TIMER so far but no luck.
Thanks all.
|