aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSnapperRy <snapperryen@gmail.com>2016-09-30 23:39:23 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-03-04 19:01:46 +0100
commit5d3a5b2375ea0806b49bc45569d4ea6794063f9b (patch)
treef47879ed15622026eb4de0cb2adb252ef60cf71b
parent7815886aa1e6e135e0166d9a177496ff5f33bc5a (diff)
DB/Quest: Saving Princess Stillpine:
- Only run High Chief Bristlelimb's SAI once before he's available for killing. - Fix rotation of gameobject Princess Stillpine's Cage. (cherry picked from commit 311fe875877e861675a0d37e7a3437aac7c4880e)
-rw-r--r--sql/updates/world/master/2017_03_04_13_world_2016_09_30_06_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_03_04_13_world_2016_09_30_06_world.sql b/sql/updates/world/master/2017_03_04_13_world_2016_09_30_06_world.sql
new file mode 100644
index 00000000000..b87a05aaa11
--- /dev/null
+++ b/sql/updates/world/master/2017_03_04_13_world_2016_09_30_06_world.sql
@@ -0,0 +1,10 @@
+--
+UPDATE `smart_scripts` SET `action_type`=44, `action_param1`=2, `comment`="High Chief Bristlelimb - On Reset - Set Phasemask 2" WHERE `entryorguid`=17702 AND `id`=0;
+UPDATE `smart_scripts` SET `action_type`=44, `action_param1`=1, `comment`="High Chief Bristlelimb - On Data Set - Set Phasemask 1" WHERE `entryorguid`=17702 AND `id`=2;
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=17702;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(22, 3, 17702, 0, 0, 36, 1, 0, 0, 0, 0, 0, 0, "", "High Chief Bristlelimb must be alive in order to execute SAI ID 2 AND"),
+(22, 3, 17702, 0, 0, 26, 1, 2, 0, 0, 0, 0, 0, "", "High Chief Bristlelimb must be in phasemask 2 in order to execute SAI ID 2");
+
+UPDATE `gameobject` SET `orientation`=1.553341, `rotation2`=0.7009087, `rotation3`=0.7132511, `VerifiedBuild`=15595 WHERE `id`=181928;