mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
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.
Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker. (We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.)
This commit is contained in:
2
sql/updates/world/3.3.5/2018_02_13_04_world.sql
Normal file
2
sql/updates/world/3.3.5/2018_02_13_04_world.sql
Normal file
@@ -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;
|
||||
Reference in New Issue
Block a user