Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that. (cherry picked from commit 5267381e39c23797bfad22c5433910ecf155145c)
This commit is contained in:
@@ -177,7 +177,6 @@ Creature* SmartScript::FindCreatureNear(WorldObject* searchObject, ObjectGuid::L
|
||||
|
||||
void SmartScript::OnReset()
|
||||
{
|
||||
SetPhase(0);
|
||||
ResetBaseObject();
|
||||
for (SmartAIEventList::iterator i = mEvents.begin(); i != mEvents.end(); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user