View Single Post
  #3  
Old 09-16-2012, 11:40 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

meh. try this instead. syntax got me.

Code:
foreach $ent (@{$npc->GetHateList()}) {
    $npc->CastSpell($spellID, $ent->GetID());
}
Reply With Quote