Thread: NPC + Target DD
View Single Post
  #3  
Old 12-01-2009, 06:33 PM
Xunsai
Fire Beetle
 
Join Date: Jun 2008
Posts: 14
Default

I've tried,
$npc->CastSpell(9247,$userid);
$npc->CastSpell($userid,9247);
$npc->CastSpell(9247,$name);
$npc->CastSpell(9247,$target);
$npc->CastSpell(9247,$npc->GetHateTop());
$npc->CastSpell(9247,$npc->GetTopHate());
$npc->CastSpell(9247,$npc->GetHateMost());
$npc->CastSpell(9247,$GetTarget());
$npc->CastSpell(9247,$npc->$GetTarget());

You get the idea,

Also tried adding in
$targ = $npc->GetHateTop();
$whohit = $entity_list->GetClientByID($targ);

and then using

$npc->CastSpell(9248,$whohit);


And then he begins casting but interrupts, everytime. Spells are instant also.
Reply With Quote