SQL: Any content SQL should be able to be re-imported without errors; Fix an import error in world_scripts_full;

P.S Full DB will be available soon
Closes #586
This commit is contained in:
Nay
2011-02-07 21:52:14 +00:00
parent 774f8e8650
commit f81cfca7bd
9 changed files with 14 additions and 18 deletions
@@ -1 +1,2 @@
DELETE FROM `spell_bonus_data` WHERE `entry`=70809;
INSERT INTO `spell_bonus_data` VALUES (70809, 0, 0, 0, 0, 'Item - Shaman T10 Restoration 4P Bonus');
@@ -1,4 +1,4 @@
DELETE FROM `spell_script_names` WHERE `spell_id`=73032 AND `ScriptName`='spell_stinky_precious_decimate';
DELETE FROM `spell_script_names` WHERE `spell_id`=71123 AND `ScriptName`='spell_stinky_precious_decimate';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (73032,73031,71219,69195) AND `ScriptName`='spell_festergut_pungent_blight';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (72219,72551,72552,72553) AND `ScriptName`='spell_festergut_gastric_bloat';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (69290,71222,73033,73034) AND `ScriptName`='spell_festergut_blighted_spores';
@@ -2,7 +2,7 @@ DELETE FROM `spell_script_names` WHERE `spell_id`=71598 AND `ScriptName`='spell_
DELETE FROM `spell_script_names` WHERE `spell_id`=71806 AND `ScriptName`='spell_taldaram_glittering_sparks';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (71718,72040) AND `ScriptName`='spell_taldaram_summon_flame_ball';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (55891,55947) AND `ScriptName`='spell_taldaram_flame_ball_visual';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (71756,72782,72783,72783) AND `ScriptName`='spell_taldaram_ball_of_inferno_flame';
DELETE FROM `spell_script_names` WHERE `spell_id` IN (71756,72782,72783,72784) AND `ScriptName`='spell_taldaram_ball_of_inferno_flame';
DELETE FROM `spell_script_names` WHERE `spell_id`=72080 AND `ScriptName`='spell_valanar_kinetic_bomb';
DELETE FROM `spell_script_names` WHERE `spell_id`=72087 AND `ScriptName`='spell_valanar_kinetic_bomb_knockback';
DELETE FROM `spell_script_names` WHERE `spell_id`=73001 AND `ScriptName`='spell_blood_council_shadow_prison';
@@ -21,4 +21,4 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(72080,'spell_valanar_kinetic_bomb'),
(72087,'spell_valanar_kinetic_bomb_knockback'),
(73001,'spell_blood_council_shadow_prison'),
(72999,'spell_blood_council_shadow_prison_damage');
(72999,'spell_blood_council_shadow_prison_damage');
+1 -1
View File
@@ -1,4 +1,4 @@
-- Up to TC2 5408
-- Up to TC 11181
--
-- trinityscript_script_texts.sql Contains data for table `script_texts` mainly used in C++ parts.
-- valid entries for table are between -1000000 and -1999999
+1 -7
View File
@@ -1,4 +1,4 @@
-- Up to TC2 5408
-- Up to TC 11181
-- This file contains all waypoints used by escortAI scripts
/*
@@ -15,12 +15,6 @@ CREATE TABLE `script_waypoint` (
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints';
*/
--
-- Not sure why we don't just run
-- DELETE FROM `script_waypoint`;
-- I mean seriously, who has custom waypoint creatures?
--
DELETE FROM `script_waypoint` WHERE `entry`=26170;
INSERT INTO `script_waypoint` VALUES
(26170,1,3700.08,3574.54,473.322,0, ''),
+1 -2
View File
@@ -1,4 +1,4 @@
-- Up to TC2 6928
-- Up to TC 11181
-- Cleanup first
UPDATE `battleground_template` SET `ScriptName`='';
@@ -1824,7 +1824,6 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
( 46394, 'spell_gen_burn_brutallus'),
( 57685, 'spell_creature_permanent_feign_death'),
( 58601, 'spell_gen_remove_flight_auras'),
( 66118, 'spell_gen_leeching_swarm'),
( 58951, 'spell_creature_permanent_feign_death'),
( 70592, 'spell_creature_permanent_feign_death'),
( 70628, 'spell_creature_permanent_feign_death'),
@@ -1,3 +1,4 @@
DELETE FROM `spell_dbc` WHERE `Id` IN (58630,68572,68574,59046,68184,59450,65195,64899,64985,65074);
INSERT INTO `spell_dbc` (`Id`,`Dispel`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`Stances`,`StancesNot`,`Targets`,`CastingTimeIndex`,`AuraInterruptFlags`,`ProcFlags`,`ProcChance`,`ProcCharges`,
`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`RangeIndex`,`StackAmount`,`EquippedItemClass`,`EquippedItemSubClassMask`,`EquippedItemInventoryTypeMask`,`Effect1`,`Effect2`,`Effect3`,`EffectDieSides1`,`EffectDieSides2`,`EffectDieSides3`,
`EffectRealPointsPerLevel1`,`EffectRealPointsPerLevel2`,`EffectRealPointsPerLevel3`,`EffectBasePoints1`,`EffectBasePoints2`,`EffectBasePoints3`,`EffectMechanic1`,`EffectMechanic2`,`EffectMechanic3`,`EffectImplicitTargetA1`,`EffectImplicitTargetA2`,`EffectImplicitTargetA3`,
@@ -1,11 +1,12 @@
-- Missing relation for quest You've Been Served
INSERT INTO `creature_questrelation`(`id`,`quest`) VALUES
(38208,14488);
INSERT INTO `creature_involvedrelation`(`id`,`quest`) VALUES
(36296,14488);
DELETE FROM `creature_questrelation` WHERE `id`=38208 AND `quest`=14488;
DELETE FROM `creature_involvedrelation` WHERE `id`=36296 AND `quest`=14488;
INSERT INTO `creature_questrelation`(`id`,`quest`) VALUES (38208,14488);
INSERT INTO `creature_involvedrelation`(`id`,`quest`) VALUES (36296,14488);
-- Missing loot form Standard Apothecary Serving Kit request for quest You've Been Served
INSERT INTO `item_loot_template`(`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES
DELETE FROM `item_loot_template` WHERE `entry`=49631 AND `item` IN (49352,49351,49635);
INSERT INTO `item_loot_template`(`entry`,`item`,`ChanceOrQuestChance`,`lootmode`,`groupid`,`mincountOrRef`,`maxcount`) VALUES
(49631,49352,100,1,0,1,1),
(49631,49351,100,1,0,1,1),
(49631,49635,100,1,0,1,1);