Core/SAI: Implement three more event phases which makes a total of 9 (from 6).

Ref. #11486
This commit is contained in:
Discover- committed 2014-01-21 19:56:43 +01:00
1 parent e169e2476d
commit bf0d8c1346
2 files changed
+13 -3

No files matched your search

@@ -766,6 +766,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u attempts to set invalid phase, skipped.", e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType());
return false;
}
if (!IsMinMaxValid(e, e.action.randomPhaseRange.phaseMin, e.action.randomPhaseRange.phaseMax))
return false;
break;