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

Ref. #11486
This commit is contained in:
Discover-
2014-01-21 19:56:43 +01:00
parent e169e2476d
commit bf0d8c1346
2 changed files with 13 additions and 3 deletions
@@ -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;