From c1203874c01913db319785c1cd35e7cd1c4a273d Mon Sep 17 00:00:00 2001 From: Cristian Bilu Date: Thu, 14 Oct 2021 19:43:55 +0300 Subject: [PATCH] fix(DB/Creature): Scarshield Portal (#7426) Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com> --- .../pending_db_world/rev_1629293787158639200.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1629293787158639200.sql diff --git a/data/sql/updates/pending_db_world/rev_1629293787158639200.sql b/data/sql/updates/pending_db_world/rev_1629293787158639200.sql new file mode 100644 index 000000000..7cf8bd82d --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1629293787158639200.sql @@ -0,0 +1,10 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1629293787158639200'); + +UPDATE `creature_template` SET `InhabitType` = `InhabitType` |1|8 WHERE (`entry` = 9707); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 9707); +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 +(9707, 0, 0, 0, 60, 0, 100, 2, 5000, 5000, 5000, 5000, 0, 11, 15126, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarshield Portal - On Update - Cast \'Summon Burning Imp\' (Normal Dungeon)'), +(9707, 0, 1, 0, 60, 0, 100, 2, 11000, 11000, 11000, 11000, 0, 11, 16002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarshield Portal - On Update - Cast \'Summon Burning Felhound\' (Normal Dungeon)'), +(9707, 0, 2, 0, 60, 0, 10, 3, 20000, 20000, 0, 0, 0, 11, 16004, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarshield Portal - On Update - Cast \'Summon Burning Felguard\' (No Repeat) (Normal Dungeon)'), +(9707, 0, 3, 0, 54, 0, 100, 2, 0, 0, 0, 0, 0, 41, 30000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarshield Portal - On Just Summoned - Despawn In 30000 ms (Normal Dungeon)');