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
This commit is contained in:
MitchesD
2015-07-24 22:54:15 +02:00
parent 6dea976422
commit d68df33c76
3 changed files with 11 additions and 1 deletions
@@ -1178,6 +1178,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: