diff options
| author | Kittnz <frederik156@hotmail.com> | 2016-01-12 22:17:48 +0100 |
|---|---|---|
| committer | Kittnz <frederik156@hotmail.com> | 2016-01-12 22:17:48 +0100 |
| commit | 8dd072722ab523b611fa65e8bd6b84653dd7cacb (patch) | |
| tree | 4b045eaa96346a8eb49949edb4faddcbf7c10552 | |
| parent | ae6c59cd4e19d2bd2a24ed5b44003de06599e894 (diff) | |
DB/Event: Additional Feast of Winter Veil gameobject & creature fixes
| -rw-r--r-- | sql/updates/world/2016_01_12_04_world.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2016_01_12_04_world.sql b/sql/updates/world/2016_01_12_04_world.sql new file mode 100644 index 00000000000..b758a21da9f --- /dev/null +++ b/sql/updates/world/2016_01_12_04_world.sql @@ -0,0 +1,14 @@ +SET @OGUID:=79521; +SET @CGUID:=52265; +SET @Event:=2; + +DELETE FROM `gameobject` WHERE `guid` IN (@OGUID+0); +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, 187567, 530, 1, 1, -690.7932, 2724.943, 100.9289, 6.265733, 0, 0, 0, 1, 120, 255, 1); -- 187567 (Area: 3483) + +DELETE FROM `game_event_gameobject` WHERE `guid` IN (@OGUID+0); +INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES +(@Event, @OGUID+0); + +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4 AND `eventEntry`=@Event; +INSERT INTO game_event_creature SELECT @Event, creature.guid FROM `creature` WHERE creature.guid BETWEEN @CGUID+0 AND @CGUID+4; |
