Thread: Pacify and Lull
View Single Post
  #10  
Old 05-08-2009, 12:15 AM
MNWatchdog
Hill Giant
 
Join Date: Feb 2006
Posts: 179
Default

Quote:
Originally Posted by Kayen View Post
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
Good idea.

But always being one to worry about needless use of CPU resources, won't this make mobs using this script to constantly have to be serviced where as just making it a special only takes CPU when someone actually casts a spell?
Reply With Quote