[AZTH] Re-organized sql

This commit is contained in:
Yehonal
2016-07-31 16:24:10 +02:00
parent a916149f7c
commit a00795f11c
34 changed files with 4 additions and 60 deletions
@@ -1,5 +1,3 @@
-- Strand of The Ancients demolisher fix
UPDATE `creature_template` SET `mechanic_immune_mask` = 344407930 WHERE `entry` IN (28781, 32796);
-- Auctioneer Beardo friendly and immune
UPDATE `creature_template` SET `unit_flags` = 898, `faction` = 1774 WHERE `entry` = 8661;
@@ -18,7 +18,7 @@ UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 3; --
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 7; -- Eye of The Storm
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 5 WHERE `ID` = 9; -- Strand of the Ancients
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 10 WHERE `ID` = 1; -- Alterac Valley
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 3 WHERE `ID` = 32; -- RBG
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 4 WHERE `ID` = 32; -- RBG
-- MaxPlayersPerTeam
UPDATE `battleground_template` SET `MaxPlayersPerTeam`=15 WHERE `ID`=32;
@@ -0,0 +1,2 @@
-- Auctioneer Beardo friendly and immune
UPDATE `creature_template` SET `unit_flags` = 898, `faction` = 1774 WHERE `entry` = 8661;
@@ -1,2 +0,0 @@
ALTER TABLE instance ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER data;
ALTER TABLE character_achievement ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER date;
@@ -1 +0,0 @@
@@ -1,9 +0,0 @@
-- Max Skill
DELETE FROM command WHERE NAME = 'azth maxskill';
INSERT INTO command VALUES('azth maxskill', 0, 'Max all skill of targeted player');
DELETE FROM trinity_string WHERE entry = 90001;
INSERT INTO trinity_string(entry, content_default) VALUES(90001, 'The target level must be level %u');
-- xp rate
DELETE FROM command WHERE NAME = 'azth xp';
INSERT INTO command VALUES('azth xp', 0, 'Set a custom xp rate');
@@ -1,45 +0,0 @@
--
-- CREATE STRUCTURE
--
DROP TABLE IF EXISTS `quest_bugged`;
CREATE TABLE `quest_bugged` (
`ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
`bugged` BOOLEAN NOT NULL DEFAULT '1',
PRIMARY KEY (`ID`)
);
--
-- ADD DATA
--
DELETE FROM `command` WHERE `name` = 'qc';
INSERT INTO `command` (`name`, `security`, `help`) VALUES ('qc', 0, 'Syntax: .qc [Quest]');
DELETE FROM `quest_bugged`;
INSERT INTO `quest_bugged` (SELECT `ID`, 0 FROM `quest_template`);
-- initial bugged quest list
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (1090, 2078, 2904, 3367, 3982, 4121, 5713, 5821, 5943, 5944, 6086, 7046, 7622, 7636, 8945, 8961, 9015, 9729, 10218, 10248, 10273, 10309, 10310, 10422, 10425, 10438, 10439, 10495, 10566, 10612, 10613, 10711, 10712, 10714, 10716, 10720, 10821, 10884, 10886, 10909, 10930, 10935, 10965, 10974, 10976, 10977, 10988, 11035, 11064, 11067, 11068, 11069, 11070, 11071, 11073, 11097, 11101, 11122, 11310, 11318, 11343, 11409, 11412, 11418, 11421, 11436, 11516, 11520, 11521, 11527, 11533, 11542, 11543, 11657, 11731, 11921, 11922, 11923, 11924, 11925, 11926, 11969, 12414, 12432, 12437, 12519, 12568, 12674, 12801, 12886, 12987, 13003, 13007, 13069, 13086, 13142, 13264, 13276, 13284, 13288, 13289, 13301, 13314, 13343, 13373, 13374, 13376, 13380, 13381, 13382, 13404, 13406, 24535, 24553, 24563, 24564, 24594, 24595, 24596, 24598, 25212, 25461, 25470);
-- Hallow's End Event
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (
-- Fire Brigade Practice
11440,
11439,
11360,
-- Stop the Fires!
11131,
11219,
-- Let the Fires Come!
12135,
12139,
-- Quest Fire Training
11361,
11449,
11450
);
-- Scouring the Desert
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (9422, 9419);
@@ -0,0 +1 @@
ALTER TABLE instance ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER data;