View Single Post
  #9  
Old 05-19-2011, 09:00 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

You are looking at that part wrong. $entity_list->GetMobByNpcTypeID() passes a type Mob. Therefore, you when you call $AddNPC->CastSpell() is actually Mob::CastSpell(spellid,targetid)
Reply With Quote