[9779] Drop trailing whitespaces.

This commit is contained in:
VladimirMangos 2010-04-23 05:26:08 +04:00
parent d3cc3c2f27
commit 15dd77873e
69 changed files with 23 additions and 81 deletions

View file

@ -884,13 +884,12 @@ CREATE TABLE `character_stats` (
`blockPct` float UNSIGNED NOT NULL default '0', `blockPct` float UNSIGNED NOT NULL default '0',
`dodgePct` float UNSIGNED NOT NULL default '0', `dodgePct` float UNSIGNED NOT NULL default '0',
`parryPct` float UNSIGNED NOT NULL default '0', `parryPct` float UNSIGNED NOT NULL default '0',
`critPct` float UNSIGNED NOT NULL default '0', `critPct` float UNSIGNED NOT NULL default '0',
`rangedCritPct` float UNSIGNED NOT NULL default '0', `rangedCritPct` float UNSIGNED NOT NULL default '0',
`spellCritPct` float UNSIGNED NOT NULL default '0', `spellCritPct` float UNSIGNED NOT NULL default '0',
`attackPower` int(10) UNSIGNED NOT NULL default '0', `attackPower` int(10) UNSIGNED NOT NULL default '0',
`rangedAttackPower` int(10) UNSIGNED NOT NULL default '0', `rangedAttackPower` int(10) UNSIGNED NOT NULL default '0',
`spellPower` int(10) UNSIGNED NOT NULL default '0', `spellPower` int(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (`guid`) PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,3 +1,2 @@
DELETE FROM mangos_string WHERE entry = 290; DELETE FROM mangos_string WHERE entry = 290;
INSERT INTO mangos_string VALUES (290, 'Ticket of %s (Last updated: %s):\n%s', NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO mangos_string VALUES (290, 'Ticket of %s (Last updated: %s):\n%s', NULL, NULL, NULL, NULL, NULL, NULL, NULL);

View file

@ -21,4 +21,3 @@ CREATE TABLE `character_pet_declinedname` (
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
KEY owner_key (`owner`) KEY owner_key (`owner`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

View file

@ -84,4 +84,3 @@ ALTER TABLE mangos_string
ADD COLUMN content_loc8 text AFTER content_loc7; ADD COLUMN content_loc8 text AFTER content_loc7;
UPDATE mangos_string SET content_loc8 = content_loc7; UPDATE mangos_string SET content_loc8 = content_loc7;

View file

@ -2,4 +2,3 @@ DELETE FROM mangos_string WHERE entry IN (518,521);
INSERT INTO mangos_string VALUES INSERT INTO mangos_string VALUES
(518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), (518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
(521,'%d - |cffffffff|Hskill:%d|h[%s %s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); (521,'%d - |cffffffff|Hskill:%d|h[%s %s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -31,6 +31,3 @@ INSERT INTO `spell_chain` (spell_id,prev_spell,first_spell,rank,req_spell) VALUE
(16813,16812,16689,5,9852), (16813,16812,16689,5,9852),
(17329,16813,16689,6,9853), (17329,16813,16689,6,9853),
(27009,17329,16689,7,26989); (27009,17329,16689,7,26989);

View file

@ -1,4 +1,3 @@
DELETE FROM mangos_string WHERE entry IN (592); DELETE FROM mangos_string WHERE entry IN (592);
INSERT INTO mangos_string VALUES INSERT INTO mangos_string VALUES
(592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); (592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -24,4 +24,3 @@ LOCK TABLES `reference_loot_template` WRITE;
/*!40000 ALTER TABLE `reference_loot_template` DISABLE KEYS */; /*!40000 ALTER TABLE `reference_loot_template` DISABLE KEYS */;
/*!40000 ALTER TABLE `reference_loot_template` ENABLE KEYS */; /*!40000 ALTER TABLE `reference_loot_template` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;

View file

@ -4,4 +4,3 @@ CREATE TABLE `areatrigger_scripts` (
`ScriptName` CHAR( 64 ) NOT NULL , `ScriptName` CHAR( 64 ) NOT NULL ,
PRIMARY KEY ( `entry` ) PRIMARY KEY ( `entry` )
) ENGINE = MYISAM DEFAULT CHARSET=utf8; ) ENGINE = MYISAM DEFAULT CHARSET=utf8;

View file

@ -18,5 +18,3 @@ CREATE TABLE `locales_npc_option` (
`box_text_loc8` text, `box_text_loc8` text,
PRIMARY KEY (`entry`) PRIMARY KEY (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -2,4 +2,3 @@ DELETE FROM mangos_string WHERE entry IN (171,172);
INSERT INTO mangos_string VALUES INSERT INTO mangos_string VALUES
(172,'server console command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); (172,'server console command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

View file

@ -17,4 +17,3 @@ INSERT INTO `realmd_db_version` VALUES
(NULL); (NULL);
/*!40000 ALTER TABLE `realmd_db_version` ENABLE KEYS */; /*!40000 ALTER TABLE `realmd_db_version` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;

View file

@ -2,4 +2,3 @@ ALTER TABLE realmd_db_version CHANGE COLUMN required_2008_11_07_02_realmd_realmd
ALTER TABLE `account` ALTER TABLE `account`
CHANGE COLUMN `email` `email` text; CHANGE COLUMN `email` `email` text;

View file

@ -18,4 +18,3 @@ CREATE TABLE `db_script_string` (
`content_loc8` text, `content_loc8` text,
PRIMARY KEY (`entry`) PRIMARY KEY (`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

View file

@ -2,4 +2,3 @@ ALTER TABLE character_db_version CHANGE COLUMN required_2008_11_07_03_characters
ALTER TABLE `character_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ; ALTER TABLE `character_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ;
ALTER TABLE `pet_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ; ALTER TABLE `pet_aura` ADD `stackcount` INT NOT NULL DEFAULT '1' AFTER `effect_index` ;

View file

@ -75,4 +75,3 @@ INSERT INTO `spell_proc_event` VALUES (48159, 0x20, 6, 0x0000000000000000, 0x000
-- (48160) Vampiric Touch (Rank 5) -- (48160) Vampiric Touch (Rank 5)
DELETE FROM `spell_proc_event` WHERE `entry` IN (48160); DELETE FROM `spell_proc_event` WHERE `entry` IN (48160);
INSERT INTO `spell_proc_event` VALUES (48160, 0x20, 6, 0x0000000000000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (48160, 0x20, 6, 0x0000000000000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -59,4 +59,3 @@ INSERT INTO `spell_proc_event` VALUES (31877, 0x00, 10, 0x00800000, 0x00000000,
-- (31878) Judgements of the Wise (Rank 3) -- (31878) Judgements of the Wise (Rank 3)
DELETE FROM `spell_proc_event` WHERE `entry` IN (31878); DELETE FROM `spell_proc_event` WHERE `entry` IN (31878);
INSERT INTO `spell_proc_event` VALUES (31878, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (31878, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -27,5 +27,3 @@ INSERT INTO `spell_proc_event` VALUES (47557, 0x00, 6, 0x00001800, 0x00000000, 0
-- (32409) Shadow Word: Death () -- (32409) Shadow Word: Death ()
DELETE FROM `spell_proc_event` WHERE `entry` IN (32409); DELETE FROM `spell_proc_event` WHERE `entry` IN (32409);
INSERT INTO `spell_proc_event` VALUES (32409, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (32409, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -19,5 +19,3 @@ INSERT INTO `spell_proc_event` VALUES (44395, 0x00, 0, 0x00000000, 0x00000000, 0
-- (44396) Incanter's Absorption (Rank 3) -- (44396) Incanter's Absorption (Rank 3)
DELETE FROM `spell_proc_event` WHERE `entry` IN (44396); DELETE FROM `spell_proc_event` WHERE `entry` IN (44396);
INSERT INTO `spell_proc_event` VALUES (44396, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (44396, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0.000000, 0.000000, 0);

View file

@ -55,4 +55,3 @@ INSERT INTO `spell_proc_event` VALUES (47539, 0x00, 6, 0x00001800, 0x00800000, 0
-- (61257) Runic Power Back on Snare/Root (Rank 5) -- (61257) Runic Power Back on Snare/Root (Rank 5)
DELETE FROM `spell_proc_event` WHERE `entry` IN (61257); DELETE FROM `spell_proc_event` WHERE `entry` IN (61257);
INSERT INTO `spell_proc_event` VALUES (61257, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000202A8, 0x00010000, 0.000000, 0.000000, 0); INSERT INTO `spell_proc_event` VALUES (61257, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000202A8, 0x00010000, 0.000000, 0.000000, 0);

View file

@ -8,4 +8,3 @@ ALTER TABLE `characters`
ADD COLUMN `bgy` float NOT NULL default '0' AFTER `bgx`, ADD COLUMN `bgy` float NOT NULL default '0' AFTER `bgx`,
ADD COLUMN `bgz` float NOT NULL default '0' AFTER `bgy`, ADD COLUMN `bgz` float NOT NULL default '0' AFTER `bgy`,
ADD COLUMN `bgo` float NOT NULL default '0' AFTER `bgz`; ADD COLUMN `bgo` float NOT NULL default '0' AFTER `bgz`;

View file

@ -2,4 +2,3 @@ ALTER TABLE character_db_version CHANGE COLUMN required_7255_01_characters_chara
ALTER TABLE auctionhouse ALTER TABLE auctionhouse
DROP COLUMN location; DROP COLUMN location;

View file

@ -13,4 +13,3 @@ INSERT INTO `spell_chain` VALUES
(53188, 50294, 50294, 2, 0), (53188, 50294, 50294, 2, 0),
(53189, 53188, 50294, 3, 0), (53189, 53188, 50294, 3, 0),
(53190, 53189, 50294, 4, 0); (53190, 53189, 50294, 4, 0);

View file

@ -6,4 +6,3 @@ UPDATE character_pet
UPDATE character_pet UPDATE character_pet
SET abdata = SUBSTRING_INDEX(SUBSTRING_INDEX(abdata,' ',(10-3)*2),' ',-(10-3-3)*2) 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

@ -1,4 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_7988_06_mangos_gameobject_template required_7988_08_mangos_spell_bonus_data bit; ALTER TABLE db_version CHANGE COLUMN required_7988_06_mangos_gameobject_template required_7988_08_mangos_spell_bonus_data bit;
DELETE FROM `spell_bonus_data` WHERE `entry` IN (18265); DELETE FROM `spell_bonus_data` WHERE `entry` IN (18265);

View file

@ -5,4 +5,3 @@ ALTER TABLE character_achievement_progress ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE character_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; ALTER TABLE character_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
ALTER TABLE character_pet_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; ALTER TABLE character_pet_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
ALTER TABLE guild_eventlog ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog'; ALTER TABLE guild_eventlog ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';

View file

@ -7,4 +7,3 @@ CREATE TABLE `creature_battleground` (
`event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event', `event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event',
PRIMARY KEY (`guid`) PRIMARY KEY (`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature battleground indexing system'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature battleground indexing system';

View file

@ -7,4 +7,3 @@ CREATE TABLE `gameobject_battleground` (
`event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event', `event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event',
PRIMARY KEY (`guid`) PRIMARY KEY (`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GameObject battleground indexing system'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GameObject battleground indexing system';

View file

@ -1,4 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_8549_03_mangos_battleground_events required_8573_01_mangos_mangos_string bit; ALTER TABLE db_version CHANGE COLUMN required_8549_03_mangos_battleground_events required_8573_01_mangos_mangos_string bit;
DELETE FROM mangos_string WHERE entry IN(573,574); DELETE FROM mangos_string WHERE entry IN(573,574);

View file

@ -4,4 +4,3 @@ ALTER TABLE db_version CHANGE COLUMN required_8841_02_mangos_spell_chain require
DELETE FROM `spell_proc_event` WHERE `entry` IN (20335); DELETE FROM `spell_proc_event` WHERE `entry` IN (20335);
INSERT INTO `spell_proc_event` VALUES INSERT INTO `spell_proc_event` VALUES
(20335, 0x00, 10, 0x00800000, 0x00000000, 0x00000008, 0x00000100, 0x00000000, 0.000000, 100.000000, 0); (20335, 0x00, 10, 0x00800000, 0x00000000, 0x00000008, 0x00000100, 0x00000000, 0.000000, 100.000000, 0);

View file

@ -3,4 +3,3 @@ ALTER TABLE db_version CHANGE COLUMN required_8995_01_mangos_spell_proc_event re
DELETE FROM spell_proc_event WHERE entry=61062; DELETE FROM spell_proc_event WHERE entry=61062;
INSERT INTO spell_proc_event VALUES INSERT INTO spell_proc_event VALUES
(61062, 0x00000000, 3, 0x00000000, 0x00000100, 0x00000000, 0x00004000, 0x00010000, 0.000000, 0.000000, 0); (61062, 0x00000000, 3, 0x00000000, 0x00000100, 0x00000000, 0x00004000, 0x00010000, 0.000000, 0.000000, 0);

View file

@ -4,7 +4,7 @@ DELETE FROM spell_threat WHERE entry IN (
-- Battle Shout -- Battle Shout
6673, 5242, 6192, 11549, 11550, 11551, 25289, 2048, 47436, 6673, 5242, 6192, 11549, 11550, 11551, 25289, 2048, 47436,
-- Commanding Shout -- Commanding Shout
469, 47439, 47440, 469, 47439, 47440,
-- Demoralizing Shout -- Demoralizing Shout
1160, 6190, 11554, 11555, 11556, 25202, 25203, 47437, 1160, 6190, 11554, 11555, 11556, 25202, 25203, 47437,
-- Cleave -- Cleave
@ -22,7 +22,7 @@ DELETE FROM spell_threat WHERE entry IN (
-- Shield Slam -- Shield Slam
47488, 47487, 47488, 47487,
-- Sunder Armor (remove only) -- Sunder Armor (remove only)
47467, 25225, 11597, 11596, 8380, 7405, 47467, 25225, 11597, 11596, 8380, 7405,
-- Thunder Clap -- Thunder Clap
47502, 47501, 47502, 47501,
-- Maul -- Maul

View file

@ -1,5 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_9034_01_mangos_spell_proc_event required_9045_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_9034_01_mangos_spell_proc_event required_9045_01_mangos_spell_proc_event bit;
DELETE FROM spell_proc_event WHERE entry IN (48545,48544,48539); DELETE FROM spell_proc_event WHERE entry IN (48545,48544,48539);
INSERT INTO spell_proc_event (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES INSERT INTO spell_proc_event (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
(48539, 0x00000000, 7, 0x00000010, 0x04000000, 0x00000000, 0x00040000, 0x00000000, 0.000000, 0.000000, 0); (48539, 0x00000000, 7, 0x00000010, 0x04000000, 0x00000000, 0x00040000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -56,7 +56,7 @@ UPDATE `characters` SET `data` = CONCAT(
'0 ', '0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 298 + 1), ' ', -298 + 162 + 4*24 - 1), ' ', SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 298 + 1), ' ', -298 + 162 + 4*24 - 1), ' ',
'0 ', '0 ',
SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1300 + 1), ' ', -1300 + 299 - 1), ' ' SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1300 + 1), ' ', -1300 + 299 - 1), ' '
) )
WHERE length(SUBSTRING_INDEX(data, ' ', 1300)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1300+1)) >= length(data); WHERE length(SUBSTRING_INDEX(data, ' ', 1300)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1300+1)) >= length(data);

View file

@ -3,7 +3,6 @@ ALTER TABLE db_version CHANGE COLUMN required_9331_01_mangos_quest_template requ
ALTER TABLE spell_bonus_data ALTER TABLE spell_bonus_data
CHANGE COLUMN entry entry mediumint(8) unsigned NOT NULL; CHANGE COLUMN entry entry mediumint(8) unsigned NOT NULL;
DELETE FROM spell_bonus_data WHERE entry = 71824; DELETE FROM spell_bonus_data WHERE entry = 71824;
INSERT INTO spell_bonus_data VALUES INSERT INTO spell_bonus_data VALUES
(71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus'); (71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus');

View file

@ -3,4 +3,3 @@ ALTER TABLE db_version CHANGE COLUMN required_9366_01_mangos_spell_bonus_data re
DELETE FROM `spell_proc_event` WHERE `entry` = 67228; DELETE FROM `spell_proc_event` WHERE `entry` = 67228;
INSERT INTO `spell_proc_event` VALUES INSERT INTO `spell_proc_event` VALUES
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); (67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -1,2 +1 @@
ALTER TABLE character_db_version CHANGE COLUMN required_9359_01_characters_characters required_9374_01_characters_character_glyphs bit; ALTER TABLE character_db_version CHANGE COLUMN required_9359_01_characters_characters required_9374_01_characters_character_glyphs bit;

View file

@ -1,2 +1 @@
ALTER TABLE db_version CHANGE COLUMN required_9380_01_mangos_command required_9382_01_mangos_command bit; ALTER TABLE db_version CHANGE COLUMN required_9380_01_mangos_command required_9382_01_mangos_command bit;

View file

@ -1,6 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_9509_01_mangos_item_template required_9512_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_9509_01_mangos_item_template required_9512_01_mangos_spell_proc_event bit;
DELETE FROM `spell_proc_event` WHERE `entry` IN (16952, 16954); DELETE FROM `spell_proc_event` WHERE `entry` IN (16952, 16954);
INSERT INTO `spell_proc_event` VALUES INSERT INTO `spell_proc_event` VALUES
(16952, 0x00000000, 7, 0x00039000, 0x00000400, 0x00000000, 0x00040000, 0x00000002, 0.000000, 0.000000, 0), (16952, 0x00000000, 7, 0x00039000, 0x00000400, 0x00000000, 0x00040000, 0x00000002, 0.000000, 0.000000, 0),
(16954, 0x00000000, 7, 0x00039000, 0x00000400, 0x00000000, 0x00040000, 0x00000002, 0.000000, 0.000000, 0); (16954, 0x00000000, 7, 0x00039000, 0x00000400, 0x00000000, 0x00040000, 0x00000002, 0.000000, 0.000000, 0);

View file

@ -1,6 +1,6 @@
ALTER TABLE db_version CHANGE COLUMN required_9512_01_mangos_spell_proc_event required_9526_01_mangos_spell_proc_event bit; ALTER TABLE db_version CHANGE COLUMN required_9512_01_mangos_spell_proc_event required_9526_01_mangos_spell_proc_event bit;
DELETE FROM `spell_proc_event` WHERE `entry` IN (16952, 16954); DELETE FROM `spell_proc_event` WHERE `entry` IN (16952, 16954);
INSERT INTO `spell_proc_event` VALUES INSERT INTO `spell_proc_event` VALUES
(16952, 0x00000000, 7, 0x00039000, 0x00000400, 0x00040000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (16952, 0x00000000, 7, 0x00039000, 0x00000400, 0x00040000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
(16954, 0x00000000, 7, 0x00039000, 0x00000400, 0x00040000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0); (16954, 0x00000000, 7, 0x00039000, 0x00000400, 0x00040000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0);

View file

@ -11,4 +11,3 @@ UPDATE item_template
ALTER TABLE item_template ALTER TABLE item_template
CHANGE COLUMN Duration Duration int(11) UNSIGNED DEFAULT '0' NOT NULL; CHANGE COLUMN Duration Duration int(11) UNSIGNED DEFAULT '0' NOT NULL;

View file

@ -26,12 +26,11 @@ CREATE TABLE `character_stats` (
`blockPct` float UNSIGNED NOT NULL default '0', `blockPct` float UNSIGNED NOT NULL default '0',
`dodgePct` float UNSIGNED NOT NULL default '0', `dodgePct` float UNSIGNED NOT NULL default '0',
`parryPct` float UNSIGNED NOT NULL default '0', `parryPct` float UNSIGNED NOT NULL default '0',
`critPct` float UNSIGNED NOT NULL default '0', `critPct` float UNSIGNED NOT NULL default '0',
`rangedCritPct` float UNSIGNED NOT NULL default '0', `rangedCritPct` float UNSIGNED NOT NULL default '0',
`spellCritPct` float UNSIGNED NOT NULL default '0', `spellCritPct` float UNSIGNED NOT NULL default '0',
`attackPower` int(10) UNSIGNED NOT NULL default '0', `attackPower` int(10) UNSIGNED NOT NULL default '0',
`rangedAttackPower` int(10) UNSIGNED NOT NULL default '0', `rangedAttackPower` int(10) UNSIGNED NOT NULL default '0',
`spellPower` int(10) UNSIGNED NOT NULL default '0', `spellPower` int(10) UNSIGNED NOT NULL default '0',
PRIMARY KEY (`guid`) PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -10,4 +10,3 @@ CREATE TABLE `character_queststatus_weekly` (
ALTER TABLE `saved_variables` ALTER TABLE `saved_variables`
ADD COLUMN `NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`; ADD COLUMN `NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`;

View file

@ -5,4 +5,3 @@ ALTER TABLE `character_queststatus_daily`
ALTER TABLE `saved_variables` ALTER TABLE `saved_variables`
ADD COLUMN `NextDailyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`; ADD COLUMN `NextDailyQuestResetTime` bigint(40) unsigned NOT NULL default '0' AFTER `NextArenaPointDistributionTime`;

View file

@ -6,4 +6,3 @@ ALTER TABLE `item_instance`
-- indexes in any case broken and lost after 3.3.3 switch. -- indexes in any case broken and lost after 3.3.3 switch.
DROP TABLE IF EXISTS `item_text`; DROP TABLE IF EXISTS `item_text`;

View file

@ -155,7 +155,7 @@ bool QuestAccept( Player *player, Creature *_Creature, Quest *_Quest )
return false; return false;
player->PlayerTalkClass->ClearMenus(); player->PlayerTalkClass->ClearMenus();
return tmpscript->pQuestAccept(player,_Creature,_Quest); return tmpscript->pQuestAccept(player,_Creature,_Quest);
} }

View file

@ -243,4 +243,3 @@ std::string AccountMgr::CalculateShaPassHash(std::string& name, std::string& pas
return encoded; return encoded;
} }

View file

@ -134,7 +134,7 @@ class ChatHandler
bool HandleCharacterRenameCommand(const char * args); bool HandleCharacterRenameCommand(const char * args);
bool HandleCharacterReputationCommand(const char* args); bool HandleCharacterReputationCommand(const char* args);
bool HandleCharacterTitlesCommand(const char* args); bool HandleCharacterTitlesCommand(const char* args);
bool HandleDebugAnimCommand(const char* args); bool HandleDebugAnimCommand(const char* args);
bool HandleDebugArenaCommand(const char * args); bool HandleDebugArenaCommand(const char * args);
bool HandleDebugBattlegroundCommand(const char * args); bool HandleDebugBattlegroundCommand(const char * args);

View file

@ -1514,4 +1514,3 @@ bool GameObject::IsFriendlyTo(Unit const* unit) const
// common faction based case (GvC,GvP) // common faction based case (GvC,GvP)
return tester_faction->IsFriendlyTo(*target_faction); return tester_faction->IsFriendlyTo(*target_faction);
} }

View file

@ -125,4 +125,3 @@ typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderReg
typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderRepository MovementGeneratorRepository; typedef FactoryHolder<MovementGenerator,MovementGeneratorType>::FactoryHolderRepository MovementGeneratorRepository;
#endif #endif

View file

@ -1761,7 +1761,7 @@ void WorldObject::GetNearPoint(WorldObject const* searcher, float &x, float &y,
{ {
MaNGOS::NearUsedPosDo u_do(*this,searcher,absAngle,selector); MaNGOS::NearUsedPosDo u_do(*this,searcher,absAngle,selector);
MaNGOS::WorldObjectWorker<MaNGOS::NearUsedPosDo> worker(this,u_do); MaNGOS::WorldObjectWorker<MaNGOS::NearUsedPosDo> worker(this,u_do);
Cell::VisitAllObjects(this, worker, distance2d); Cell::VisitAllObjects(this, worker, distance2d);
} }

View file

@ -4697,7 +4697,7 @@ void ObjectMgr::LoadInstanceTemplate()
if (temp->parent > 0) if (temp->parent > 0)
{ {
// check existence // check existence
MapEntry const* parentEntry = sMapStore.LookupEntry(temp->parent); MapEntry const* parentEntry = sMapStore.LookupEntry(temp->parent);
if (!parentEntry) if (!parentEntry)
{ {

View file

@ -4130,7 +4130,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
if (has_items) if (has_items)
{ {
// data needs to be at first place for Item::LoadFromDB // data needs to be at first place for Item::LoadFromDB
// 0 1 2 3 // 0 1 2 3
QueryResult *resultItems = CharacterDatabase.PQuery("SELECT data,text,item_guid,item_template FROM mail_items JOIN item_instance ON item_guid = guid WHERE mail_id='%u'", mail_id); QueryResult *resultItems = CharacterDatabase.PQuery("SELECT data,text,item_guid,item_template FROM mail_items JOIN item_instance ON item_guid = guid WHERE mail_id='%u'", mail_id);
if (resultItems) if (resultItems)
{ {

View file

@ -57,7 +57,7 @@ static DumpTable dumpTables[] =
{ "character_talent", DTT_CHAR_TABLE }, { "character_talent", DTT_CHAR_TABLE },
{ "character_ticket", DTT_CHAR_TABLE }, { "character_ticket", DTT_CHAR_TABLE },
{ "mail", DTT_MAIL }, // -> mail guids { "mail", DTT_MAIL }, // -> mail guids
{ "mail_items", DTT_MAIL_ITEM }, // -> item guids <- mail guids { "mail_items", DTT_MAIL_ITEM }, // -> item guids <- mail guids
{ "pet_aura", DTT_PET_TABLE }, // <- pet number { "pet_aura", DTT_PET_TABLE }, // <- pet number
{ "pet_spell", DTT_PET_TABLE }, // <- pet number { "pet_spell", DTT_PET_TABLE }, // <- pet number
{ "pet_spell_cooldown", DTT_PET_TABLE }, // <- pet number { "pet_spell_cooldown", DTT_PET_TABLE }, // <- pet number

View file

@ -53,7 +53,7 @@ enum SpellCastTargetFlags
TARGET_FLAG_CORPSE = 0x00008000, // pguid, resurrection spells TARGET_FLAG_CORPSE = 0x00008000, // pguid, resurrection spells
TARGET_FLAG_UNK2 = 0x00010000, // pguid, not used in any spells as of 3.0.3 (can be set dynamically) TARGET_FLAG_UNK2 = 0x00010000, // pguid, not used in any spells as of 3.0.3 (can be set dynamically)
TARGET_FLAG_GLYPH = 0x00020000, // used in glyph spells TARGET_FLAG_GLYPH = 0x00020000, // used in glyph spells
TARGET_FLAG_UNK3 = 0x00040000, // TARGET_FLAG_UNK3 = 0x00040000, //
TARGET_FLAG_UNK4 = 0x00080000 // uint32, loop { vec3, guid -> if guid == 0 break } TARGET_FLAG_UNK4 = 0x00080000 // uint32, loop { vec3, guid -> if guid == 0 break }
}; };

View file

@ -248,11 +248,11 @@ enum AuraType
SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_DAMAGE = 203, SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_DAMAGE = 203,
SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE = 204, SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE = 204,
SPELL_AURA_MOD_ATTACKER_SPELL_CRIT_DAMAGE = 205, SPELL_AURA_MOD_ATTACKER_SPELL_CRIT_DAMAGE = 205,
SPELL_AURA_MOD_FLIGHT_SPEED = 206, SPELL_AURA_MOD_FLIGHT_SPEED = 206,
SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED = 207, SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED = 207,
SPELL_AURA_MOD_FLIGHT_SPEED_STACKING = 208, SPELL_AURA_MOD_FLIGHT_SPEED_STACKING = 208,
SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED_STACKING = 209, SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED_STACKING = 209,
SPELL_AURA_MOD_FLIGHT_SPEED_NOT_STACKING = 210, SPELL_AURA_MOD_FLIGHT_SPEED_NOT_STACKING = 210,
SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED_NOT_STACKING = 211, SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED_NOT_STACKING = 211,
SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT = 212, SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT = 212,
SPELL_AURA_MOD_RAGE_FROM_DAMAGE_DEALT = 213, SPELL_AURA_MOD_RAGE_FROM_DAMAGE_DEALT = 213,

View file

@ -464,7 +464,7 @@ void Spell::EffectSchoolDMG(SpellEffectIndex effect_idx)
break; break;
} }
} }
// Shadow Bite // Shadow Bite
else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0040000000000000)) else if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0040000000000000))
{ {
Unit *owner = m_caster->GetOwner(); Unit *owner = m_caster->GetOwner();

View file

@ -564,4 +564,3 @@ void WorldSession::HandleSpellClick( WorldPacket & recv_data )
} }
} }
} }

View file

@ -1917,7 +1917,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
// Need remove expired auras after // Need remove expired auras after
bool existExpired = false; bool existExpired = false;
// Incanter's Absorption, for converting to spell power // Incanter's Absorption, for converting to spell power
int32 incanterAbsorption = 0; int32 incanterAbsorption = 0;
// absorb without mana cost // absorb without mana cost
@ -2127,7 +2127,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
RemainingDamage -= currentAbsorb; RemainingDamage -= currentAbsorb;
// Fire Ward or Frost Ward or Ice Barrier (or Mana Shield) // Fire Ward or Frost Ward or Ice Barrier (or Mana Shield)
// for Incanter's Absorption converting to spell power // for Incanter's Absorption converting to spell power
if (spellProto->SpellFamilyName == SPELLFAMILY_MAGE && spellProto->SpellFamilyFlags2 & 0x000008) if (spellProto->SpellFamilyName == SPELLFAMILY_MAGE && spellProto->SpellFamilyFlags2 & 0x000008)
incanterAbsorption += currentAbsorb; incanterAbsorption += currentAbsorb;
@ -2189,7 +2189,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
} }
// Mana Shield (or Fire Ward or Frost Ward or Ice Barrier) // Mana Shield (or Fire Ward or Frost Ward or Ice Barrier)
// for Incanter's Absorption converting to spell power // for Incanter's Absorption converting to spell power
if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_MAGE && (*i)->GetSpellProto()->SpellFamilyFlags2 & 0x000008) if ((*i)->GetSpellProto()->SpellFamilyName == SPELLFAMILY_MAGE && (*i)->GetSpellProto()->SpellFamilyFlags2 & 0x000008)
incanterAbsorption += currentAbsorb; incanterAbsorption += currentAbsorb;
@ -11332,7 +11332,6 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt
basePoints += randvalue; basePoints += randvalue;
break; break;
} }
int32 value = basePoints; int32 value = basePoints;

View file

@ -675,7 +675,7 @@ void WorldSession::LoadTutorialsData()
QueryResult *result = CharacterDatabase.PQuery("SELECT tut0,tut1,tut2,tut3,tut4,tut5,tut6,tut7 FROM character_tutorial WHERE account = '%u'", GetAccountId()); QueryResult *result = CharacterDatabase.PQuery("SELECT tut0,tut1,tut2,tut3,tut4,tut5,tut6,tut7 FROM character_tutorial WHERE account = '%u'", GetAccountId());
if(!result) if(!result)
{ {
m_tutorialState = TUTORIALDATA_NEW; m_tutorialState = TUTORIALDATA_NEW;
return; return;
} }

View file

@ -171,4 +171,3 @@ struct Namespace namespaces[] =
{ "ns1", "urn:MaNGOS" }, // "ns1" namespace prefix { "ns1", "urn:MaNGOS" }, // "ns1" namespace prefix
{ NULL, NULL } { NULL, NULL }
}; };

View file

@ -115,4 +115,3 @@ class SOAPCommand
}; };
#endif #endif

View file

@ -323,4 +323,3 @@ int RASocket::sendf(const char* msg)
} }
return 0; return 0;
} }

View file

@ -1642,4 +1642,3 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag
} }
/* End of soapC.cpp */ /* End of soapC.cpp */

View file

@ -236,4 +236,3 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **
#endif #endif
/* End of soapH.h */ /* End of soapH.h */

View file

@ -124,4 +124,3 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
} }
/* End of soapServer.cpp */ /* End of soapServer.cpp */

View file

@ -181,4 +181,3 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap*);
#endif #endif
/* End of soapStub.h */ /* End of soapStub.h */

View file

@ -487,4 +487,3 @@ void hexEncodeByteArray(uint8* bytes, uint32 arrayLen, std::string& result)
} }
result = ss.str(); result = ss.str();
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9778" #define REVISION_NR "9779"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__