* Used finally after long time trinity sql coding style

* Missing data are now in 4321_world - just import this
* Updated all FULL sqls to 4321

--HG--
branch : trunk
This commit is contained in:
Drahy
2009-06-29 22:25:16 +02:00
parent cf414bb7ca
commit 57ab0f01f3
70 changed files with 206 additions and 209 deletions

View File

@@ -2,5 +2,4 @@ UPDATE `gameobject_template` SET `ScriptName` = 'go_ethereum_prison' WHERE `entr
UPDATE `gameobject_template` SET `ScriptName` = 'go_ethereum_stasis' WHERE `entry` BETWEEN 185465 AND 185467;
UPDATE `gameobject_template` SET `ScriptName` = 'go_ethereum_stasis' WHERE `entry` = 184595;
UPDATE `gameobject_template` SET `ScriptName` = 'go_ethereum_stasis' WHERE `entry` BETWEEN 185461 AND 185464;
UPDATE `creature_template` SET `ScriptName` = 'npc_engineering_tele_trinket' WHERE `entry` IN (14742, 14743, 21493, 21494);
UPDATE `creature_template` SET `ScriptName` = 'npc_engineering_tele_trinket' WHERE `entry` IN (14742, 14743, 21493, 21494);

View File

@@ -1,2 +1,2 @@
UPDATE `creature_template` SET `ScriptName` = 'mob_ethereal_apprentice' WHERE `entry` = 18430;
DELETE FROM `creature` WHERE `id` = 18431;
DELETE FROM `creature` WHERE `id` = 18431;

View File

@@ -1,2 +1,2 @@
ALTER TABLE version
ADD `core_revision` varchar(120) AFTER `core_version`;
ADD `core_revision` varchar(120) AFTER `core_version`;

View File

@@ -5,4 +5,4 @@ UPDATE character_pet
UPDATE character_pet
SET abdata = SUBSTRING_INDEX(SUBSTRING_INDEX(abdata,' ',(10-3)*2),' ',-(10-3-3)*2)
WHERE length(SUBSTRING_INDEX(abdata, ' ', 20)) < length(abdata) and length(SUBSTRING_INDEX(abdata, ' ', 21)) >= length(abdata);
WHERE length(SUBSTRING_INDEX(abdata, ' ', 20)) < length(abdata) and length(SUBSTRING_INDEX(abdata, ' ', 21)) >= length(abdata);

View File

@@ -7,4 +7,4 @@ UPDATE creature_template SET `ScriptName`='npc_ros_dark_rider' WHERE `entry`=287
-- Spellclick spell to mount deathcharger
DELETE FROM npc_spellclick_spells WHERE `npc_entry`=28782;
INSERT INTO npc_spellclick_spells (`npc_entry`, `spell_id`, `quest_id`, `quest_status`, `cast_flags`) VALUES
(28782, 52280, 12687, 3, 1);
(28782, 52280, 12687, 3, 1);

View File

@@ -1,4 +1,4 @@
/*ALTER TABLE realmd_db_version CHANGE COLUMN required_7867_01_realmd_account required_7938_01_realmd_account bit;*/
ALTER TABLE account
CHANGE id id int(11) unsigned NOT NULL auto_increment COMMENT 'Identifier';
CHANGE id id int(11) unsigned NOT NULL auto_increment COMMENT 'Identifier';

View File

@@ -1,3 +1,3 @@
DELETE FROM spell_area WHERE spell = 52693;
INSERT INTO spell_area (`spell`, `area`, `quest_start`, `quest_start_active`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`) VALUES
(52693, 4298, 12687, 1, 12687, 0, 0, 0, 1);
(52693, 4298, 12687, 1, 12687, 0, 0, 0, 1);

View File

