View Single Post
  #4  
Old 06-30-2008, 09:23 AM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

i don't know of a specific command for damage, but you could just cast a spell that does 1000 like this:

Code:
$myvar = 0;
sub EVENT_ATTACK {
   if($myvar==0) {
      quest::say("$name, do not attack me.  You have earned this punishment!");
      $npc->CastSpell(6737, $charid, 10, -1, -1);
      $myvar=1;
   }
}
Reply With Quote