Scripts/Utgarde Pinnacle: Svala Sorrowgrave Intro and Ritual of the Sword (#24503)

* Scripts/Svala SorrowGrave - Fix broken intro event and Ritual of the Sword

* Added missing header for non-PCH build.

* Added error checking for Svala's targeting, and tightened up the timing on the intro event.

* Update WorldDB\Creature_Template_Movement for Svala

* Fix movement during intro and ritual event

* Rename SQL file for merge

Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit a225717b99)
This commit is contained in:
wotlk-enthusiast
2021-01-08 14:56:55 -07:00
committed by Shauren
parent c7bff97d1a
commit 850d60c4b3
2 changed files with 47 additions and 36 deletions

View File

@@ -0,0 +1,8 @@
UPDATE `creature_template` SET `flags_extra` = `flags_extra`| 0x200 WHERE `entry` IN (29281, 30809, 26668, 30810);
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (29281, 30809, 26668, 30810);
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`) VALUES
(29281, 1, 0, 1, 0, 0, 0),
(30809, 1, 0, 1, 0, 0, 0),
(26668, 2, 0, 1, 0, 0, 0),
(30810, 2, 0, 1, 0, 0, 0);