aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr-J <daniel.jarrott0@gmail.com>2015-04-27 18:09:54 +0100
committerDr-J <daniel.jarrott0@gmail.com>2015-04-27 18:09:54 +0100
commit192ba1f4a7d5daa63d49c548981de203371d36ba (patch)
tree905215cfc4c0a51bf772e480d3da30ff8a2a1839
parentbe4b48ecaac8fe76a5f29f74bf1affc0c7ed76a0 (diff)
DB/Gameobject: Serpentshrine Cavern
Missing GO spawns from Serpentshrine Cavern Including the objects for Vjash's bridge, @Kittnz will push fix to cpp script to make this work properly as even though this was already scripted (but no gos, there was still slight issue with existing cpp script (ie activating same part of bridge 3 times instead of all 3 parts.
-rw-r--r--sql/updates/world/2015_04_27_00_world.sql19
1 files changed, 19 insertions, 0 deletions
diff --git a/sql/updates/world/2015_04_27_00_world.sql b/sql/updates/world/2015_04_27_00_world.sql
new file mode 100644
index 00000000000..01db583444e
--- /dev/null
+++ b/sql/updates/world/2015_04_27_00_world.sql
@@ -0,0 +1,19 @@
+SET @OGUID := 29765;
+
+DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+9 AND `id` IN(184203,184204,184205,185114,185115,185117,185118,184566,184567,184568);
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
+(@OGUID+0, 184203, 548, 3, 1, 26.32847, -654.4946, 15.47422, 3.141593, 0, 0, 1, -4.371139E-08, 7200, 255, 1), -- 184203 (Area: 0)
+(@OGUID+1, 184204, 548, 3, 1, 26.32847, -654.4946, 15.47422, 3.141593, 0, 0, 1, -4.371139E-08, 7200, 255, 1), -- 184204 (Area: 0)
+(@OGUID+2, 184205, 548, 3, 1, 26.32847, -654.4946, 15.47422, 3.141593, 0, 0, 1, -4.371139E-08, 7200, 255, 1), -- 184205 (Area: 0)
+(@OGUID+3, 185114, 548, 3, 1, 457.4108, -555.2696, -6.996453, 1.832595, 0, 0, 1, -4.371139E-08, 7200, 255, 0), -- 185114 (Area: 0)
+(@OGUID+4, 185115, 548, 3, 1, 373.1394, -465.1063, 30.71642, 3.228859, 0, 0, 1, -4.371139E-08, 7200, 255, 0), -- 185115 (Area: 0)
+(@OGUID+5, 185117, 548, 3, 1, -245.7294, -381.393, -0.187039, 2.879789, 0, 0, 1, -4.371139E-08, 7200, 255, 0), -- 185117 (Area: 0)
+(@OGUID+6, 185118, 548, 3, 1, 123.2582, -432.3567, -1.196554, 4.799657, 0, 0, 1, -4.371139E-08, 7200, 255, 0), -- 185118 (Area: 0)
+(@OGUID+7, 184566, 530, 1, 1, 811.1944, 6872.574, -66.931, 0, 0, 0, 1, -4.371139E-08, 120, 255, 1), -- 184566 (Area: 3905)
+(@OGUID+8, 184567, 530, 1, 1, 811.1944, 6859.181, -66.931, 3.141593, 0, 0, 1, -4.371139E-08, 120, 255, 1), -- 184567 (Area: 3905)
+(@OGUID+9, 184568, 548, 3, 1, 47.75674, -581.8289, 4.655592, 3.141593, 0, 0, 1, -4.371139E-08, 7200, 255, 1); -- 184568 (Area: 0)
+
+UPDATE `gameobject_template` SET `faction`=1375, `flags`=32 WHERE `entry`IN(184203,184204,184205);
+UPDATE `gameobject_template` SET `flags`=16 WHERE `entry`IN(185114,185115,185117,185118);
+UPDATE `gameobject_template` SET `flags`=2 WHERE `entry`=184566;
+UPDATE `gameobject_template` SET `flags`=32 WHERE `entry`=184568;