summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsogladev <sogladev@gmail.com>2025-09-19 11:47:50 +0200
committerGitHub <noreply@github.com>2025-09-19 10:47:50 +0100
commit436c988c2debdf49db42bb23e9fc08ddbe33d328 (patch)
treef4b638600a5262a3a302f5970a54d126735285d3
parentc8665b003ed2031a2bd55fd6b7dcc05180d767f3 (diff)
refactor(DB/SmartAI): quest 'X Marks... Your Doom!' (#22961)
Co-authored-by: dr-j <dr-j@users.noreply.github.com>
-rw-r--r--data/sql/updates/pending_db_world/rev_1758206177120204426.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/sql/updates/pending_db_world/rev_1758206177120204426.sql b/data/sql/updates/pending_db_world/rev_1758206177120204426.sql
new file mode 100644
index 0000000000..7ebefdb640
--- /dev/null
+++ b/data/sql/updates/pending_db_world/rev_1758206177120204426.sql
@@ -0,0 +1,16 @@
+--
+DELETE FROM `areatrigger_scripts` WHERE `entry` IN (4725, 4724, 4726);
+INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
+(4725, 'SmartTrigger'),
+(4724, 'SmartTrigger'),
+(4726, 'SmartTrigger');
+
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4725,4724,4726) AND `source_type`=2;
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(4725, 2, 0, 0, 46, 0, 100, 0, 4725, 0, 0, 0, 0, 33, 23814, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!'' (Zul'Aman - Eagle God Invisman)"),
+(4726, 2, 0, 0, 46, 0, 100, 0, 4726, 0, 0, 0, 0, 33, 23815, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!'' (Zul'Aman - Lynx God Invisman)"),
+(4724, 2, 0, 0, 46, 0, 100, 0, 4724, 0, 0, 0, 0, 33, 23813, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, "Areatrigger - On Trigger - Quest Credit 'X Marks... Your Doom!' (Zul'Aman - Dragonhawk God Invisman)");
+
+UPDATE `creature_template` SET `AIName`='' WHERE `entry` IN (23814, 23815, 23813);
+
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (23814, 23815, 23813) AND `source_type`=0;