Thread: Pacify and Lull
View Single Post
  #8  
Old 05-07-2009, 07:29 PM
Kayen
Developer
 
Join Date: Mar 2009
Location: -
Posts: 228
Default

Code:
sub EVENT_CAST_ON {

if ($combat_state == 0) {
$npc->BuffFadeAll();
}
Why not use a code like this on mobs you don't want pacified.

Basically it will just debuff any mob who is cast on and not in combat.

Should work. I'd guess.

Kayen
GM Stormhaven

Last edited by trevius; 05-08-2009 at 03:40 AM..
Reply With Quote