DB/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes
2016-09-14 14:28:16 +02:00
parent 549d2add69
commit cc0651765a
11 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (26170, 37382, 39373);
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(26170, 0, 0, 0, 0, 'Oracular Heal (Priest AQ Set 3pc Bonus)'),
(37382, 0, 0, 0, 0, 'Pet Healing (Hunter & Warlock T5 Set 2pc Bonus'),
(39373, 0, 0, 0, 0, 'Shadowmend (Shadow''s Embrace Set 3pc Bonus');

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` = 70772;
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(70772, 0, 0, 0, 0, 'Item - Priest T10 Healer 2P Bonus');

View File

@@ -0,0 +1 @@
UPDATE `spell_dbc` SET `AttributesEx3`=`AttributesEx3`|0x00000100, `AttributesEx2`=`AttributesEx2`|0x00000005 WHERE `Id` = 59450;

View File

@@ -0,0 +1,27 @@
--
SET @ENTRY := 27924;
UPDATE `creature_template` SET `AIName`="SmartAI", `InhabitType`=4, `speed_run`=5 WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY, 0, 0, 1, 54, 0, 100, 512, 0, 0, 0, 0, 53, 1, 27924, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dragonflayer Harpoon - On Summoned - Start Waypoint"),
(@ENTRY, 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 54, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dragonflayer Harpoon - On Summoned - Pause Waypoint for 2 seconds"),
(@ENTRY, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 11, 50011, 0, 0, 0, 0, 0, 1,0,0,0,0,0,0,0,"Dragonflayer Harpoon - On Summoned - Cast 'Dragonflayer Harpoon Sounds' on self"),
(@ENTRY, 0, 3, 4, 40, 0, 100, 512, 5, 27924, 0, 0, 15, 11436, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "Dragonflayer Harpoon - On Waypoint 5 Reached - Quest Credit 'Let's Go Surfing Now'"),
(@ENTRY, 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Dragonflayer Harpoon - On Waypoint 5 Reached - Despawn");
DELETE FROM `waypoints` WHERE `entry`=27924;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(@ENTRY, 1, 803.085, -5333.39, 191.903, "Dragonflayer Harpoon"),
(@ENTRY, 2, 761.183, -5268.77, 152.492, "Dragonflayer Harpoon"),
(@ENTRY, 3, 695.561, -5155.04, 81.2906, "Dragonflayer Harpoon"),
(@ENTRY, 4, 647.533, -5073.72, 29.9669, "Dragonflayer Harpoon"),
(@ENTRY, 5, 621.608, -5027.49, 2.03123, "Dragonflayer Harpoon");
DELETE FROM `creature_template_addon` WHERE `entry`=27924;
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
(@ENTRY, 0, 0, 0x1000000|0x2000000, 0x1, 0, "");
UPDATE `creature` SET `MovementType`=0, `spawndist`=0 WHERE `guid`=107391;
DELETE FROM `spell_target_position` WHERE `ID`=50007;
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
(50007, 0, 571, 803.878, -5338.85, 193.281, 2.0246, 12340);

View File

@@ -0,0 +1,2 @@
--
UPDATE `smart_scripts` SET `event_chance`=5 WHERE `entryorguid`=24120 AND `id`=1;

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` = 34299;
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(34299, 0, 0, 0, 0, 'Improved Leader of the Pack - Heal Effect');

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` = 54755;
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(54755, 0, 0, 0, 0, 'Glyph of Rejuvenation');

View File

@@ -0,0 +1,4 @@
-- Condition for Pet Trainer gossip menu option, condition type PetType
DELETE FROM `conditions` WHERE `ConditionTypeOrReference`= 45 AND `SourceGroup`= 4783 AND `SourceEntry`= 1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
(15,4783,1,0,0,45,0,2,0,0,0,0,0, '','Show gossip menu 4783 option id 1 if Pet Type is hunter pet.');

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` = 71023;
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(71023, 0, 0, 0, 0, 'Languish - Druid T10 Balance 4p Bonus');

View File

@@ -0,0 +1,7 @@
-- Fix Jewelcrafting stone statues for charm SAI changes
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (18372,18738) AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`event_type`,`event_chance`,`action_type`,`action_param1`,`target_type`,`comment`) VALUES
(18372,0,1,100,11,32253,23,"Rough Stone Statue - OOC - Cast 'Stone Healing'"),
(18738,0,1,100,11,32792,23,"Primal Stone Statue - OOC - Cast 'Stone Healing'");
UPDATE `creature_template` SET `AIName`="SmartAI",`ScriptName`="" WHERE `entry` IN (18372,18738);
UPDATE `smart_scripts` SET `event_flags`=(`event_flags`|0x200) WHERE `entryorguid` IN (18372,18734,18735,18736,18737,18738) AND `source_type`=0;

View File

@@ -0,0 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry`=54203;
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(54203, 0, 0, 0, 0, 'Sheath of Light');