*Call new function InitializeAI() instead of Reset() to do one-time work.
--HG-- branch : trunk
This commit is contained in:
@@ -98,7 +98,7 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
|
||||
//*************
|
||||
|
||||
//Called at creature reset either by death or evade
|
||||
virtual void Reset() = 0;
|
||||
void Reset() {}
|
||||
|
||||
//Called at creature aggro either by MoveInLOS or Attack Start
|
||||
virtual void Aggro(Unit*) = 0;
|
||||
|
||||
Reference in New Issue
Block a user