aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinnaix <Jinnaix@users.noreply.github.com>2020-03-16 20:45:19 +0100
committerKillyana <morphone1@gmail.com>2020-03-16 20:45:19 +0100
commitaa8d0fe9443d2eeee2b80f567af16b194cf46c4c (patch)
tree665462e5a345479d84850189e9c126bfb87e8aba
parent61d0826150a529ae30d69a3d70b8d146e710c798 (diff)
DB/Creature: SAI correction for Scarlet Conjuror (4297)
Closes #24313
-rw-r--r--sql/updates/world/3.3.5/2020_03_16_08_world.sql (renamed from sql/updates/world/3.3.5/2020_03_16_08_world .sql)0
-rw-r--r--sql/updates/world/3.3.5/2020_03_16_09_world.sql11
2 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_03_16_08_world .sql b/sql/updates/world/3.3.5/2020_03_16_08_world.sql
index 06c93fbe6c2..06c93fbe6c2 100644
--- a/sql/updates/world/3.3.5/2020_03_16_08_world .sql
+++ b/sql/updates/world/3.3.5/2020_03_16_08_world.sql
diff --git a/sql/updates/world/3.3.5/2020_03_16_09_world.sql b/sql/updates/world/3.3.5/2020_03_16_09_world.sql
new file mode 100644
index 00000000000..64f4775bf39
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_03_16_09_world.sql
@@ -0,0 +1,11 @@
+--
+-- SAI correction for Scarlet Conjuror 4297
+-- Fire Elemental will now be correctly summoned instead of prespawned
+DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 4297);
+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
+(4297, 0, 0, 0, 25, 0, 100, 2, 0, 0, 0, 0, 0, 11, 8985, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Conjuror - On Reset - Cast \'Summon Fire Elemental\' (Normal Dungeon)'),
+(4297, 0, 1, 0, 0, 0, 100, 2, 0, 0, 2400, 3800, 0, 11, 9053, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Conjuror - In Combat - Cast \'Fireball\' (Normal Dungeon)'),
+(4297, 0, 2, 0, 2, 0, 100, 3, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Conjuror - Between 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)');
+
+-- deleting his prespawned Fire Elemental in Scarlet Monastery Armory
+DELETE FROM `creature` WHERE `guid` = 40134;