View Single Post
  #1  
Old 11-13-2012, 02:03 AM
Drakiyth's Avatar
Drakiyth
Dragon
 
Join Date: Apr 2012
Posts: 545
Default 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.
Reply With Quote