@@ -6,4 +6,4 @@ ALTER TABLE quest_template
ADD COLUMN `OfferRewardEmoteDelay1` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmote4`,
ADD COLUMN `OfferRewardEmoteDelay2` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmoteDelay1`,
ADD COLUMN `OfferRewardEmoteDelay3` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmoteDelay2`,
ADD COLUMN `OfferRewardEmoteDelay4` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmoteDelay3`;
ADD COLUMN `OfferRewardEmoteDelay4` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmoteDelay3`;

View File

@@ -1,3 +1,3 @@
ALTER TABLE `auctionhousebot`
DROP COLUMN `minTime`,
DROP COLUMN `maxTime`;
DROP COLUMN `maxTime`;

View File

@@ -4,4 +4,4 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
DELETE FROM `spell_affect` WHERE `entry` IN (44544);
INSERT INTO `spell_affect` (`entry`, `effectId`, `SpellClassMask0`, `SpellClassMask1`, `SpellClassMask2`) VALUES
(44544,0,685904631,1151048,0); -- Fingers of frost
(44544,0,685904631,1151048,0); -- Fingers of frost

View File

@@ -1 +1 @@
UPDATE `creature_template` SET `ScriptName` = 'npc_salanar_the_horseman' WHERE `entry` = 28788;
UPDATE `creature_template` SET `ScriptName` = 'npc_salanar_the_horseman' WHERE `entry` = 28788;

View File

@@ -91,4 +91,4 @@ INSERT INTO spell_bonus_data( entry, ap_bonus, comments ) VALUES
('50536', '0.013', 'DK - Unholy Blight (Rank1)'),
('51373', '0.013', 'DK - Unholy Blight (Rank2)'),
('51374', '0.013', 'DK - Unholy Blight (Rank3)'),
('51375', '0.013', 'DK - Unholy Blight (Rank4)');
('51375', '0.013', 'DK - Unholy Blight (Rank4)');

View File

@@ -1,10 +1,8 @@
UPDATE `creature_template` SET maxhealth = 133525, minhealth = 133525, maxmana = 51360, minmana = 51360, spell1 = 53114, spell2 = 53112, spell3=53110, VehicleId = 156 where entry = 28670;
UPDATE `creature_template` SET `ScriptName`='npc_dkc1_gothik' WHERE `entry`=28658;
-- gift of harvester
DELETE FROM `spell_script_target` WHERE entry IN
(52479);
DELETE FROM `spell_script_target` WHERE entry IN (52479);
INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
(52479,1,28819),
(52479,1,28822);
update creature_template set maxhealth = 133525, minhealth = 133525, maxmana = 51360, minmana = 51360, spell1 = 53114, spell2 = 53112, spell3=53110, VehicleId = 156 where entry = 28670;
(52479,1,28822);

View File

@@ -1 +1 @@
DELETE FROM `character_aura` WHERE `spell` IN (48714,57806);
DELETE FROM `character_aura` WHERE `spell` IN (48714,57806);

View File

@@ -5,4 +5,4 @@ INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
('48714', '2', '27235'),
('48714', '2', '27234'),
('48714', '2', '27236'),
('57806', '2', '31043');
('57806', '2', '31043');

View File

@@ -6,4 +6,4 @@ ON DUPLICATE KEY UPDATE
baseattacktime = VALUES(baseattacktime),
spell1 = VALUES(spell1),
flags_extra = VALUES(flags_extra),
scriptname = VALUES(scriptname);
scriptname = VALUES(scriptname);

View File

@@ -1 +1 @@
ALTER TABLE `access_requirement` ADD COLUMN `heroic_level_min` tinyint(3) unsigned NOT NULL default '0' AFTER `level_min`;
ALTER TABLE `access_requirement` ADD COLUMN `heroic_level_min` tinyint(3) unsigned NOT NULL default '0' AFTER `level_min`;

View File

@@ -6,4 +6,4 @@ CREATE TABLE `item_required_target` (
`type` tinyint(3) unsigned NOT NULL default '0',
`targetEntry` mediumint(8) unsigned NOT NULL default '0',
UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;

View File

@@ -1,25 +1,28 @@
replace into creature_questrelation (id,quest) VALUES (28377,12701);
replace into creature_involvedrelation (id,quest) VALUES (28377,12701);
replace into creature_involvedrelation (id,quest) VALUES (28914,12723);
replace into creature_questrelation (id,quest) VALUES (28914,12724);
replace into creature_involvedrelation (id,quest) VALUES (28914,12724);
replace into creature_questrelation (id,quest) VALUES (28913,12725);
replace into creature_involvedrelation (id,quest) VALUES (28912,12725);
replace into creature_questrelation (id,quest) VALUES (28912,12727);
replace into creature_involvedrelation (id,quest) VALUES (28913,12727);
DELETE FROM `creature_questrelation` WHERE `quest`=12701;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28377, 12701);
DELETE FROM `creature_involvedrelation` WHERE `quest`=12701;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28377, 12701);
DELETE FROM `creature_involvedrelation` WHERE `quest`=12723;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12723);
DELETE FROM `creature_questrelation` WHERE `quest`=12724;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12724);
DELETE FROM `creature_involvedrelation` WHERE `quest`=12724;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12724);
DELETE FROM `creature_questrelation` WHERE `quest`=12725;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28913, 12725);
DELETE FROM `creature_involvedrelation` WHERE `quest`=12725;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28912, 12725);
DELETE FROM `creature_questrelation` WHERE `quest`=12727;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28912, 12727);
DELETE FROM `creature_involvedrelation` WHERE `quest`=12727;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28913, 12727);
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (28833,28887);
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_id`, `quest_status`, `cast_flags`) VALUES
(28833, 52447, 12701, 3, 3),
(28887, 52447, 12701, 3, 3);
UPDATE creature_template SET spell1=52435,spell2=52576,spell5=52588,VehicleId=68,speed=0 WHERE entry IN (28833,28887);
UPDATE creature_template SET spell1=52211 WHERE entry=28864;
DELETE FROM `spell_script_target` WHERE entry IN
(52576);
DELETE FROM `spell_script_target` WHERE entry IN (52576);
INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
(52576,1,28834),
(52576,1,28886);
(52576,1,28886);

View File

@@ -1,3 +1,3 @@
DELETE FROM `spell_script_target` WHERE `entry` IN (48743);
INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
('48743', '1', '26125');
('48743', '1', '26125');

View File

