Core/SmartAI: added TARGET_THREAT_LIST, uses all units from creature's threat list as targets

- modified ACTION_CALL_CASTEDCREATUREORGO to use simple targeting

--HG--
branch : trunk
This commit is contained in:
Rat committed 2010-11-20 12:42:10 +01:00
1 parent 67fa59fb68
commit c1ec8c80de
4 files changed
+20 -6

No files matched your search

@@ -837,6 +837,7 @@ void SmartGameObjectAI::Reset()
// Called when a player opens a gossip dialog with the gameobject.
bool SmartGameObjectAI::GossipHello(Player* player)
{
sLog.outDebug("SmartGameObjectAI::GossipHello");
GetScript()->ProcessEventsFor(SMART_EVENT_GOSSIP_HELLO, player, 0 ,0 , false, NULL, go);
return false;
}