Permalink
Browse files

DB: TDB 43: Move SQL updates to the old directory

  • Loading branch information...
1 parent afb2289 commit 94474786301c3c2359e2f2a2fb340b49189700ba @DDuarte DDuarte committed Nov 23, 2011
Showing with 7,514 additions and 0 deletions.
  1. +1 −0 sql/old/3.3.5a/2011_10_29_00_world_version.sql
  2. +9 −0 sql/old/3.3.5a/2011_10_29_01_world_gameobject_template.sql
  3. +1 −0 sql/old/3.3.5a/2011_10_29_02_world_gameobject_template.sql
  4. +5 −0 sql/old/3.3.5a/2011_10_29_03_world_gameobject_template.sql
  5. +7 −0 sql/old/3.3.5a/2011_10_29_04_world_linked_respawn.sql
  6. +26 −0 sql/old/3.3.5a/2011_10_29_05_world_sai.sql
  7. +11 −0 sql/old/3.3.5a/2011_10_29_06_world_misc.sql
  8. +6 −0 sql/old/3.3.5a/2011_10_29_06_world_sai.sql
  9. +13 −0 sql/old/3.3.5a/2011_10_29_07_world_gameobjects.sql
  10. +20 −0 sql/old/3.3.5a/2011_10_30_00_world_misc.sql
  11. +54 −0 sql/old/3.3.5a/2011_10_30_01_world_misc.sql
  12. +33 −0 sql/old/3.3.5a/2011_10_30_02_world_creature_template.sql
  13. +63 −0 sql/old/3.3.5a/2011_10_30_02_world_player_factionchange_achievement.sql
  14. +9 −0 sql/old/3.3.5a/2011_11_01_00_world_sai.sql
  15. +7 −0 sql/old/3.3.5a/2011_11_07_00_world_player_factionchange_items.sql
  16. +3 −0 sql/old/3.3.5a/2011_11_07_01_world_areatrigger_teleport.sql
  17. +10 −0 sql/old/3.3.5a/2011_11_07_02_world_misc.sql
  18. +6 −0 sql/old/3.3.5a/2011_11_07_03_world_misc.sql
  19. +1 −0 sql/old/3.3.5a/2011_11_11_00_world_spell_proc_event.sql
  20. +14 −0 sql/old/3.3.5a/2011_11_11_01_world_misc.sql
  21. +4 −0 sql/old/3.3.5a/2011_11_13_00_world_spell_proc_event.sql
  22. +38 −0 sql/old/3.3.5a/2011_11_13_01_world_sai.sql
  23. +6,095 −0 sql/old/3.3.5a/2011_11_13_02_world_pool_template.sql
  24. +5 −0 sql/old/3.3.5a/2011_11_13_03_world_npc_trainer.sql
  25. +4 −0 sql/old/3.3.5a/2011_11_13_04_world_creature_loot_template.sql
  26. +4 −0 sql/old/3.3.5a/2011_11_13_05_world_creature_loot_template.sql
  27. +9 −0 sql/old/3.3.5a/2011_11_13_06_world_reference_loot_template.sql
  28. +5 −0 sql/old/3.3.5a/2011_11_13_07_world_creature_loot_template.sql
  29. +2 −0 sql/old/3.3.5a/2011_11_13_08_world_creature_loot_template.sql
  30. +2 −0 sql/old/3.3.5a/2011_11_13_09_world_creature_loot_template.sql
  31. +2 −0 sql/old/3.3.5a/2011_11_13_10_world_creature_loot_template.sql
  32. +6 −0 sql/old/3.3.5a/2011_11_13_11_world_creature_loot_template.sql
  33. +4 −0 sql/old/3.3.5a/2011_11_13_12_world_creature_loot_template.sql
  34. +1 −0 sql/old/3.3.5a/2011_11_20_00_world_command.sql
  35. +45 −0 sql/old/3.3.5a/2011_11_20_01_world_sai.sql
  36. +45 −0 sql/old/3.3.5a/2011_11_20_02_world_sai.sql
  37. +49 −0 sql/old/3.3.5a/2011_11_20_03_world_sai.sql
  38. +24 −0 sql/old/3.3.5a/2011_11_20_04_world_sai.sql
  39. +78 −0 sql/old/3.3.5a/2011_11_20_05_world_sai.sql
  40. +57 −0 sql/old/3.3.5a/2011_11_20_06_world_sai.sql
  41. +212 −0 sql/old/3.3.5a/2011_11_20_07_world_sai.sql
  42. +5 −0 sql/old/3.3.5a/2011_11_20_08_world_achievement_criteria_data.sql
  43. +35 −0 sql/old/3.3.5a/2011_11_20_09_world_sai.sql
  44. +55 −0 sql/old/3.3.5a/2011_11_20_10_world_sai.sql
  45. +9 −0 sql/old/3.3.5a/2011_11_20_11_world_sai.sql
  46. +30 −0 sql/old/3.3.5a/2011_11_20_12_world_sai.sql
  47. +15 −0 sql/old/3.3.5a/2011_11_20_13_world_sai.sql
  48. +4 −0 sql/old/3.3.5a/2011_11_20_14_world_revert.sql
  49. +41 −0 sql/old/3.3.5a/2011_11_20_15_world_sai.sql
  50. +11 −0 sql/old/3.3.5a/2011_11_21_00_world_db_errors.sql
  51. +1 −0 sql/old/3.3.5a/2011_11_21_01_pilgrim_achievement_reward.sql
  52. +11 −0 sql/old/3.3.5a/2011_11_21_02_pilgrim_achievement_criteria_data.sql
  53. +145 −0 sql/old/3.3.5a/2011_11_21_03_pilgrim_misc.sql
  54. +109 −0 sql/old/3.3.5a/2011_11_21_04_pilgrim_misc.sql
  55. +52 −0 sql/old/3.3.5a/2011_11_21_05_pilgrim_tables.sql
  56. +1 −0 sql/updates/world/2011_11_24_00_world_version.sql
