NPC casting types
I am trying to determine casting example for various types of npc script casting.
1st type is when npc quets script makes player to cast spell on self - as if player has casted it and i belive these spells also unresisteable. EXAMPLE: quest::say("Binding your soul. You will return here when you die."); quest::selfcast(2049); Now there are types, are when npc casts spell on a player - like when npc trying to nuke the player OR on another npc - could anyone post simple exmaple? and finaly, when npc would cast spell on itself (like buff) - again exmaple? any other posible variations? |
From the Wiki:
Quote:
Code:
$entity_list->GetMobByNpcTypeID(get_id); |
$npc should also function as the object for the npc giving the quest assuming it's not a player quest.
|
All times are GMT -4. The time now is 02:03 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.