Misc: fix SQL updates + move some lines of code

This commit is contained in:
ShinDarth
2016-08-14 20:23:39 +02:00
parent 47dfb6c526
commit 146f147676
5 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
(1334, 'Your ticket has been closed.'),
(1335, 'You received a ticket response.');

View File

@@ -0,0 +1,6 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_10_01 2016_08_14_00 bit;
-- Dream Vision make it trigger
UPDATE `creature_template` SET `flags_extra`='128' WHERE (`entry`='7863');
-- Eye of Kilrogg (Summon) apply stealth aura
UPDATE `creature_template_addon` SET `auras`='2585' WHERE (`entry`='4277');

View File

@@ -0,0 +1,8 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_00 2016_08_14_01 bit;
-- Hellscream's Warsong
UPDATE `spell_area` SET `spell`='73822'
WHERE `spell`='73818' AND `area`='4812' AND `quest_start`='0' AND `aura_spell`='0' AND `racemask`='690' AND `gender`='2';
-- Strength of Wrynn
UPDATE `spell_area` SET `spell`='73828'
WHERE `spell`='73824' AND `area`='4812' AND `quest_start`='0' AND `aura_spell`='0' AND `racemask`='1101' AND `gender`='2';

View File

@@ -0,0 +1,6 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_01 2016_08_14_02 bit;
DELETE FROM `trinity_string` WHERE `entry`IN (1334, 1335);
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
(1334, 'Your ticket has been closed.'),
(1335, 'You received a ticket response.');