Added sql files, no longer need to get them from Trinity Core.

This commit is contained in:
hondacrx
2017-11-22 13:14:38 -05:00
parent 0909720464
commit 65fbebb12f
11507 changed files with 6456329 additions and 10 deletions
@@ -0,0 +1,2 @@
-- Fix speed of oculus drakes
UPDATE `creature_template_addon` SET `auras`='50325' WHERE `entry` IN (27755,27692,27756);
@@ -0,0 +1 @@
UPDATE `gameobject_template` SET `scriptName` = 'go_ethereal_teleport_pad' WHERE `entry` = 184073; -- Update Ethereal Teleport Pad scriptname
@@ -0,0 +1,3 @@
UPDATE `realmlist` SET `gamebuild`=12340 WHERE `id`=1;
ALTER TABLE `realmlist` CHANGE COLUMN `gamebuild` `gamebuild` int(11) unsigned NOT NULL default '12340';
@@ -0,0 +1,4 @@
ALTER TABLE `characters`
ADD COLUMN `deleteInfos_Account` int(11) UNSIGNED default NULL AFTER actionBars,
ADD COLUMN `deleteInfos_Name` varchar(12) default NULL AFTER deleteInfos_Account,
ADD COLUMN `deleteDate` bigint(20) default NULL AFTER deleteInfos_Name;
@@ -0,0 +1,2 @@
DELETE FROM `worldstates` WHERE `entry`=20004;
INSERT INTO `worldstates` (`entry`,`value`,`comment`) VALUES (20004,0, 'cleaning_flags');
@@ -0,0 +1,3 @@
ALTER TABLE `spell_dbc`
ADD COLUMN `Stances` int(10) unsigned NOT NULL DEFAULT '0' AFTER `AttributesEx5`,
ADD COLUMN `StancesNot` int(10) unsigned NOT NULL DEFAULT '0' AFTER `Stances`;
@@ -0,0 +1,2 @@
UPDATE `spell_dbc` SET `Stances`=0x90 WHERE `Id`=24899;
UPDATE `spell_dbc` SET `Stances`=0x1 WHERE `Id`=24900;
@@ -0,0 +1,5 @@
-- Restore negative ExtendedCost, we now use FlagsExtra value instead
UPDATE `npc_vendor` SET `ExtendedCost`=-`ExtendedCost` WHERE `ExtendedCost`<0;
-- Set field type to unsigned
ALTER TABLE npc_vendor CHANGE COLUMN `ExtendedCost` `ExtendedCost` mediumint(8) UNSIGNED NOT NULL default '0' COMMENT '';
@@ -0,0 +1,2 @@
-- UPDATE so we don't kill customized locale strings if user has any
UPDATE `trinity_string` SET `content_default`='Item ''%u'' (with extended cost %u) already in vendor list.' WHERE `entry`=210;
@@ -0,0 +1,3 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN(67758);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(67758,0,0,0,0,0,0,2,0,0,2);
@@ -0,0 +1,7 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (47201,47202,47203,47204,47205);
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(47201,0,5,0x00004009,0x00040000,0x00000000,0x00000000,0x0000000,0,0,0),
(47202,0,5,0x00004009,0x00040000,0x00000000,0x00000000,0x0000000,0,0,0),
(47203,0,5,0x00004009,0x00040000,0x00000000,0x00000000,0x0000000,0,0,0),
(47204,0,5,0x00004009,0x00040000,0x00000000,0x00000000,0x0000000,0,0,0),
(47205,0,5,0x00004009,0x00040000,0x00000000,0x00000000,0x0000000,0,0,0);
@@ -0,0 +1,5 @@
-- UPDATE so we don't kill customized locale strings if user has any
UPDATE `trinity_string` SET `content_default`='The old password is wrong' WHERE `entry`=27;
-- INSERT as this string has not been used before
DELETE FROM `trinity_string` WHERE `entry`=62;
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (62, 'One on more parameters have incorrect values', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -0,0 +1,4 @@
-- Add serverside spells place holders for future development
DELETE FROM `spell_dbc` WHERE `Id` IN (70878);
INSERT INTO `spell_dbc` (`Id`,`Comment`) VALUES
(70878, 'Creature 40160 creature_addon serverside spell');
@@ -0,0 +1,4 @@
-- For quest: Truce?
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=50141;
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
(50141,50001,0, 'Blood Oath to Blood Oath Aura');
@@ -0,0 +1 @@
UPDATE `spell_dbc` SET `Effect1`=6,`EffectApplyAuraName1`=4 WHERE `Id` IN (70878);
@@ -0,0 +1,6 @@
DELETE FROM `spell_group` WHERE `id` = 1103;
-- Cast Speed Slow
INSERT INTO `spell_group` (`id`,`spell_id`) VALUES
(1103,-1100),
(1103,-1101),
(1103,-1102);
@@ -0,0 +1,3 @@
DELETE FROM `command` WHERE `name` IN ('reload disables','reload spell_disabled','instance open','instance close');
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('reload disables',3,'Syntax: .reload disables\r\nReload disables table.');
@@ -0,0 +1,28 @@
-- Step 1: prepare table
DROP TABLE IF EXISTS `disables`;
CREATE TABLE `disables` (
`sourceType` int(10) unsigned NOT NULL,
`entry` int(10) unsigned NOT NULL,
`flags` tinyint(3) unsigned NOT NULL default '0',
`comment` varchar(255) character set utf8 NOT NULL default '',
PRIMARY KEY (`sourceType`,`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Step 2: pull data
-- a) spells
INSERT INTO `disables` SELECT 0,`entry`,`disable_mask`,`comment` FROM `spell_disabled`;
-- b) maps (areatriggers)
-- don't convert
-- c) battlegrounds
INSERT INTO `disables` SELECT 3,`id`,0,'' FROM `battleground_template` WHERE `disable`=1;
-- d) achievement criteria data
INSERT INTO `disables` SELECT 4,`criteria_id`,0,'' FROM `achievement_criteria_data` WHERE `type`=11;
-- Step 3: drop old fields/tables/data
DROP TABLE IF EXISTS `spell_disabled`;
ALTER TABLE `access_requirement` DROP `status`;
ALTER TABLE `battleground_template` DROP `disable`;
DELETE FROM `achievement_criteria_data` WHERE `type`=11;
@@ -0,0 +1,2 @@
-- Fix engrish in strings
UPDATE `trinity_string` SET `content_default`='This Battleground has been disabled. You can''t join the queue.' WHERE `entry`=747;
@@ -0,0 +1,7 @@
DELETE FROM command WHERE name IN ('character delete', 'character deleted list', 'character deleted restore', 'character deleted delete', 'character deleted old', 'character erase');
INSERT INTO command (name, security, help) VALUES
('character erase',4,'Syntax: .character erase $name\r\n\r\nDelete character $name. Character finally deleted in case any deleting options.'),
('character deleted delete', 4, 'Syntax: .character deleted delete #guid|$name\r\n\r\nCompletely deletes the selected characters.\r\nIf $name is supplied, only characters with that string in their name will be deleted, if #guid is supplied, only the character with that GUID will be deleted.'),
('character deleted list', 3, 'Syntax: .character deleted list [#guid|$name]\r\n\r\nShows a list with all deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be selected, if #guid is supplied, only the character with that GUID will be selected.'),
('character deleted old', 4, 'Syntax: .character deleted old [#keepDays]\r\n\r\nCompletely deletes all characters with deleted time longer #keepDays. If #keepDays not provided the used value from mangosd.conf option ''CharDelete.KeepDays''. If referenced config option disabled (use 0 value) then command can''t be used without #keepDays.'),
('character deleted restore', 3, 'Syntax: .character deleted restore #guid|$name [$newname] [#new account]\r\n\r\nRestores deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be restored, if $guid is supplied, only the character with that GUID will be restored.\r\nIf $newname is set, the character will be restored with that name instead of the original one. If #newaccount is set, the character will be restored to specific account character list. This works only with one character!');
@@ -0,0 +1,13 @@
DELETE FROM trinity_string WHERE entry IN (1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026);
INSERT INTO trinity_string VALUES
(1016, '| GUID | Name | Account | Delete Date |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1017, '| %10u | %20s | %15s (%10u) | %19s |', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1018, '==========================================================================================', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1019, 'No characters found.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1020, 'Restoring the following characters:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1021, 'Deleting the following characters:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1022, 'ERROR: You can only assign a new name if you have only selected a single character!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1023, 'Character ''%s'' (GUID: %u Account %u) can''t be restored: account not exist!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1024, 'Character ''%s'' (GUID: %u Account %u) can''t be restored: account character list full!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1025, 'Character ''%s'' (GUID: %u Account %u) can''t be restored: new name already used!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(1026, 'GUID: %u Name: %s Account: %s (%u) Date: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -0,0 +1,4 @@
-- Add serverside spells place holders for future development
DELETE FROM `spell_dbc` WHERE `Id` IN (38406);
INSERT INTO `spell_dbc` (`Id`,`Comment`) VALUES
(38406, 'Quest 10721 RewSpellCast serverside spell');
@@ -0,0 +1,2 @@
ALTER TABLE `playercreateinfo`
ADD COLUMN `orientation` float NOT NULL DEFAULT 0 AFTER `position_z`;
@@ -0,0 +1,6 @@
UPDATE `playercreateinfo` SET `orientation`=5.696318 WHERE `race`=4 AND `class`<>6;
UPDATE `playercreateinfo` SET `orientation`=6.177156 WHERE `race`=3 AND `class`<>6;
UPDATE `playercreateinfo` SET `orientation`=2.70526 WHERE `race`=5 AND `class`<>6;
UPDATE `playercreateinfo` SET `orientation`=5.316046 WHERE `race`=10 AND `class`<>6;
UPDATE `playercreateinfo` SET `orientation`=2.083644 WHERE `race`=11 AND `class`<>6;
UPDATE `playercreateinfo` SET `orientation`=3.659973 WHERE `class`=6;
@@ -0,0 +1 @@
ALTER TABLE `account` ADD COLUMN `recruiter` int(11) NOT NULL default '0' AFTER `locale`;
@@ -0,0 +1 @@
ALTER TABLE `characters` CHANGE `dungeon_difficulty` `instance_mode_mask` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 AFTER `instance_id`;
@@ -0,0 +1,93 @@
-- Add new fields
ALTER TABLE `item_instance`
ADD `creatorGuid` int(10) unsigned NOT NULL default '0' AFTER `owner_guid`,
ADD `giftCreatorGuid` int(10) unsigned NOT NULL default '0' AFTER `creatorGuid`,
ADD `count` int(10) unsigned NOT NULL default '1' AFTER `giftCreatorGuid`,
ADD `duration` int(10) unsigned NOT NULL AFTER `count`,
ADD `charges` text NOT NULL AFTER `duration`,
ADD `flags` int(10) unsigned NOT NULL default '0' AFTER `charges`,
ADD `enchantments` text NOT NULL AFTER `flags`,
ADD `randomPropertyId` int(11) NOT NULL default '0' AFTER `enchantments`,
ADD `durability` int(10) unsigned NOT NULL default '0' AFTER `randomPropertyId`,
ADD `playedTime` int(10) unsigned NOT NULL default '0' AFTER `durability`;
-- Temporarily change delimiter to prevent SQL syntax errors
DELIMITER ||
-- Function to convert ints from unsigned to signed
DROP FUNCTION IF EXISTS `uint32toint32`||
CREATE FUNCTION `uint32toint32`(input INT(10) UNSIGNED) RETURNS INT(11) SIGNED DETERMINISTIC
BEGIN
RETURN input;
END||
-- Restore original delimiter
DELIMITER ;
-- Move data to new fields
UPDATE `item_instance` SET
`creatorGuid` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',10))+2,
length(SUBSTRING_INDEX(`data`,' ',10+1))-length(SUBSTRING_INDEX(data,' ',10))-1),
`giftCreatorGuid` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',12))+2,
length(SUBSTRING_INDEX(`data`,' ',12+1))-length(SUBSTRING_INDEX(data,' ',12))-1),
`count` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',14))+2,
length(SUBSTRING_INDEX(`data`,' ',14+1))-length(SUBSTRING_INDEX(data,' ',14))-1),
`duration` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',15))+2,
length(SUBSTRING_INDEX(`data`,' ',15+1))-length(SUBSTRING_INDEX(data,' ',15))-1),
`charges` = CONCAT_WS(' ',
uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',16))+2,
length(SUBSTRING_INDEX(`data`,' ',16+1))-length(SUBSTRING_INDEX(data,' ',16))-1)),
uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',17))+2,
length(SUBSTRING_INDEX(`data`,' ',17+1))-length(SUBSTRING_INDEX(data,' ',17))-1)),
uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',18))+2,
length(SUBSTRING_INDEX(`data`,' ',18+1))-length(SUBSTRING_INDEX(data,' ',18))-1)),
uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',19))+2,
length(SUBSTRING_INDEX(`data`,' ',19+1))-length(SUBSTRING_INDEX(data,' ',19))-1)),
uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',20))+2,
length(SUBSTRING_INDEX(`data`,' ',20+1))-length(SUBSTRING_INDEX(data,' ',20))-1))),
`flags` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',21))+2,
length(SUBSTRING_INDEX(`data`,' ',21+1))-length(SUBSTRING_INDEX(data,' ',21))-1),
`enchantments` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',22))+2,
length(SUBSTRING_INDEX(`data`,' ',57+1))-length(SUBSTRING_INDEX(data,' ',22))-1),
`randomPropertyId` = uint32toint32(SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',59))+2,
length(SUBSTRING_INDEX(`data`,' ',59+1))-length(SUBSTRING_INDEX(data,' ',59))-1)),
`durability` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',60))+2,
length(SUBSTRING_INDEX(`data`,' ',60+1))-length(SUBSTRING_INDEX(data,' ',60))-1),
`playedTime` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',62))+2,
length(SUBSTRING_INDEX(`data`,' ',62+1))-length(SUBSTRING_INDEX(data,' ',62))-1);
-- Drop function
DROP FUNCTION IF EXISTS `uint32toint32`;
-- Fix heroic item flag
UPDATE `item_instance` SET `flags`=`flags`&~0x8 WHERE
SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',3))+2,
length(SUBSTRING_INDEX(`data`,' ',3+1))-length(SUBSTRING_INDEX(data,' ',3))-1)
NOT IN (5043,5044,17302,17305,17308,21831);
-- Drop old field
ALTER TABLE `item_instance` DROP `data`;
@@ -0,0 +1,39 @@
ALTER TABLE `corpse`
ADD COLUMN `displayId` int(10) unsigned NOT NULL default '0' AFTER `phaseMask`,
ADD COLUMN `itemCache` text NOT NULL AFTER `displayId`,
ADD COLUMN `bytes1` int(10) unsigned NOT NULL default '0' AFTER `itemCache`,
ADD COLUMN `bytes2` int(10) unsigned NOT NULL default '0' AFTER `bytes1`,
ADD COLUMN `guild` int(10) unsigned NOT NULL default '0' AFTER `bytes2`,
ADD COLUMN `flags` int(10) unsigned NOT NULL default '0' AFTER `guild`,
ADD COLUMN `dynFlags` int(10) unsigned NOT NULL default '0' AFTER `flags`;
UPDATE `corpse` SET
`displayId` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',10))+2,
length(SUBSTRING_INDEX(`data`,' ',10+1))-length(SUBSTRING_INDEX(data,' ',10))-1),
`itemCache` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',11))+2,
length(SUBSTRING_INDEX(`data`,' ',29+1))-length(SUBSTRING_INDEX(data,' ',11))-1),
`bytes1` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',30))+2,
length(SUBSTRING_INDEX(`data`,' ',30+1))-length(SUBSTRING_INDEX(data,' ',30))-1),
`bytes2` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',31))+2,
length(SUBSTRING_INDEX(`data`,' ',31+1))-length(SUBSTRING_INDEX(data,' ',31))-1),
`guild` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',32))+2,
length(SUBSTRING_INDEX(`data`,' ',32+1))-length(SUBSTRING_INDEX(data,' ',32))-1),
`flags` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',33))+2,
length(SUBSTRING_INDEX(`data`,' ',33+1))-length(SUBSTRING_INDEX(data,' ',33))-1),
`dynFlags` = SUBSTRING(`data`,
length(SUBSTRING_INDEX(`data`,' ',34))+2,
length(SUBSTRING_INDEX(`data`,' ',34+1))-length(SUBSTRING_INDEX(data,' ',34))-1);
ALTER TABLE `corpse` DROP `data`;
@@ -0,0 +1,3 @@
SET @allowedFlags := 0x00000001 | 0x00000008 | 0x00000200 | 0x00001000 | 0x00008000 | 0x00010000;
UPDATE `item_instance` SET `flags` = (`flags` & @allowedFlags);
@@ -0,0 +1,2 @@
DELETE FROM character_achievement WHERE `achievement` IN (3812,3916,3917,3918,3799,3797,3813,3814,3798,3815,3996,3997,3800,3816,3937,3936,3817,3818,3819,3808,3809,3810,4078,4079,4156,4080);
DELETE FROM character_achievement_progress WHERE `criteria` IN (11542,11546,11547,11549,11678,11679,11680,11681,11682,11683,11684,11685,11686,11687,11688,11689,11690,11691,11692,11693,11778,11779,11780,11799,11800,11801,11802,11803,11804,11818,11838,11839,11860,11861,11862,12116,12198,12258,12278,12279,12280,12281,12338,12339,12340,12341,12342,12343,12344,12345,12346,12347,12348,12349,12350,12358,12359,12360);
@@ -0,0 +1,2 @@
ALTER TABLE `arena_team_member`
DROP COLUMN `personal_rating`;
@@ -0,0 +1 @@
UPDATE `arena_team_stats` SET `rating`=0;
@@ -0,0 +1,7 @@
CREATE TABLE `character_arena_stats` (
`guid` int(10) NOT NULL ,
`slot` smallint(1) NOT NULL ,
`personal_rating` int(10) NOT NULL ,
`matchmaker_rating` int(10) NOT NULL ,
PRIMARY KEY (`guid`, `slot`)
);
@@ -0,0 +1,8 @@
DROP TABLE IF EXISTS `gm_subsurveys`;
CREATE TABLE `gm_subsurveys` (
`surveyid` int(10) NOT NULL auto_increment,
`subsurveyid` int(11) UNSIGNED NOT NULL DEFAULT '0',
`rank` int(11) UNSIGNED NOT NULL DEFAULT '0',
`comment` longtext NOT NULL,
PRIMARY KEY (`surveyid`,`subsurveyid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
@@ -0,0 +1,9 @@
DROP TABLE IF EXISTS `gm_surveys`;
CREATE TABLE `gm_surveys` (
`surveyid` int(10) NOT NULL auto_increment,
`player` int(11) UNSIGNED NOT NULL DEFAULT '0',
`mainSurvey` int(11) UNSIGNED NOT NULL DEFAULT '0',
`overall_comment` longtext NOT NULL,
`timestamp` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`surveyid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
@@ -0,0 +1,3 @@
ALTER TABLE `gm_tickets` ADD COLUMN `completed` int(11) NOT NULL DEFAULT '0' AFTER `comment`;
ALTER TABLE `gm_tickets` ADD COLUMN `escalated` int(11) NOT NULL DEFAULT '0' AFTER `completed`;
ALTER TABLE `gm_tickets` ADD COLUMN `viewed` int(11) NOT NULL DEFAULT '0' AFTER `escalated`;
@@ -0,0 +1,11 @@
DROP TABLE IF EXISTS `lag_reports`;
CREATE TABLE `lag_reports` (
`report_id` int(10) NOT NULL auto_increment,
`player` int(11) UNSIGNED NOT NULL DEFAULT '0',
`lag_type` int(10) NOT NULL DEFAULT '0',
`map` int(11) NOT NULL DEFAULT '0',
`posX` float NOT NULL default '0',
`posY` float NOT NULL default '0',
`posZ` float NOT NULL default '0',
PRIMARY KEY (`report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
@@ -0,0 +1,4 @@
-- Set the correct engine
ALTER TABLE `bugreport` ENGINE=InnoDB;
ALTER TABLE `channels` ENGINE=InnoDB;
@@ -0,0 +1,2 @@
DROP TABLE `auctionhousebot`;
@@ -0,0 +1,4 @@
ALTER TABLE `game_event_save` ADD `next_start_timestamp` BIGINT(11) UNSIGNED NOT NULL DEFAULT '0';
UPDATE `game_event_save` SET `next_start_timestamp` = UNIX_TIMESTAMP(`next_start`);
ALTER TABLE `game_event_save` DROP `next_start`;
ALTER TABLE `game_event_save` CHANGE `next_start_timestamp` `next_start` BIGINT(11) UNSIGNED NOT NULL DEFAULT '0';
@@ -0,0 +1 @@
ALTER TABLE `groups` ADD INDEX ( `leaderGuid` );
@@ -0,0 +1 @@
ALTER TABLE `instance` ADD INDEX ( `difficulty` );
@@ -0,0 +1 @@
ALTER TABLE `instance_reset` ADD INDEX ( `difficulty` );
@@ -0,0 +1,2 @@
DELETE FROM spell_bonus_data WHERE entry IN (15407,58381);
INSERT INTO spell_bonus_data VALUES (58381,0.257,-1,-1,-1,'Priest - Mind Flay');
@@ -0,0 +1 @@
UPDATE `spell_group` SET `spell_id` = 46856 WHERE `id` = 1032;
@@ -0,0 +1,2 @@
DELETE FROM `trinity_string` WHERE (`entry`='5028');
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES ('5028', 'Lootid: %u');
@@ -0,0 +1 @@
ALTER TABLE `spell_scripts` ADD COLUMN `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `id`;
@@ -0,0 +1,6 @@
DROP TABLE IF EXISTS `spell_script_names`;
CREATE TABLE `spell_script_names` (
`spell_id` int(11) NOT NULL,
`ScriptName` char(64) NOT NULL,
UNIQUE (`spell_id`, `ScriptName`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@@ -0,0 +1,7 @@
-- script texts
DELETE FROM `script_texts` WHERE `npc_entry` IN (7607,7604);
INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
(7607,-1209000, 'Oh no! Here they come!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0, 'Weegli Blastfuse SAY_WEEGLI_OHNO'),
(7607,-1209001, 'OK. Here I go.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0 ,'Weegli Blastfuse SAY_WEEGLI_OK_I_GO'),
(7604,-1209002, 'Placeholder 1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0, 'Sergeant Bly SAY_1'),
(7604,-1209003, 'Placeholder 2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,0, 'Sergeant Bly SAY_2');
@@ -0,0 +1,2 @@
-- script names
UPDATE `gameobject_template` SET `scriptName`='go_troll_cage' WHERE `entry`>=141070 AND `entry`<141075;
@@ -0,0 +1,8 @@
DROP TABLE IF EXISTS `reputation_reward_rate`;
CREATE TABLE `reputation_reward_rate` (
`faction` mediumint(8) unsigned NOT NULL default '0',
`quest_rate` float NOT NULL default '1',
`creature_rate` float NOT NULL default '1',
`spell_rate` float NOT NULL default '1',
PRIMARY KEY (`faction`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@@ -0,0 +1,17 @@
DROP TABLE IF EXISTS `reputation_spillover_template`;
CREATE TABLE `reputation_spillover_template` (
`faction` smallint(6) unsigned NOT NULL default '0' COMMENT 'faction entry',
`faction1` smallint(6) unsigned NOT NULL default '0' COMMENT 'faction to give spillover for',
`rate_1` float NOT NULL default '0' COMMENT 'the given rep points * rate',
`rank_1` tinyint(3) unsigned NOT NULL default '0' COMMENT 'max rank, above this will not give any spillover',
`faction2` smallint(6) unsigned NOT NULL default '0',
`rate_2` float NOT NULL default '0',
`rank_2` tinyint(3) unsigned NOT NULL default '0',
`faction3` smallint(6) unsigned NOT NULL default '0',
`rate_3` float NOT NULL default '0',
`rank_3` tinyint(3) unsigned NOT NULL default '0',
`faction4` smallint(6) unsigned NOT NULL default '0',
`rate_4` float NOT NULL default '0',
`rank_4` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`faction`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain';
@@ -0,0 +1,7 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=11958 AND `ScriptName`='spell_mage_cold_snap';
DELETE FROM `spell_script_names` WHERE `spell_id`=32826 AND `ScriptName`='spell_mage_polymorph_visual';
DELETE FROM `spell_script_names` WHERE `spell_id`=31687 AND `ScriptName`='spell_mage_summon_water_elemental';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(11958,'spell_mage_cold_snap'),
(32826,'spell_mage_polymorph_visual'),
(31687,'spell_mage_summon_water_elemental');
@@ -0,0 +1,11 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=-47540 AND `ScriptName`='spell_pri_penance';
DELETE FROM `spell_script_names` WHERE `spell_id`=31231 AND `ScriptName`='spell_rog_cheat_death';
DELETE FROM `spell_script_names` WHERE `spell_id`=51662 AND `ScriptName`='spell_rog_hunger_for_blood';
DELETE FROM `spell_script_names` WHERE `spell_id`=14185 AND `ScriptName`='spell_rog_preparation';
DELETE FROM `spell_script_names` WHERE `spell_id`=5938 AND `ScriptName`='spell_rog_shiv';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(-47540,'spell_pri_penance'),
(31231,'spell_rog_cheat_death'),
(51662,'spell_rog_hunger_for_blood'),
(14185,'spell_rog_preparation'),
(5938,'spell_rog_shiv');
@@ -0,0 +1,7 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=53271 AND `ScriptName`='spell_hun_masters_call';
DELETE FROM `spell_script_names` WHERE `spell_id`=53478 AND `ScriptName`='spell_hun_last_stand_pet';
DELETE FROM `spell_script_names` WHERE `spell_id`=23989 AND `ScriptName`='spell_hun_readiness';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(53271,'spell_hun_masters_call'),
(53478,'spell_hun_last_stand_pet'),
(23989,'spell_hun_readiness');
@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry`=33778;
INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`ap_dot_bonus`,`comments`) VALUES
(33778,0.589714,0,0,0, 'Druid - Lifebloom final heal');
@@ -0,0 +1 @@
UPDATE creature_template SET scriptname = 'npc_roxi_ramrocket' WHERE entry = 31247;
@@ -0,0 +1 @@
UPDATE `trinity_string` SET `content_default`='[SERVER] %s' WHERE `entry`=3;
@@ -0,0 +1,12 @@
ALTER TABLE `access_requirement`
DROP PRIMARY KEY,
CHANGE `id` `mapId` mediumint(8) unsigned NOT NULL FIRST,
ADD `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `mapId`,
DROP `heroic_level_min`,
DROP `heroic_key`,
DROP `heroic_key2`,
CHANGE `quest_done` `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `item2`,
CHANGE `heroic_quest_done` `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `quest_done_A`,
ADD `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `quest_done_H`,
DROP `heroic_quest_failed_text`,
ADD PRIMARY KEY(`mapId`,`difficulty`);
@@ -0,0 +1 @@
ALTER TABLE `areatrigger_teleport` DROP `access_id`;
@@ -0,0 +1 @@
ALTER TABLE `battleground_template` ADD `Comment` CHAR(32) NOT NULL ;
@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS `creature_transport` (
`guid` int(16) NOT NULL AUTO_INCREMENT COMMENT 'GUID of NPC on transport - not the same as creature.guid',
`transport_entry` int(8) NOT NULL COMMENT 'Transport entry',
`npc_entry` int(8) NOT NULL COMMENT 'NPC entry',
`TransOffsetX` float NOT NULL DEFAULT '0',
`TransOffsetY` float NOT NULL DEFAULT '0',
`TransOffsetZ` float NOT NULL DEFAULT '0',
`TransOffsetO` float NOT NULL DEFAULT '0',
`emote` int(16) NOT NULL,
PRIMARY KEY (`transport_entry`,`guid`),
UNIQUE KEY `entry` (`transport_entry`,`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
@@ -0,0 +1,10 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (51459,51462,51463,51464,51465,49219,49627,49628);
INSERT INTO `spell_proc_event`(`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
(51459,0,0,0,0,0,4,0,0,0,0), -- Necrosis Rank 1
(51462,0,0,0,0,0,4,0,0,0,0), -- Necrosis Rank 2
(51463,0,0,0,0,0,4,0,0,0,0), -- Necrosis Rank 3
(51464,0,0,0,0,0,4,0,0,0,0), -- Necrosis Rank 4
(51465,0,0,0,0,0,4,0,0,0,0), -- Necrosis Rank 5
(49219,0,0,0,0,0,4,0,0,0,0), -- Blood-Caked Blade Rank 1
(49627,0,0,0,0,0,4,0,0,0,0), -- Blood-Caked Blade Rank 2
(49628,0,0,0,0,0,4,0,0,0,0); -- Blood-Caked Blade Rank 3
@@ -0,0 +1,7 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=37877 AND `ScriptName`='spell_pal_blessing_of_faith';
DELETE FROM `spell_script_names` WHERE `spell_id`=-20473 AND `ScriptName`='spell_pal_holy_shock';
DELETE FROM `spell_script_names` WHERE `spell_id`=20425 AND `ScriptName`='spell_pal_judgement_of_command';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(37877,'spell_pal_blessing_of_faith'),
(-20473,'spell_pal_holy_shock'),
(20425,'spell_pal_judgement_of_command');
@@ -0,0 +1,5 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (56342,56343,56344);
INSERT INTO `spell_proc_event`(`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
( 56342, 0x00, 9, 0x00000018, 0x08000000, 0x00024000, 0x00000000, 0x00000000, 0, 0, 22), -- Lock and Load
( 56343, 0x00, 9, 0x00000018, 0x08000000, 0x00024000, 0x00000000, 0x00000000, 0, 0, 22), -- Lock and Load
( 56344, 0x00, 9, 0x00000018, 0x08000000, 0x00024000, 0x00000000, 0x00000000, 0, 0, 22); -- Lock and Load
@@ -0,0 +1,7 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (12322,12999,13000,13001,13002);
INSERT INTO `spell_proc_event`(`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
( 12322, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 3, 0, 0), -- Unbridled Wrath (Rank 1)
( 12999, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 6, 0, 0), -- Unbridled Wrath (Rank 2)
( 13000, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 9, 0, 0), -- Unbridled Wrath (Rank 3)
( 13001, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 12, 0, 0), -- Unbridled Wrath (Rank 4)
( 13002, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 15, 0, 0); -- Unbridled Wrath (Rank 5)
@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN(10444);
INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`ap_dot_bonus`,`comments`) VALUES
(10444, 0, 0, 0, 0, 'Shaman - Flametongue Trigger');
@@ -0,0 +1,4 @@
DELETE FROM spell_ranks WHERE `spell_id` IN (52987, 52988);
INSERT INTO spell_ranks (`first_spell_id`, `spell_id`, `rank`) VALUES
(47757, 52987, 3),
(47757, 52988, 4);
@@ -0,0 +1 @@
ALTER TABLE `battleground_template` ADD `Weight` tinyint(2) UNSIGNED NOT NULL DEFAULT 1 AFTER `HordeStartO`;
@@ -0,0 +1,3 @@
DELETE FROM `trinity_string` WHERE `entry`=1130;
INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES
(1130, 'Can''t dump deleted characters, aborting.');
@@ -0,0 +1,5 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=21977 AND `ScriptName`='spell_warr_warriors_wrath';
DELETE FROM `spell_script_names` WHERE `spell_id`=12975 AND `ScriptName`='spell_warr_last_stand';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(12975,'spell_warr_last_stand'),
(21977,'spell_warr_warriors_wrath');
@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (703);
INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`ap_dot_bonus`,`comments`) VALUES
(703, -1, -1, -1, 0.07, 'Rogue - Garrote');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=55709 AND `ScriptName`='spell_hun_pet_heart_of_the_phoenix';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(55709, 'spell_hun_pet_heart_of_the_phoenix');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=54044 AND `ScriptName`='spell_hun_pet_carrion_feeder';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(54044, 'spell_hun_pet_carrion_feeder');
@@ -0,0 +1,6 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (53178,53179,62764,62765);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
(53178,0x00,9,0x00000000,0x10000000,0x00000000,0x00000000,0x00000000,0,100,0), -- GuardDog(Rank1)
(53179,0x00,9,0x00000000,0x10000000,0x00000000,0x00000000,0x00000000,0,100,0), -- GuardDog(Rank2)
(62764,0x00,9,0x00000000,0x10000000,0x00000000,0x00000000,0x00000000,0,100,0), -- Silverback(Rank1)
(62765,0x00,9,0x00000000,0x10000000,0x00000000,0x00000000,0x00000000,0,100,0); -- Silverback(Rank2)
@@ -0,0 +1 @@
UPDATE `spell_proc_event` SET `procFlags`=0x10000 WHERE `entry` IN (53178,53179,62764,62765);
@@ -0,0 +1 @@
ALTER TABLE `transports` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `period`;
@@ -0,0 +1 @@
ALTER TABLE `instance_template` DROP `access_id`;
@@ -0,0 +1 @@
ALTER TABLE `battleground_template` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `Weight`;
@@ -0,0 +1 @@
ALTER TABLE `game_weather` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `winter_storm_chance`;
@@ -0,0 +1 @@
ALTER TABLE `conditions` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `ErrorTextId`;
@@ -0,0 +1,7 @@
DROP TABLE IF EXISTS `outdoorpvp_template`;
CREATE TABLE `outdoorpvp_template` (
`TypeId` tinyint(2) unsigned NOT NULL,
`ScriptName` char(64) NOT NULL DEFAULT '',
`comment` text,
PRIMARY KEY (`TypeId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates';
@@ -0,0 +1,2 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=47948 AND `ScriptName`='spell_pri_pain_and_suffering_proc';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (47948, 'spell_pri_pain_and_suffering_proc');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=58601 AND `ScriptName`='spell_gen_remove_flight_auras';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(58601, 'spell_gen_remove_flight_auras');
@@ -0,0 +1 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=21977 AND `ScriptName`='spell_warr_warriors_wrath';
@@ -0,0 +1 @@
ALTER TABLE `achievement_criteria_data` ADD `ScriptName` char(64) NOT NULL DEFAULT '' AFTER `value2`;
@@ -0,0 +1,13 @@
UPDATE `battleground_template` SET `Comment`= 'Alterac Valley' WHERE `battleground_template`.`id`=1;
UPDATE `battleground_template` SET `Comment`= 'Warsong Gulch' WHERE `battleground_template`.`id`=2;
UPDATE `battleground_template` SET `Comment`= 'Arathi Basin' WHERE `battleground_template`.`id`=3;
UPDATE `battleground_template` SET `Comment`= 'Nagrand Arena' WHERE `battleground_template`.`id`=4;
UPDATE `battleground_template` SET `Comment`= 'Blades''s Edge Arena' WHERE `battleground_template`.`id`=5;
UPDATE `battleground_template` SET `Comment`= 'All Arena' WHERE `battleground_template`.`id`=6;
UPDATE `battleground_template` SET `Comment`= 'Eye of The Storm' WHERE `battleground_template`.`id`=7;
UPDATE `battleground_template` SET `Comment`= 'Ruins of Lordaeron' WHERE `battleground_template`.`id`=8;
UPDATE `battleground_template` SET `Comment`= 'Strand of the Ancients' WHERE `battleground_template`.`id`=9;
UPDATE `battleground_template` SET `Comment`= 'Dalaran Sewers' WHERE `battleground_template`.`id`=10;
UPDATE `battleground_template` SET `Comment`= 'The Ring of Valor' WHERE `battleground_template`.`id`=11;
UPDATE `battleground_template` SET `Comment`= 'Isle of Conquest' WHERE `battleground_template`.`id`=30;
UPDATE `battleground_template` SET `Comment`= 'Random battleground' WHERE `battleground_template`.`id`=32;
@@ -0,0 +1,8 @@
DELETE FROM `outdoorpvp_template` WHERE `TypeId` IN (1,2,3,4,5,6);
INSERT INTO `outdoorpvp_template` (`TypeId`, `ScriptName`, `Comment`) VALUES
(1, 'outdoorpvp_hp', 'Hellfire Peninsula'),
(2, 'outdoorpvp_na', 'Nagrand'),
(3, 'outdoorpvp_tf', 'Terokkar Forest'),
(4, 'outdoorpvp_zm', 'Zangarmarsh'),
(5, 'outdoorpvp_si', 'Silithus'),
(6, 'outdoorpvp_ep', 'Eastern Plaguelands');
@@ -0,0 +1,7 @@
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (3693,6641,6642,6643,6644) AND `type`=11;
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES
(3693,11,0,0, 'achievement_storm_glory'),
(6641,11,0,0, 'achievement_school_of_hard_knocks'),
(6642,11,0,0, 'achievement_school_of_hard_knocks'),
(6643,11,0,0, 'achievement_school_of_hard_knocks'),
(6644,11,0,0, 'achievement_school_of_hard_knocks');
@@ -0,0 +1,4 @@
-- Remove by script name in case someone ever applied these names to other stuff
UPDATE `instance_template` SET `script`='' WHERE `script`='instance_blackrock_spire';
UPDATE `creature_template` SET `ScriptName`='' WHERE `ScriptName`='npc_rookey_whelp';
UPDATE `gameobject_template` SET `ScriptName`='' WHERE `ScriptName`='go_rookey_egg';
@@ -0,0 +1,4 @@
-- Intravenous Healing Potion Fix
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=61263;
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (61263,61267,0, 'Intravenous Healing Effect' );
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (61263,61268,0, 'Intravenous Mana Regeneration Effect' );
@@ -0,0 +1,15 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (71642,71611,71640,71634,71645,71602,71606,71637,71540,71402,72417,72413,72419);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
(71642,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Althor's Abacus (Heroic)
(71611,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Althor's Abacus
(71640,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,30), -- Corpse Tongue Coin (Heroic)
(71634,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,30), -- Corpse Tongue Coin
(71645,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Dislodged Foreign Object (Heroic)
(71602,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Dislodged Foreign Object
(71606,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,100), -- Phylactery of the Nameless Lich
(71637,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,100), -- Phylactery of the Nameless Lich (Heroic)
(71540,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Whispering Fanged Skull (Heroic)
(71402,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,45), -- Whispering Fanged Skull
(72417,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,60), -- Item - Icecrown Reputation Ring Caster Trigger
(72413,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,60), -- Item - Icecrown Reputation Ring Melee
(72419,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0,0,60); -- Item - Icecrown Reputation Ring Healer Trigger
@@ -0,0 +1,16 @@
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (3804,3805,3806,3807,3808,3809,3810,3811,3812,3813,1234,1239,5605,5606) AND `type` IN (0,11);
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES
(3804,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3805,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3806,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3807,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3808,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3809,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3810,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3811,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3812,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(3813,11,0,0, 'achievement_resilient_victory'), -- Resilient Victory
(1234,11,0,0, 'achievement_bg_control_all_nodes'), -- Territorial Dominance
(1239,11,0,0, 'achievement_bg_control_all_nodes'), -- Eye of the Storm Domination
(5605,11,0,0, 'achievement_save_the_day'), -- Save the Day
(5606,11,0,0, 'achievement_save_the_day'); -- Save the Day
@@ -0,0 +1,5 @@
DELETE FROM `command` WHERE `name` IN ('namego','goname','groupgo','summon','appear','groupsummon');
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('appear',1,'Syntax: .appear [$charactername]\r\n\r\nTeleport to the given character. Either specify the character name or click on the character''s portrait, e.g. when you are in a group. Character can be offline.'),
('groupsummon',1,'Syntax: .groupsummon [$charactername]\r\n\r\nTeleport the given character and his group to you. Teleported only online characters but original selected group member can be offline.'),
('summon',1,'Syntax: .summon [$charactername]\r\n\r\nTeleport the given character to you. Character can be offline.');
@@ -0,0 +1,5 @@
DELETE FROM `command` WHERE `name` IN ('reload gossip_menu','reload gossip_menu_option','reload gossip_scripts');
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('reload gossip_menu',3, 'Syntax: .reload gossip_menu\nReload gossip_menu table.'),
('reload gossip_menu_option',3, 'Syntax: .reload gossip_menu_option\nReload gossip_menu_option table.'),
('reload gossip_scripts',3, 'Syntax: .reload gossip_scripts\nReload gossip_scripts table.');
@@ -0,0 +1,65 @@
-- QUEST SPELLS
-- 45449 Arcane Prisoner Rescue
DELETE FROM `spell_script_names` WHERE `spell_id`=45449 AND `ScriptName`='spell_q11587_arcane_prisoner_rescue';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (45449,'spell_q11587_arcane_prisoner_rescue');
-- 46023 The Ultrasonic Screwdriver
DELETE FROM `spell_script_names` WHERE `spell_id`=46023 AND `ScriptName`='spell_q11730_ultrasonic_screwdriver';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (46023,'spell_q11730_ultrasonic_screwdriver');
-- SHAMAN SPELLS
-- 1535 Fire Nova (and ranks)
DELETE FROM `spell_script_names` WHERE `spell_id`=-1535 AND `ScriptName`='spell_sha_fire_nova';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (-1535,'spell_sha_fire_nova');
-- 39610 Mana Tide Totem
DELETE FROM `spell_script_names` WHERE `spell_id`=39610 AND `ScriptName`='spell_sha_mana_tide_totem';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (39610,'spell_sha_mana_tide_totem');
-- DEATH KNIGHT SPELLS
-- 49158 Corpse Explosion (and ranks)
DELETE FROM `spell_script_names` WHERE `spell_id`=-49158 AND `ScriptName`='spell_dk_corpse_explosion';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (-49158,'spell_dk_corpse_explosion');
-- 50524 Runic Power Feed
DELETE FROM `spell_script_names` WHERE `spell_id`=50524 AND `ScriptName`='spell_dk_runic_power_feed';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (50524,'spell_dk_runic_power_feed');
-- 55090 Scourge Strike (and ranks)
DELETE FROM `spell_script_names` WHERE `spell_id`=-55090 AND `ScriptName`='spell_dk_scourge_strike';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (-55090,'spell_dk_scourge_strike');
-- DRUID SPELLS
-- 54846 Glyph of Starfire
DELETE FROM `spell_script_names` WHERE `spell_id`=54846 AND `ScriptName`='spell_dru_glyph_of_starfire';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (54846,'spell_dru_glyph_of_starfire');
-- WARLOCK SPELLS
-- 6201 Create Healthstone (and ranks)
DELETE FROM `spell_script_names` WHERE `spell_id`=-6201 AND `ScriptName`='spell_warl_create_healthstone';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (-6201,'spell_warl_create_healthstone');
-- 47193 Demonic Empowerment
DELETE FROM `spell_script_names` WHERE `spell_id`=47193 AND `ScriptName`='spell_warl_demonic_empowerment';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (47193,'spell_warl_demonic_empowerment');
-- 47422 Everlasting Affliction
DELETE FROM `spell_script_names` WHERE `spell_id`=47422 AND `ScriptName`='spell_warl_everlasting_affliction';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (47422,'spell_warl_everlasting_affliction');
-- 63521 Guarded by The Light
DELETE FROM `spell_script_names` WHERE `spell_id`=63521 AND `ScriptName`='spell_warl_guarded_by_the_light';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (63521,'spell_warl_guarded_by_the_light');
-- HUNTER SPELLS
-- 53209 Chimera Shot
DELETE FROM `spell_script_names` WHERE `spell_id`=53209 AND `ScriptName`='spell_hun_chimera_shot';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (53209,'spell_hun_chimera_shot');
-- 53412 Invigoration
DELETE FROM `spell_script_names` WHERE `spell_id`=53412 AND `ScriptName`='spell_hun_invigoration';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (53412,'spell_hun_invigoration');
-- 37506 Scatter Shot
DELETE FROM `spell_script_names` WHERE `spell_id`=37506 AND `ScriptName`='spell_hun_scatter_shot';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (37506,'spell_hun_scatter_shot');
@@ -0,0 +1,3 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=63521 AND `ScriptName`='spell_warl_guarded_by_the_light';
DELETE FROM `spell_script_names` WHERE `spell_id`=63521 AND `ScriptName`='spell_pal_guarded_by_the_light';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (63521, 'spell_pal_guarded_by_the_light');
@@ -0,0 +1,12 @@
DELETE FROM `script_texts` WHERE `entry` BETWEEN -1631999 AND -1631000;
INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
(36612,-1631000,'This is the beginning AND the end, mortals. None may enter the master''s sanctum!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16950,1,0,0,'SAY_ENTER_ZONE'),
(36612,-1631001,'The Scourge will wash over this world as a swarm of death and destruction!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16941,1,0,0,'SAY_AGGRO'),
(36612,-1631002,'BONE STORM!',NULL,NULL, NULL,NULL,NULL,NULL,NULL,NULL,16946,1,0,0,'SAY_BONE_STORM'),
(36612,-1631003,'Bound by bone!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16947,1,0,0, 'SAY_BONESPIKE_1'),
(36612,-1631004,'Stick Around!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16948,1,0,0,'SAY_BONESPIKE_2'),
(36612,-1631005,'The only escape is death!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16949,1,0,0,'SAY_BONESPIKE_3'),
(36612,-1631006,'More bones for the offering!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16942,1,0,0,'SAY_KILL_1'),
(36612,-1631007,'Languish in damnation!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16943,1,0,0,'SAY_KILL_2'),
(36612,-1631008,'I see... only darkness...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16944,1,0,0,'SAY_DEATH'),
(36612,-1631009,'THE MASTER''S RAGE COURSES THROUGH ME!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16945,1,0,0,'SAY_BERSERK');
@@ -0,0 +1,7 @@
-- Lord Marrowgar
UPDATE `creature_template` SET `ScriptName`='boss_lord_marrowgar' WHERE `entry`=36612;
UPDATE `creature_template` SET `ScriptName`='npc_coldflame' WHERE `entry`=36672;
UPDATE `creature_template` SET `ScriptName`='npc_bone_spike' WHERE `entry`=38711;
-- Instance
UPDATE `instance_template` SET `script`='instance_icecrown_citadel' WHERE `map`=631;
@@ -0,0 +1,13 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=69057 AND `ScriptName`='spell_marrowgar_bone_spike_graveyard';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (69140,72705) AND `ScriptName`='spell_marrowgar_coldflame';
DELETE FROM `spell_script_names` WHERE `spell_id`=69147 AND `ScriptName`='spell_marrowgar_coldflame_trigger';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (69075,70834,70835,70836) AND `ScriptName`='spell_marrowgar_bone_storm';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(69057,'spell_marrowgar_bone_spike_graveyard'),
(69140,'spell_marrowgar_coldflame'),
(72705,'spell_marrowgar_coldflame'),
(69147,'spell_marrowgar_coldflame_trigger'),
(69075,'spell_marrowgar_bone_storm'),
(70834,'spell_marrowgar_bone_storm'),
(70835,'spell_marrowgar_bone_storm'),
(70836,'spell_marrowgar_bone_storm');

Some files were not shown because too many files have changed in this diff Show More