Core/SmartScripts: added new action SMART_ACTION_COMBAT_STOP

* this avoid using hacks like evade, faction change or rooting. I wonder how SAI could be without this

(cherry picked from commit d68df33c7689d62e27787f75820fd5b5be94005f)
This commit is contained in:
MitchesD committed 2015-07-25 16:54:25 +02:00
1 parent 8a9f1b871a
commit c40d3be6dc
3 files changed
+11 -1

No files matched your search

@@ -1135,6 +1135,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
case SMART_ACTION_STORE_TARGET_LIST:
case SMART_ACTION_EVADE:
case SMART_ACTION_FLEE_FOR_ASSIST:
case SMART_ACTION_COMBAT_STOP:
case SMART_ACTION_DIE:
case SMART_ACTION_SET_IN_COMBAT_WITH_ZONE:
case SMART_ACTION_SET_ACTIVE: