Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.

Port From (https://github.com/TrinityCore/TrinityCore/commit/06b5b8d8b7ac3da65013ccc0f03599ee9dee2163)
This commit is contained in:
hondacrx
2021-06-23 22:41:44 -04:00
parent de6b8b0240
commit fc49a98dab
5 changed files with 72 additions and 6 deletions
@@ -0,0 +1,2 @@
-- SMART_ACTION_FLEE_FOR_ASSIST (25) does not need a target
UPDATE `smart_scripts` SET `target_type`=0 WHERE `action_type`=25;