mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 12:42:43 -04:00
Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that.
(cherry picked from commit 5267381e39)
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