@@ -1,23 +1,23 @@
-- Grand Magus Telestra
update `creature_template` set `ScriptName`='boss_magus_telestra' where `entry`=26731;
UPDATE `creature_template` SET `ScriptName`='boss_magus_telestra' WHERE `entry`=26731;
-- Anomalus
update `creature_template` set `ScriptName`='boss_anomalus' where `entry`=26763;
update `creature_template` set `ScriptName`='mob_chaotic_rift' where `entry`=26918;
UPDATE `creature_template` SET `ScriptName`='boss_anomalus' WHERE `entry`=26763;
UPDATE `creature_template` SET `ScriptName`='mob_chaotic_rift' WHERE `entry`=26918;
-- Ormorok the Tree-Shaper
update `creature_template` set `ScriptName`='boss_ormorok' where `entry`=26794;
update `creature_template` set `ScriptName`='mob_crystal_spike' where `entry`=27099;
update `creature_template` set `ScriptName`='mob_crystalline_tangler' where `entry`=32665;
UPDATE `creature_template` SET `ScriptName`='boss_ormorok' WHERE `entry`=26794;
UPDATE `creature_template` SET `ScriptName`='mob_crystal_spike' WHERE `entry`=27099;
UPDATE `creature_template` SET `ScriptName`='mob_crystalline_tangler' WHERE `entry`=32665;
-- Keristrasza
update `creature_template` set `ScriptName`='boss_keristrasza' where `entry`=26723;
UPDATE `creature_template` SET `ScriptName`='boss_keristrasza' WHERE `entry`=26723;
-- Instance script
update `instance_template` set `script`='instance_nexus' where `map`=576;
UPDATE `instance_template` SET `script`='instance_nexus' WHERE `map`=576;
UPDATE creature_template set AIName = 'EventAI' where entry in (26796, 26798, 26929, 26928, 26930);
DELETE FROM `creature_ai_scripts` WHERE `creature_id` in (26796, 26798, 26929, 26928, 26930);
UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE entry IN (26796, 26798, 26929, 26928, 26930);
DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (26796, 26798, 26929, 26928, 26930);
INSERT INTO `creature_ai_scripts` VALUES
-- Commander Stoutbeard
( 2679600, 26796, 4, 0, 100, 4, 0, 0, 0, 0, 28, 0, 47543, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Stoutbeard - crystal prison remove'),
@@ -46,7 +46,8 @@ INSERT INTO `creature_ai_scripts` VALUES
( 2693004, 26930, 0, 0, 100, 5, 9000, 9000, 15000, 16000, 11, 56936, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Grand Magus Telestra frost - cast blizzard H');
-- Grand Magus Telestra
REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1576005 AND -1576000;
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
(-1576000,'You know what they say about curiosity.',13319,1,0,0,'grand magus telestra SAY_AGGRO'),
(-1576001,'Death becomes you!',13324,1,0,0,'grand magus telestra SAY_KILL'),
(-1576002,'Damn the... luck.',13320,1,0,0,'grand magus telestra SAY_DEATH'),
@@ -55,14 +56,16 @@ REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `langu
(-1576005,'I\'ll give you more than you can handle.',13322,1,0,0,'grand magus telestra SAY_SPLIT_2');
-- Anomalus
REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1576013 AND -1576010;
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
(-1576010,'Chaos beckons.',13186,1,0,0,'anomalus SAY_AGGRO'),
(-1576011,'Of course.',13187,1,0,0,'anomalus SAY_DEATH'),
(-1576012,'Reality... unwoven.',13188,1,0,0,'anomalus SAY_RIFT'),
(-1576013,'Indestructible.',13189,1,0,0,'anomalus SAY_SHIELD');
-- Ormorok the Tree-Shaper
REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1576024 AND -1576020;
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
(-1576020,'Noo!',13328,1,0,0,'ormorok SAY_AGGRO'),
(-1576021,'Aaggh!',13330,1,0,0,'ormorok SAY_DEATH'),
(-1576022,'Back!',13331,1,0,0,'ormorok SAY_REFLECT'),
@@ -70,10 +73,10 @@ REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `langu
(-1576024,'Aaggh! Kill!',13329,1,0,0,'ormorok SAY_KILL');
-- Keristrasza
REPLACE INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1576044 AND -1576040;
INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
(-1576040,'Preserve? Why? There\'s no truth in it. No no no... only in the taking! I see that now!',13450,1,0,0,'keristrasza SAY_AGGRO'),
(-1576041,'Now we\'ve come to the truth!',13453,1,0,0,'keristrasza SAY_SLAY'),
(-1576042,'Finish it! FINISH IT! Kill me, or I swear by the Dragonqueen you\'ll never see daylight again!',13452,1,0,0,'keristrasza SAY_ENRAGE'),
(-1576043,'Dragonqueen... Life-Binder... preserve... me.',13454,1,0,0,'keristrasza SAY_DEATH'),
(-1576044,'Stay. Enjoy your final moments.',13451,1,0,0,'keristrasza SAY_CRYSTAL_NOVA');
(-1576044,'Stay. Enjoy your final moments.',13451,1,0,0,'keristrasza SAY_CRYSTAL_NOVA');

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (18096, 18073);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(18096, 0x00, 5, 0x00000060, 0x00800080, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Pyroclasm (Rank 1)
(18073, 0x00, 5, 0x00000060, 0x00800080, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Pyroclasm (Rank 2)
(18073, 0x00, 5, 0x00000060, 0x00800080, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Pyroclasm (Rank 2)

View File

@@ -69,4 +69,4 @@ INSERT INTO `script_waypoint` VALUES
(2917, 41, 4671.924316, 599.752197, 16.01242, 5000, 'SAY_REM_REMEMBER'),
(2917, 42, 4676.976074, 600.649780, 17.82566, 5000, 'EMOTE_REM_END');
UPDATE `creature_template` SET `ScriptName` = 'npc_myranda_the_hag' WHERE `entry` = 11872;
UPDATE `creature_template` SET `ScriptName` = 'npc_myranda_the_hag' WHERE `entry` = 11872;

View File

@@ -1,4 +1,3 @@
CREATE TABLE `character_equipmentsets` (
`guid` int(11) NOT NULL default '0',
`setguid` bigint(20) NOT NULL auto_increment,
@@ -28,10 +27,8 @@ CREATE TABLE `character_equipmentsets` (
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
UPDATE characters SET data = REPLACE(data,' ',' ');
UPDATE characters SET data = CONCAT(TRIM(data),' ');
UPDATE `characters` SET `data` = CONCAT(
SUBSTRING_INDEX(`data`, ' ', 257 + 1), ' ',
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 1), ' ', -261 + 260 - 1), ' ',
@@ -62,6 +59,5 @@ UPDATE `characters` SET `data` = CONCAT(
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1700 + 1), ' ', -1700 + 1699 - 1), ' '
)
WHERE length(SUBSTRING_INDEX(data, ' ', 1700)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1701)) >= length(data);
UPDATE characters SET data = REPLACE(data,' ',' ');
UPDATE characters SET data = CONCAT(TRIM(data),' ');
UPDATE characters SET data = CONCAT(TRIM(data),' ');

View File

@@ -1,66 +1,66 @@
alter table `item_template`
drop column `dmg_type3`,
drop column `dmg_max3`,
drop column `dmg_min3`,
drop column `dmg_type4`,
drop column `dmg_max4`,
drop column `dmg_min4`,
drop column `dmg_type5`,
drop column `dmg_max5`,
drop column `dmg_min5`;
ALTER TABLE `item_template`
DROP COLUMN `dmg_type3`,
DROP COLUMN `dmg_max3`,
DROP COLUMN `dmg_min3`,
DROP COLUMN `dmg_type4`,
DROP COLUMN `dmg_max4`,
DROP COLUMN `dmg_min4`,
DROP COLUMN `dmg_type5`,
DROP COLUMN `dmg_max5`,
DROP COLUMN `dmg_min5`;
alter table `creature_template`
add column `unk1` int(11) UNSIGNED DEFAULT '0' NOT NULL after `heroic_entry`,
add column `unk2` int(11) UNSIGNED DEFAULT '0' NOT NULL after `unk1`,
add column `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL after `RacialLeader`,
add column `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem1`,
add column `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem2`,
add column `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem3`,
add column `movementId` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem4`;
ALTER TABLE `creature_template`
ADD COLUMN `unk1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `heroic_entry`,
ADD COLUMN `unk2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `unk1`,
ADD COLUMN `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `RacialLeader`,
ADD COLUMN `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem1`,
ADD COLUMN `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem2`,
ADD COLUMN `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem3`,
ADD COLUMN `movementId` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem4`;
alter table `item_template`
add column `HolidayId` int(11) UNSIGNED DEFAULT '0' NOT NULL after `ItemLimitCategory`;
ALTER TABLE `item_template`
ADD COLUMN `HolidayId` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `ItemLimitCategory`;
alter table `gameobject_template`
add column `unk1` varchar(100) NOT NULL default '' after `castBarCaption`,
add column `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL after `size`,
add column `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem1`,
add column `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem2`,
add column `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL after `questItem3`;
ALTER TABLE `gameobject_template`
ADD COLUMN `unk1` varchar(100) NOT NULL default '' AFTER `castBarCaption`,
ADD COLUMN `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `size`,
ADD COLUMN `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem1`,
ADD COLUMN `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem2`,
ADD COLUMN `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem3`;
DELETE FROM `spell_bonus_data` WHERE `entry` IN (18265);
/* Blackout removed */
DELETE FROM spell_proc_event WHERE entry IN (15268, 15269, 15323, 15324, 15325, 15326);
DELETE FROM `spell_proc_event` WHERE `entry` IN (15268, 15269, 15323, 15324, 15325, 15326);
/* Improved Wing Clip removed */
DELETE FROM spell_proc_event WHERE entry IN (19228, 19232, 19233);
DELETE FROM `spell_proc_event` WHERE `entry` IN (19228, 19232, 19233);
/* Shadow Mastery, not have charges now */
DELETE FROM spell_proc_event WHERE entry IN (17794,17797,17798,17799,17800);
DELETE FROM `spell_proc_event` WHERE `entry` IN (17794,17797,17798,17799,17800);
/* Lightning Overload have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (30680,30681);
DELETE FROM `spell_proc_event` WHERE `entry` IN (30680,30681);
/* Unleashed Rage have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (30806,30807,30810,30811);
DELETE FROM `spell_proc_event` WHERE `entry` IN (30806,30807,30810,30811);
/* Concussive Barrage have 2 ranks now, 1 dropped */
DELETE FROM spell_proc_event WHERE entry IN (35103);
DELETE FROM `spell_proc_event` WHERE `entry` IN (35103);
/* Demonic Empathy, removed */
DELETE FROM spell_proc_event WHERE entry IN (47232,47234,47235);
DELETE FROM `spell_proc_event` WHERE `entry` IN (47232,47234,47235);
/* Rapture have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (47538,47539);
DELETE FROM `spell_proc_event` WHERE `entry` IN (47538,47539);
/* Psychic Horror have 1 rank now, 1 dropped */
DELETE FROM spell_proc_event WHERE entry IN (47572);
DELETE FROM `spell_proc_event` WHERE `entry` IN (47572);
/* Sudden Doom have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (49531,49532);
DELETE FROM `spell_proc_event` WHERE `entry` IN (49531,49532);
/* Hunting Party have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (53293,53294);
DELETE FROM `spell_proc_event` WHERE `entry` IN (53293,53294);
/* Righteous Vengeance have 3 ranks now, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (53383,53384);
DELETE FROM `spell_proc_event` WHERE `entry` IN (53383,53384);
/* Night of the Dead not have charges now */
DELETE FROM spell_proc_event WHERE entry IN (55620,55623);
DELETE FROM `spell_proc_event` WHERE `entry` IN (55620,55623);
/* Pandemic have 1 rank, 2 dropped */
DELETE FROM spell_proc_event WHERE entry IN (58436,58437);
DELETE FROM `spell_proc_event` WHERE `entry` IN (58436,58437);
/* Improved Holy Concentration, removed */
DELETE FROM spell_proc_event WHERE entry IN (47549,47551,47552);
DELETE FROM `spell_proc_event` WHERE `entry` IN (47549,47551,47552);
/* Serendipity, replace by aanother spell ids */
DELETE FROM spell_proc_event WHERE entry IN (47555,47556,47557);
DELETE FROM `spell_proc_event` WHERE `entry` IN (47555,47556,47557);
/* T.N.T. non triggring now */
DELETE FROM spell_proc_event WHERE entry IN (56333,56336,56337);
DELETE FROM `spell_proc_event` WHERE `entry` IN (56333,56336,56337);

View File

@@ -2,4 +2,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (59088, 59089, 58388, 56374);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(59088, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Improved Spell Reflection
(59089, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Improved Spell Reflection
(56374, 0x00, 3, 0x00000000, 0x00004000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Glyph of icy veins
(56374, 0x00, 3, 0x00000000, 0x00004000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Glyph of icy veins

View File

@@ -5,4 +5,4 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (52610, -52610);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
( 52610, 62071, 0, 'Savage Roar'),
( -52610, -62071, 0, 'Savage Roar');
( -52610, -62071, 0, 'Savage Roar');

View File

@@ -1,3 +1,3 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (53397);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(53397, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Invigoration
(53397, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Invigoration

View File

@@ -1,3 +1,3 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (53646);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(53646, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Demonic Pact
(53646, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Demonic Pact

View File

@@ -2,4 +2,4 @@ DELETE FROM `spell_pet_auras` WHERE `spell` IN (18754, 18755, 18756);
INSERT INTO `spell_pet_auras` VALUES
(18754,65536,18754),
(18755,65536,18755),
(18756,65536,18756);
(18756,65536,18756);

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_bonus_data` where entry in (31893, 32221, 31898, 32220, 53719, 53718, 53726, 53725);
DELETE FROM `spell_bonus_data` WHERE entry IN (31893, 32221, 31898, 32220, 53719, 53718, 53726, 53725);
INSERT INTO `spell_bonus_data` VALUES
(31893, 0, 0, 0, "Paladin - Seal of Blood Proc Enemy"),
(32221, 0, 0, 0, "Paladin - Seal of Blood Proc Self"),
@@ -7,4 +7,4 @@ INSERT INTO `spell_bonus_data` VALUES
(53719, 0, 0, 0, "Paladin - Seal of the Martyr Proc Enemy"),
(53718, 0, 0, 0, "Paladin - Seal of the Martyr Proc Self"),
(53726, 0.25, 0, 0.16, "Paladin - Judgement of the Martyr Enemy"),
(53725, 0.0833, 0, 0.0533, "Paladin - Judgement of the Martyr Self");
(53725, 0.0833, 0, 0.0533, "Paladin - Judgement of the Martyr Self");

View File

@@ -1 +1 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (49531,49532);
DELETE FROM `spell_proc_event` WHERE `entry` IN (49531,49532);

View File

@@ -1,8 +1,4 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN
(28716, 31221, 31222, 31223, 31571, 31572, 31871, 31872, 44745, 61257,
59089, 59088, 58426, 57352, 57318, 56374, 56372, 56337, 56336,
56333, 54787, 53375, 53376, 47570, 47569, 47537, 47536, 47535, 63108);
DELETE FROM `spell_proc_event` WHERE `entry` IN (28716, 31221, 31222, 31223, 31571, 31572, 31871, 31872, 44745, 61257, 59089, 59088, 58426, 57352, 57318, 56374, 56372, 56337, 56336, 56333, 54787, 53375, 53376, 47570, 47569, 47537, 47536, 47535, 63108);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
( 28716, 0x00, 7, 0x00000010, 0x00000000, 0x00000000, 0x00044000, 0x00000000, 0, 0, 0), -- Rejuvenation
( 31221, 0x00, 8, 0x00400000, 0x00000000, 0x00000000, 0x00000400, 0x00006001, 0, 0, 0), -- Master of Subtlety (Rank 1)
@@ -27,4 +23,4 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
( 47535, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 1)
( 47536, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 2)
( 47537, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 3)
( 63108, 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Siphon Life
( 63108, 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Siphon Life

View File

@@ -4,4 +4,4 @@ INSERT INTO script_texts (entry,content_default,sound,type,language,emote,commen
(-1000408, '%s eats his lunch.',0,2,0,0,'kyle EMOTE_EAT_LUNCH'),
(-1000409, '%s thanks you with a special dance.',0,2,0,0,'kyle EMOTE_DANCE');
UPDATE creature_template SET ScriptName='npc_kyle_frenzied' WHERE entry=23616;
UPDATE `creature_template` SET `ScriptName`='npc_kyle_frenzied' WHERE `entry`=23616;

View File

@@ -2,4 +2,4 @@ DELETE FROM script_texts WHERE entry BETWEEN -1000342 AND -1000340;
INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
(-1000340, 'We made it! Thanks, $N. I couldn''t have gotten without you.', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_THANKS'),
(-1000341, 'It''s good to see you again, Erland. What is your report?', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_RANE'),
(-1000342, 'Masses of wolves are to the east, and whoever lived at Malden''s Orchard is gone.', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_ANSWER');
(-1000342, 'Masses of wolves are to the east, and whoever lived at Malden''s Orchard is gone.', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_ANSWER');

View File

@@ -25,4 +25,4 @@ INSERT INTO script_waypoint VALUES
(17969, 22, -524.745483, 5443.945313, 20.977013, 0, ''),
(17969, 23, -502.984985, 5446.283691, 22.149435, 0, ''),
(17969, 24, -472.463959, 5449.546875, 22.561453, 0, ''),
(17969, 25, -454.533264, 5461.302246, 22.602837, 30000, 'quest complete');
(17969, 25, -454.533264, 5461.302246, 22.602837, 30000, 'quest complete');

View File

@@ -1,10 +1,10 @@
UPDATE creature_template SET ScriptName='' WHERE entry=466;
UPDATE script_texts SET content_default='UNUSED', language=0, comment='REUSE ME' WHERE entry=-1000005;
UPDATE creature_template SET ScriptName='npc_aged_dying_ancient_kodo' WHERE entry IN (4700, 4701, 4702, 11627);
UPDATE `creature_template` SET `ScriptName`='npc_aged_dying_ancient_kodo' WHERE `entry` IN (4700,4701,4702,11627);
DELETE FROM script_texts WHERE entry BETWEEN -1000430 AND -1000428;
INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
(-1000428, 'Ah...the wondrous sound of kodos. I love the way they make the ground shake... inspect the beast for me.',0,0,0,0,'kodo round SAY_SMEED_HOME_1'),
(-1000429, 'Hey, look out with that kodo! You had better inspect that beast before i give you credit!',0,0,0,0,'kodo round SAY_SMEED_HOME_2'),
(-1000430, 'That kodo sure is a beauty. Wait a minute, where are my bifocals? Perhaps you should inspect the beast for me.',0,0,0,0,'kodo round SAY_SMEED_HOME_3');
(-1000430, 'That kodo sure is a beauty. Wait a minute, where are my bifocals? Perhaps you should inspect the beast for me.',0,0,0,0,'kodo round SAY_SMEED_HOME_3');

View File

@@ -1,4 +1,3 @@
DELETE FROM `spell_script_target` WHERE entry IN
(53110);
DELETE FROM `spell_script_target` WHERE entry IN(53110);
INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
(53110,1,28940);
(53110,1,28940);

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (51521, 51522);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
( 51521, 0x00, 11, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Improved Stormspike
( 51522, 0x00, 11, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Improved Stormspike
( 51522, 0x00, 11, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Improved Stormspike

View File

@@ -1 +1 @@
UPDATE creature_template SET ScriptName='npc_nestlewood_owlkin' WHERE entry=16518;
UPDATE `creature_template` SET `ScriptName`='npc_nestlewood_owlkin' WHERE `entry`=16518;

View File

@@ -2,4 +2,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (51698, 51700, 51701);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
( 51698, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1), -- Honor Among Thieves
( 51700, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1), -- Honor Among Thieves
( 51701, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1); -- Honor Among Thieves
( 51701, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1); -- Honor Among Thieves

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (51209, 50334);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
(51209, 55095, 1, 'Hungering cold - frost fever'),
(50334, 58923, 2, 'Berserk - modify target number aura');
(50334, 58923, 2, 'Berserk - modify target number aura');

View File

@@ -9,8 +9,7 @@ UPDATE npc_spellclick_spells
SET quest_end = quest_start, quest_start_active = 1
WHERE quest_start <> 0;
DELETE FROM `npc_spellclick_spells` WHERE `spell_id` IN (
54568, 54575, 52263, 52280, 52447);
DELETE FROM `npc_spellclick_spells` WHERE `spell_id` IN (54568, 54575, 52263, 52280, 52447);
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`) VALUES
(29488, 54568, 12670, 1, 0, 3), -- Taxi to Death's Breath
(29501, 54575, 12670, 1, 0, 3),
@@ -23,6 +22,8 @@ INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `qu
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (29912);
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`) VALUES
(29912, 55479, 0, 0, 0, 3); # Obedience Crystal - Force Obedience
(29912, 55479, 0, 0, 0, 3); -- Obedience Crystal - Force Obedience
REPLACE into `spell_target_position` values (51852, 609, 2361.21, -5660.45, 503.828, 4.49);
DELETE FROM `spell_target_position` WHERE `id`=51852;
INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
(51852, 609, 2361.21, -5660.45, 503.828, 4.49);

View File

@@ -2,4 +2,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (51483,51485,51486);
INSERT INTO `spell_proc_event` VALUES
(51483, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0),
(51485, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0),
(51486, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0);
(51486, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0);

View File

@@ -1,3 +1,3 @@
-- Razorfen Kraul
UPDATE `instance_template` SET `script` = 'instance_razorfen_kraul' WHERE `map` = '47' LIMIT 1;
UPDATE `creature_template` SET `ScriptName` = 'npc_deaths_head_ward_keeper' WHERE `entry` = '4625' LIMIT 1;
UPDATE `creature_template` SET `ScriptName` = 'npc_deaths_head_ward_keeper' WHERE `entry` = '4625' LIMIT 1;

View File

@@ -6,4 +6,4 @@ INSERT INTO `spell_proc_event` VALUES
( 64976, 0x00, 4, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Juggernaut
( 64343, 0x00, 3, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Impact
( 63158, 0x00, 5, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Decimation
( 63156, 0x00, 5, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Decimation
( 63156, 0x00, 5, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Decimation

View File

@@ -12,4 +12,4 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comm
(57482,57484,2,'Kindred Spirits'),
(57453,57483,2,'Kindred Spirits'),
(57457,57482,2,'Kindred Spirits'),
(57458,57475,2,'Kindred Spirits');
(57458,57475,2,'Kindred Spirits');

View File

@@ -4,4 +4,4 @@ UPDATE IGNORE character_spell
SET spell = 64901
WHERE spell = 64904;
DELETE FROM character_spell WHERE spell = 64904;
DELETE FROM character_spell WHERE spell = 64904;

View File

@@ -2,4 +2,4 @@
UPDATE character_action
SET action = 64901
WHERE action = 64904 AND type = '0';
WHERE action = 64904 AND type = '0';

View File

@@ -1,3 +1,3 @@
-- ALTER TABLE db_version CHANGE COLUMN required_8021_01_mangos_spell_proc_event required_8030_03_mangos_npc_trainer bit;
DELETE FROM npc_trainer WHERE spell = 64904;
DELETE FROM npc_trainer WHERE spell = 64904;

View File

@@ -3,4 +3,4 @@ UPDATE creature_template SET ScriptName='boss_leotheras_the_blind_demonform' WHE
UPDATE script_texts SET content_default='Finally, my banishment ends!' WHERE entry=-1548009;
UPDATE script_texts SET content_default='Be gone, trifling elf. I am in control now!' WHERE entry=-1548010;
UPDATE script_texts SET content_default='No... no! What have you done? I am the master! Do you hear me? I am... aaggh! Can\'t... contain him...' WHERE entry=-1548018;
UPDATE script_texts SET content_default='No... no! What have you done? I am the master! Do you hear me? I am... aaggh! Can\'t... contain him...' WHERE entry=-1548018;

View File

@@ -1 +1 @@
UPDATE creature_template SET ScriptName='npc_air_force_bots' WHERE entry IN (2614, 2615, 21974, 21993, 21996, 21997, 21999, 22001, 22002, 22003, 22063, 22065, 22066, 22068, 22069, 22070, 22071, 22078, 22079, 22080, 22086, 22087, 22088, 22090, 22124, 22125, 22126);
UPDATE creature_template SET ScriptName='npc_air_force_bots' WHERE entry IN (2614, 2615, 21974, 21993, 21996, 21997, 21999, 22001, 22002, 22003, 22063, 22065, 22066, 22068, 22069, 22070, 22071, 22078, 22079, 22080, 22086, 22087, 22088, 22090, 22124, 22125, 22126);

View File

@@ -11,4 +11,4 @@ INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `conte
DELETE FROM `command` WHERE `name` = 'lookup map';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('lookup map', 3, 'Syntax: .lookup map $namepart\r\n\r\nLooks up a map by $namepart, and returns all matches with their map ID''s.');
('lookup map', 3, 'Syntax: .lookup map $namepart\r\n\r\nLooks up a map by $namepart, and returns all matches with their map ID''s.');

View File

@@ -1 +1 @@
UPDATE instance_template SET script='instance_blackfathom_deeps' WHERE map=48;
UPDATE `instance_template` SET `script`='instance_blackfathom_deeps' WHERE `map`=48;

View File

@@ -1,2 +1,2 @@
UPDATE `trinity_string` SET `content_default` = '[Raid reset time: %s]' WHERE `entry` = 5017;
UPDATE `trinity_string` SET `content_default` = '[Heroic reset time: %s]' WHERE `entry` = 5018;
UPDATE `trinity_string` SET `content_default` = '[Heroic reset time: %s]' WHERE `entry` = 5018;

View File

@@ -10,4 +10,4 @@ INSERT INTO spell_pet_auras VALUES
(56317, 1, 0, 57482),
(56318, 0, 0, 57458),
(56318, 1, 0, 57475);
DELETE FROM spell_linked_spell where `spell_trigger` in (57447,57482,57453, 57457, 57458);
DELETE FROM spell_linked_spell where `spell_trigger` in (57447,57482,57453, 57457, 57458);

View File

@@ -6,4 +6,4 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-5229);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
( -5229, -51185, 0, 'King of the Jungle - remove with enrage');
( -5229, -51185, 0, 'King of the Jungle - remove with enrage');

View File

@@ -1,4 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry`='17962';
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
('17962', '0', '0', '0', 'Warlock - Conflagrate');
('17962', '0', '0', '0', 'Warlock - Conflagrate');

View File

@@ -15,4 +15,4 @@ INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content
(-1609013, 'There is no hope for our future...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_6'),
(-1609014, 'Sate your hunger on cold steel\, $R', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_7'),
(-1609015, 'It ends here!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_8'),
(-1609016, 'Death is the only cure!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_9');
(-1609016, 'Death is the only cure!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_9');

View File

@@ -1,9 +1,8 @@
# 1588
DELETE FROM `trinity_string` WHERE `entry` IN(301, 300);
DELETE FROM `trinity_string` WHERE `entry` IN (300, 301);
INSERT INTO `trinity_string` (`entry`, `content_default`)VALUES
('300', 'Your chat has been disabled for %u minutes. Reason: %s.'),
('301', 'You have disabled %s\'s chat for %u minutes. Reason: %s.');
DELETE FROM `command` WHERE `name` = 'mute';
INSERT INTO `command` (`name`, `security`, `help`) VALUES
('mute', 1 ,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.');
('mute', 1 ,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.');

View File

@@ -11,4 +11,4 @@ REPLACE INTO gameobject_template VALUES (180102,6,266,"Neutral Banner Aura","","
REPLACE INTO gameobject_template VALUES (180101,6,1311,"Horde Banner Aura","","","",0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
REPLACE INTO gameobject_template VALUES (180421,6,2232,"Alliance Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
REPLACE INTO gameobject_template VALUES (180423,6,266,"Neutral Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
REPLACE INTO gameobject_template VALUES (180422,6,1311,"Horde Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
REPLACE INTO gameobject_template VALUES (180422,6,1311,"Horde Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");

View File

@@ -7,4 +7,4 @@ ADD xp INT UNSIGNED NOT NULL default '0' AFTER level,
ADD money INT UNSIGNED NOT NULL default '0' AFTER xp,
ADD playerBytes INT UNSIGNED NOT NULL default '0' AFTER money,
ADD playerBytes2 INT UNSIGNED NOT NULL default '0' AFTER playerBytes,
ADD playerFlags INT UNSIGNED NOT NULL default '0' AFTER playerBytes2;
ADD playerFlags INT UNSIGNED NOT NULL default '0' AFTER playerBytes2;

View File

@@ -8,4 +8,4 @@ money = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 1145), ' ', -1) AS UNSIG
playerBytes = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 154), ' ', -1) AS UNSIGNED),
playerBytes2 = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 155), ' ', -1) AS UNSIGNED),
playerFlags = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 151), ' ', -1) AS UNSIGNED)
WHERE LENGTH(SUBSTRING_INDEX(data, ' ', 1294)) < LENGTH(data) && LENGTH(data) <= LENGTH(SUBSTRING_INDEX(data, ' ', 1295));
WHERE LENGTH(SUBSTRING_INDEX(data, ' ', 1294)) < LENGTH(data) && LENGTH(data) <= LENGTH(SUBSTRING_INDEX(data, ' ', 1295));

View File

@@ -1,4 +1,4 @@
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (16857);
DELETE FROM `spell_bonus_data` WHERE `entry` IN (60089);
INSERT INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
(60089, 0, 0, 0.05, 'Faerie Fire (feral)');
(60089, 0, 0, 0.05, 'Faerie Fire (feral)');

View File

@@ -1,3 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187);
INSERT INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
(20187, 0.32, 0, 0.2, 'Judgement of Righteousness');
(20187, 0.4, 0, 0.25, 'Judgement of Righteousness');