@@ -0,0 +1 @@
+UPDATE `version` SET `db_version`='TDB 335.11.43' LIMIT 1;
@@ -0,0 +1,9 @@
+-- Size adjustment on a hand-made template
+UPDATE `gameobject_template` SET `size`=2, `WDBVerified`=-1 WHERE `entry`=194328;
+-- Add some missing templates, need WDB data (data1/lootId is guessed based on logic sequence, rest is copied based on other templates of the chest)
+DELETE FROM `gameobject_template` WHERE `entry` IN(194326,194329,194330);
+INSERT INTO `gameobject_template` (`entry`,`type`,`displayId`,`name`,`size`,`data0`,`data1`,`data3`,`data11`,`data13`,`data15`,`WDBVerified`) VALUES
+(194326,3,8628,'Freya\'s Gift',2,1634,27080,1,1,1,1,-1),
+(194329,3,8628,'Freya\'s Gift',2,1634,27082,1,1,1,1,-1),
+(194330,3,8628,'Freya\'s Gift',2,1634,27083,1,1,1,1,-1);
+
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`= 'go_massive_seaforium_charge' WHERE `entry` IN (195235,195331);
@@ -0,0 +1,5 @@
+-- 25 man chest loot IDs
+UPDATE `gameobject_template` SET `data1`=26961 WHERE `entry`=194330;
+UPDATE `gameobject_template` SET `data1`=26960 WHERE `entry`=194329;
+UPDATE `gameobject_template` SET `data1`=26959 WHERE `entry`=194328;
+
@@ -0,0 +1,7 @@
+DELETE FROM `linked_respawn` WHERE `linkedGuid`=126982 AND `guid` IN (126978,126971,126977,126969,126968);
+INSERT INTO `linked_respawn` (`guid`, `linkedGuid`) VALUES
+(126978, 126982),
+(126971, 126982),
+(126977, 126982),
+(126969, 126982),
+(126968, 126982);
@@ -0,0 +1,26 @@
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceEntry`=33581; -- item
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (43315,43371); -- spell
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=43315; -- spell2
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+-- (13, 0, 43315, 0, 18, 1, 24238, 5, 0, '', 'Only use Insult on Bjorn Halgurdsson'),
+-- (18, 0, 33581, 0, 24, 1, 24238, 0, 0, '', 'Only use Insult on Bjorn Halgurdsson'),
+(17, 0, 43315, 0, 19, 24238, 0, 0, 63, '', 'Vrykul Insult - Bjorn Halgurdsson'), -- "Invalid Target" trinity_string
+(13, 0, 43371, 0, 18, 1, 0, 0, 0, '', 'Bjorn Kill Credit - Players');
+
+DELETE FROM `creature_text` WHERE `entry`=24238;
+INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
+(24238, 0, 0, 'Drive the invaders out! For Queen Angerboda!', 14, 0, 100, 0, 0, 0, 'Bjorn Halgurdsson - On aggro 1'),
+(24238, 1, 0, 'No one speaks of my mother in that manner!', 14, 0, 100, 0, 0, 0, 'Bjorn Halgurdsson - On aggro 2'),
+(24238, 2, 0, 'Fight without fear and the Val''kyr will reward you!', 14, 0, 100, 0, 0, 0, 'Bjorn Halgurdsson - Random 1'),
+(24238, 2, 1, 'The Winterskorn tribe will prevail!', 14, 0, 100, 0, 0, 0, 'Bjorn Halgurdsson - Random 2');
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=24238 AND `source_type`=0;
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(24238, 0, 0, 0, 6, 0, 100, 0, 0, 0, 0, 0, 11, 43371, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Bjorn Halgurdsson - On death cast Bjorn Kill Credit (Quest: Adding Injury to Insult)'),
+(24238, 0, 1, 0, 0, 0, 100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Bjorn Halgurdsson - In combat (nr) say text 0'),
+(24238, 0, 2, 0, 0, 0, 100, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Bjorn Halgurdsson - In combat (nr) say text 1'),
+(24238, 0, 3, 0, 0, 0, 100, 0, 5000, 10000, 10000, 15000, 11, 32736, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Bjorn Halgurdsson - In combat cast Mortal Strike'),
+(24238, 0, 4, 0, 0, 0, 100, 0, 0, 5000, 10000, 15000, 11, 33661, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Bjorn Halgurdsson - In combat cast Crush Armor'),
+(24238, 0, 5, 0, 0, 0, 100, 0, 10000, 150000, 10000, 15000, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 , 0, 0, 'Bjorn Halgurdsson - In combat say text 2');
+
+UPDATE `creature_template` SET `AIName`='SmartAI', `mechanic_immune_mask`=`mechanic_immune_mask`|1|2|8|16|32|64|1024|2048|4096|16384|65536|131072|524288|2097152|8388608|536870912|67108864 WHERE `entry`=24238;
@@ -0,0 +1,11 @@
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (17,13) AND `SourceEntry`=43381; -- had wrong condition target
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceEntry`=33621;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(18, 0, 33621, 0, 24, 1, 24199, 0, 63, '', 'Plague Spray - Plagued Dragonflayer Handler'),
+(18, 0, 33621, 0, 24, 1, 24198, 0, 63, '', 'Plague Spray - Plagued Dragonflayer Rune-Caster'),
+(18, 0, 33621, 0, 24, 1, 23564, 0, 63, '', 'Plague Spray - Plagued Dragonflayer Tribesman'),
+(13, 0, 43385, 0, 18, 1, 0, 0, 0, '', 'Plagued Vrykul Dummy - Players');
+
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=43385;
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(43385, 43384, 1, 'Plague Spray'); -- this is not entirely correct
@@ -0,0 +1,6 @@
+SET @ENTRY := 28566; -- "Tipsy" McManus
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY*100+8 AND `source_type`=9 AND `id`=3;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY*100+7 AND `source_type`=9 AND `id`=2;
+INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`, `event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`, `target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
+(@ENTRY*100+8,9,3,0,0,0,100,0,0,0,0,0,81,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tipsy McManus - Script 8 - Set gossip flag"),
+(@ENTRY*100+7,9,2,0,0,0,100,0,0,0,0,0,81,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tipsy McManus - Script 7 - Set gossip flag");
@@ -0,0 +1,13 @@
+-- dummy spell focus gameobject
+DELETE FROM `gameobject_template` WHERE `entry`=300245 AND `type`=8 AND `data0`=1636;
+INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `AIName`, `ScriptName`, `WDBVerified`) VALUES
+(300245, 8, 0, 'TEMP Forgemaster''s Anvil', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 1636, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 1);
+
+-- untargetable flag if not in quest
+UPDATE `gameobject_template` SET `flags`=`flags`|4 WHERE `entry`=201592; -- Infused Saronite Bars
+
+-- spawn
+DELETE FROM `gameobject` WHERE `id`=300245;
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
+(207, 300245, 658, 3, 1, 727.988, -121.675, 515.259, 4.29381, 0, 0, 0.838588, -0.544766, 300, 0, 1),
+(215, 300245, 658, 3, 1, 661.331, -121.89, 514.948, 1.34464, 0, 0, 0.622803, 0.782378, 300, 0, 1);
@@ -0,0 +1,20 @@
+-- trigger spawn X: 5672.294 Y: 2520.686 Z: 713.4386 O: 0.9599311 (21:01:58)
+-- at 21:04:00 it casts 70663 (Shadownova) (when spellhit by 69922)
+-- at 21:04:00 it casts 69956 (Return Tempered Quel'Delar) at player
+
+UPDATE `creature_template` SET `faction_A`=190,`faction_H`=190,`baseattacktime`=2000,`unit_flags`=`unit_flags`|768,`flags_extra`=`flags_extra`|128,`AIName`='SmartAI' WHERE `entry`=37094; -- Crucible of Souls
+
+UPDATE `creature_model_info` SET `bounding_radius`=1.25,`combat_reach`=2.5,`gender`=2 WHERE `modelid`=30822; -- Crucible of Souls
+
+DELETE FROM `creature_template_addon` WHERE `entry`=37094;
+INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
+(37094,0,0,1,0, '69859'); -- Crucible of Souls (Crucible of Souls Visual)
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=69922;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(13,0,69922,0,18,1,37094,0,0,'', 'Temper Quel''Delar - Crucible of Souls');
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=37094 AND `source_type`=0;
+INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
+(37094,0,0,1,8,0,0,0,69922,0,0,0,11,70663,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crucible of Souls - On spellhit by Temper Quel''Delar cast Shadownova'),
+(37094,0,1,0,61,0,0,0,69922,0,0,0,11,69956,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Crucible of Souls - On spellhit by Temper Quel''Delar (link) cast Return Tempered Quel''Delar');
@@ -0,0 +1,54 @@
+-- spell target position
+DELETE FROM `spell_target_position` WHERE `id`=60905;
+INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(60905, 571, 6435, 2366.9, 465.7, 0); -- Portal Effect: Naz'anak Exit
+
+-- templates
+UPDATE `gameobject_template` SET `flags`=`flags`|32 WHERE `entry`=193991; -- Altar of the Ebon Depths
+UPDATE `gameobject_template` SET `flags`=0,`AIName`='SmartGameObjectAI' WHERE `entry`=193195; -- Pulsing Crystal
+UPDATE `creature_template` SET `AIName`='SmartAI',`lootid`=`entry` WHERE `entry`=31691; -- Faceless Lurker
+UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=31237; -- Matthias Lehner
+
+-- addon
+DELETE FROM `creature_template_addon` WHERE `entry` IN (31691,31237);
+INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
+(31691,0,0,1,0, NULL), -- Faceless Lurker
+(31237,0,0,1,0, '10848'); -- Matthias Lehner (Shroud of Death)
+
+-- model info
+UPDATE `creature_model_info` SET `bounding_radius`=1.3,`combat_reach`=1.3,`gender`=0 WHERE `modelid`=27522; -- Matthias Lehner
+
+-- scripts
+DELETE FROM `smart_scripts` WHERE `entryorguid`=31691 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=31237 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=193195 AND `source_type`=1;
+INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
+(31691,0,0,0,0,0,100,1,0,0,0,0,11,52342,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Faceless Lurker - On aggro cast Seething Evil'),
+(193195,1,0,0,19,0,100,0,13390,0,0,0,45,1,1,0,0,0,0,10,203360,31237,0,0,0,0,0, 'Pulsing Crystal - On A Voice in the Dark (A) quest accept set data to Matthias Lehner'),
+(193195,1,1,0,19,0,100,0,13271,0,0,0,45,1,1,0,0,0,0,10,203360,31237,0,0,0,0,0, 'Pulsing Crystal - On A Voice in the Dark (H) quest accept set data to Matthias Lehner'),
+(31237,0,0,0,38,0,100,0,1,1,0,0,1,0,0,0,0,0,0,21,60,0,0,0,0,0,0, 'Matthias Lehner - On data set (quest accepted at Pulsing Crystal) say text 0');
+DELETE FROM `creature_text` WHERE `entry`=31237;
+INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
+(31237,0,0, 'You shouldn''t have done that! He''s not going to like it.',15,0,100,0,0,0, 'Matthias Lehner - On quest accept');
+
+-- loot
+-- WTB ZxBiohazardZx to do lootz
+DELETE FROM `creature_loot_template` WHERE `entry`=31691;
+INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
+(31691,45912,0.1,1,0,1,1), -- Book of Glyph Mastery
+(31691,44001,-60,1,0,1,1), -- Faceless One's Blood
+(31691,35063,100,1,0,-35063,1), -- trash
+(31691,26041,100,1,0,-26041,1); -- frostweave
+
+-- Link some mobs on HoS with Krystallus (by Aokromes) (unrelated)
+DELETE FROM `linked_respawn` WHERE `linkedGuid`=126792 AND `guid` IN (126710,126691,126702,126708,126743);
+INSERT INTO `linked_respawn` (`guid`,`linkedGuid`) VALUES
+(126710,126792),
+(126691,126792),
+(126702,126792),
+(126708,126792),
+(126743,126792);
+
+-- correct db errors recently found
+UPDATE `smart_scripts` SET `target_param1`=40 WHERE `entryorguid`=1435404 AND `source_type`=9 AND `id`=10 AND `link`=0;
+UPDATE `smart_scripts` SET `target_param1`=40 WHERE `entryorguid`=1905500 AND `source_type`=9 AND `id`=03 AND `link`=0;
@@ -0,0 +1,33 @@
+UPDATE `creature_template` SET `AIName`='',`spell1`=11901 WHERE `entry`=8179; -- Greater Healing Ward
+UPDATE `creature_template` SET `AIName`='',`spell1`=6276 WHERE `entry`=3844; -- Healing Ward IV
+UPDATE `creature_template` SET `AIName`='',`spell1`=4972 WHERE `entry`=2992; -- Healing Ward V
+UPDATE `creature_template` SET `spell1`=31986 WHERE `entry`=18177; -- Tainted Stoneskin Totem
+UPDATE `creature_template` SET `AIName`='',`spell1`=34978 WHERE `entry`=20208; -- Mennu's Healing Ward
+UPDATE `creature_template` SET `AIName`='',`spell1`=52894 WHERE `entry`=29225; -- Anti-Magic Zone
+UPDATE `creature_template` SET `AIName`='',`spell1`=56762 WHERE `entry`=30444; -- The Chieftain's Totem
+UPDATE `creature_template` SET `AIName`='',`spell1`=46373 WHERE `entry`=25987; -- Windsoul Totem
+UPDATE `creature_template` SET `AIName`='',`spell1`=12507 WHERE `entry`=8510; -- Atal'ai Totem
+UPDATE `creature_template` SET `faction_A`=35,`faction_H`=35,`minlevel`=1,`maxlevel`=1,`baseattacktime`=2000,`unit_class`=1,`speed_walk`=1,`speed_run`=1 WHERE `entry`=3968; -- Sentry Totem
+UPDATE `creature_template` SET `minlevel`=1,`maxlevel`=1,`unit_class`=1,`speed_walk`=1,`speed_run`=1 WHERE `entry`=7484; -- Windfury Totem III
+UPDATE `creature_template` SET `minlevel`=1,`maxlevel`=1 WHERE `entry`=15483; -- Fire Nova Totem VII
+UPDATE `creature_template` SET `faction_A`=1759,`faction_H`=1759 WHERE `entry`=19222; -- Magma Flow Totem
+UPDATE `creature_template` SET `faction_A`=74,`faction_H`=74,`speed_walk`=1,`speed_run`=1,`spell1`=33134 WHERE `entry`=18179; -- Corrupted Nova Totem
+UPDATE `creature_template` SET `faction_A`=74,`faction_H`=74,`baseattacktime`=2000,`speed_walk`=1,`speed_run`=1,`spell1`=31982 WHERE `entry`=18176; -- Tainted Earthgrab Totem
+UPDATE `creature_template` SET `minlevel`=1,`maxlevel`=1,`unit_flags`=`unit_flags`|512,`speed_run`=0.99206 WHERE `entry`=20455; -- Terror Totem
+
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=8179; -- Greater Healing Ward
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=3844; -- Healing Ward IV
+DELETE FROM `creature_ai_scripts` WHERE `id`=1817702; -- Tainted Stoneskin Totem
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=20208; -- Mennu's Healing Ward
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=8510; -- Atal'ai Totem
+
+DELETE FROM `creature_template_addon` WHERE `entry` IN (3968,7484,15483,19222,24046,24045,18179,18176);
+INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
+(3968,0,0,1,0, NULL), -- Sentry Totem
+(7484,0,0,1,0, NULL), -- Windfury Totem III
+(15483,0,0,1,0, NULL), -- Fire Nova Totem VII
+(19222,0,0,1,0, NULL), -- Magma Flow Totem
+(24046,0,0,257,0, NULL), -- Fire Spirit Totem
+(24045,0,0,257,0, NULL), -- Water Spirit Totem
+(18179,0,0,1,0, NULL), -- Corrupted Nova Totem
+(18176,0,0,1,0, NULL); -- Tainted Earthgrab Totem
@@ -0,0 +1,63 @@
+-- World Event
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (2144,1707,2797,1038,1656,1684,1692) AND `horde_id` IN (2145,1693,2798,1039,1657,1683,1691);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(2144,2145), -- What A Long, Strange Trip It's Been
+(1707,1693), -- Fool For Love
+(2797,2798), -- Noble Gardener
+(1038,1039), -- The Flame Warden / Keeper
+(1656,1657), -- Hallowed Be Thy Name
+(1684,1683), -- Brewmaster
+(1692,1691); -- Merrymaker
+
+-- World Event: Hallow's End
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (963,966,969,970,1040) AND `horde_id` IN (971,967,965,968,1041);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(970,971), -- Tricks and Treats of Azeroth
+(966,967), -- Tricks and Treats of Eastern Kingdoms
+(963,965), -- Tricks and Treats of Kalimdor
+(969,968), -- Tricks and Treats of Outland
+(1040,1041); -- Rotten Hallow
+
+-- World Event: Love is in the Air
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (1280,1697) AND `horde_id` IN (1279,1698);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(1280,1279), -- Flirt With Disaster
+(1697,1698); -- Nation of Adoration
+
+-- World Event: Noblegarden
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (2421,2419) AND `horde_id` IN (2420,2497);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(2421,2420), -- Noble Garden
+(2419,2497); -- Spring Fling
+
+-- World Event: Midsummer Fire Festival
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (1035,1028,1029,1030,1022,1023,1024,1034) AND `horde_id` IN (1037,1031,1032,1033,1025,1026,1027,1036);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(1035,1037), -- Desecration of the Alliance / Horde
+(1028,1031), -- Extinguishing Eastern Kingdoms
+(1029,1032), -- Extinguishing Kalimdor
+(1030,1033), -- Extinguishing Outland
+(1022,1025), -- Flame Warden / Keeper of Eastern Kingdoms
+(1023,1026), -- Flame Warden / Keeper of Kalimdor
+(1024,1027), -- Flame Warden / Keeper of Outland
+(1034,1036); -- The Fires of Azeroth
+
+-- World Event: Brewfest
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (1184) AND `horde_id` IN (1203);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(1184,1203); -- Strange Brew
+
+-- World Event: Pilgrim's Bounty
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (3576,3556,3580,3596) AND `horde_id` IN (3577,3557,3581,3597);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(3576,3577), -- Now We're Cookin'
+(3556,3557), -- Pilgrim's Paunch
+(3580,3581), -- Pilgrim's Peril
+(3596,3597); -- Pilgrim's Progress
+
+-- World Event: Feast of Winter Veil
+DELETE FROM `player_factionchange_achievement` WHERE `alliance_id` IN (4436,1686,1255) AND `horde_id` IN (4437,1685,259);
+INSERT INTO `player_factionchange_achievement` (`alliance_id`,`horde_id`) VALUES
+(4436,4437), -- BB King
+(1686,1685), -- Bros. Before Ho Ho Ho's
+(1255,259); -- Scrooge
Oops, something went wrong.

1 comment on commit 9447478

Member

DDuarte commented on 9447478 Nov 23, 2011

TDB 44 and not 43. Commit message has a typo

Please sign in to comment.