AI/SmartScripts: Add SMART_ACTION_DISABLE_EVADE (117).

(cherry picked from commit 14b44af38d)
This commit is contained in:
treeston
2016-08-19 14:53:53 +02:00
committed by joschiwald
parent d0f4588652
commit b18b05ee4a
5 changed files with 31 additions and 1 deletions

View File

@@ -1280,6 +1280,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
case SMART_ACTION_SUMMON_CREATURE_GROUP:
case SMART_ACTION_MOVE_OFFSET:
case SMART_ACTION_SET_CORPSE_DELAY:
case SMART_ACTION_DISABLE_EVADE:
break;
default:
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Not handled action_type(%u), event_type(%u), Entry " SI64FMTD " SourceType %u Event %u, skipped.", e.GetActionType(), e.GetEventType(), e.entryOrGuid, e.GetScriptType(), e.event_id);