DB/Misc: 3.3.5a fixes

This commit is contained in:
Aokromes
2016-10-03 14:39:49 +02:00
parent 266d97d240
commit cf9a201c68
15 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
--
UPDATE `creature_text` SET `text`=(SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=14447), `BroadcastTextId`=14447 WHERE `entry`=17664 AND `groupid`=0;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=17664;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 4, 17664, 0, 0, 29, 1, 17853, 15, 0, 0, 0, 0, "", "Matis the Cruel must be within 15 yards of Tracker of the Hand in order to execute SAI ID 3");
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=31333;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 31333, 0, 0, 29, 0, 17664, 15, 0, 0, 0, 0, "", "Spell Signal Flare can be used within 15 yards of Matis the Cruel");
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (17664, 17853, 1785300);
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
(17664, 0, 0, 1, 38, 0, 100, 512, 1, 1, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Face Tracker of the Hand"),
(17664, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Attack Tracker of the Hand"),
(17664, 0, 3, 4, 2, 0, 100, 0, 0, 50, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Between 0 - 50% HP - Set Data on Tracker of the Hand"),
(17664, 0, 4, 5, 61, 0, 100, 1, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Immune to Player Character"),
(17664, 0, 5, 6, 61, 0, 100, 1, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Invincibility HP"),
(17664, 0, 6, 7, 61, 0, 100, 1, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Disable Auto Attack"),
(17664, 0, 7, 8, 61, 0, 100, 1, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Disable Combat Movement"),
(17664, 0, 8, 9, 61, 0, 100, 1, 2, 2, 0, 0, 90, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Bytes 1"),
(17664, 0, 9, 10, 61, 0, 100, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Say Line 2"),
(17664, 0, 10, 11, 61, 0, 100, 1, 25, 50, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Data 2 2 Tracker of the Hand"),
(17664, 0, 11, 12, 61, 0, 100, 1, 0, 0, 0, 0, 11, 31336, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Cast Matis Captured DND"),
(17664, 0, 12, 0, 61, 0, 100, 1, 0, 0, 0, 0, 41, 14000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Despawn after 14 seconds"),
(17853, 0, 0, 1, 54, 0, 100, 1, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 17664, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Just Summoned - Face Matis the Cruel"),
(17853, 0, 1, 2, 61, 0, 100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Just Summoned - Say Line 1"),
(17853, 0, 2, 3, 61, 0, 100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 17664, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Data Set - Say Line 1 (Matis the Cruel)"),
(17853, 0, 3, 4, 61, 0, 100, 1, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Just Summoned - Set Aggresive"),
(17853, 0, 4, 5, 61, 0, 100, 1, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Just Summoned - Set Data to Matis the Cruel"),
(17853, 0, 5, 0, 61, 0, 100, 1, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Just Summoned - Set Phase 2"),
(17853, 0, 6, 0, 38, 2, 100, 1, 1, 1, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 17664, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Data Set 1 1 (Phase 2) - Set Data 2 2 on Matis the Cruel"),
(17853, 0, 7, 0, 38, 0, 100, 1, 2, 2, 0, 0, 80, 1785300, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - On Data Set 2 2 - Run Script"),
(1785300, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - Script - Disable Auto Attack"),
(1785300, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - Script - Say Line 2"),
(1785300, 9, 2, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Tracker of the Hand - Script - Despawn");

View File

@@ -0,0 +1,4 @@
--
DELETE FROM `item_loot_template` WHERE `Entry`=6351 AND `Item`=2318;
UPDATE `item_loot_template` SET `Chance`=46.9 WHERE `Entry`=6351 AND `Item`=4364;
UPDATE `item_loot_template` SET `GroupId`=1 WHERE `Entry`=6351;

View File

@@ -0,0 +1,57 @@
--
DELETE FROM `item_loot_template` WHERE `Entry`=6307 AND `Item` IN (4363, 4377, 4382);
UPDATE `item_loot_template` SET `Chance`=2.5 WHERE `Entry`=6307 AND `Item` IN (6305, 6306);
DELETE FROM `gameobject_loot_template` WHERE `Entry`=2032;
INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(2032, 1477, 0, 2.5, 0, 1, 0, 1, 1, "Scroll of Agility II"),
(2032, 1711, 0, 4.2, 0, 1, 0, 1, 1, "Scroll of Stamina II"),
(2032, 2289, 0, 2.7, 0, 1, 0, 1, 1, "Scroll of Strength II"),
(2032, 2290, 0, 4.4, 0, 1, 0, 1, 1, "Scroll of Intellect II"),
(2032, 3608, 0, 0.02, 0, 1, 0, 1, 1, "Plans: Mighty Iron Hammer"),
(2032, 4098, 0, 25, 0, 1, 1, 1, 1, "Carefully Folded Note"),
(2032, 4100, 0, 25, 0, 1, 1, 1, 1, "Crumpled Note"),
(2032, 4101, 0, 25, 0, 1, 1, 1, 1, "Ripped Note"),
(2032, 4102, 0, 25, 0, 1, 1, 1, 1, "Torn Note"),
(2032, 4298, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Guardian Belt"),
(2032, 4299, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Guardian Armor"),
(2032, 4350, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Spider Silk Slippers"),
(2032, 4351, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Shadow Hood"),
(2032, 4352, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Boots of the Enchanter"),
(2032, 4412, 0, 0.02, 0, 1, 0, 1, 1, "Schematic: Moonsight Rifle"),
(2032, 4414, 0, 0.02, 0, 1, 0, 1, 1, "Schematic: Portable Bronze Mortar"),
(2032, 4416, 0, 0.02, 0, 1, 0, 1, 1, "Schematic: Goblin Land Mine"),
(2032, 4417, 0, 0.02, 0, 1, 0, 1, 1, "Schematic: Large Seaforium Charge"),
(2032, 5543, 0, 0.02, 0, 1, 0, 1, 1, "Plans: Iridescent Hammer"),
(2032, 5774, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Green Silk Pack"),
(2032, 6045, 0, 0.02, 0, 1, 0, 1, 1, "Plans: Iron Counterweight"),
(2032, 6454, 0, 0.02, 0, 1, 0, 1, 1, "Manual: Strong Anti-Venom"),
(2032, 7085, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Azure Shoulders"),
(2032, 7090, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Green Silk Armor"),
(2032, 7360, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Dark Leather Gloves"),
(2032, 7363, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Pilferer's Gloves"),
(2032, 7364, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Heavy Earthen Gloves"),
(2032, 7449, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Dusky Leather Leggings"),
(2032, 7450, 0, 0.02, 0, 1, 0, 1, 1, "Pattern: Green Whelp Armor"),
(2032, 7975, 0, 0.1, 0, 1, 0, 1, 1, "Plans: Heavy Mithril Pants"),
(2032, 7992, 0, 0.0508056, 0, 1, 0, 1, 1, "Plans: Blue Glittering Axe"),
(2032, 8029, 0, 0.0508056, 0, 1, 0, 1, 1, "Plans: Wicked Mithril Blade"),
(2032, 8385, 0, 0.0508056, 0, 1, 0, 1, 1, "Pattern: Turtle Scale Gloves"),
(2032, 8386, 0, 0.0580636, 0, 1, 0, 1, 1, "Pattern: Big Voodoo Robe"),
(2032, 8387, 0, 0.0725795, 0, 1, 0, 1, 1, "Pattern: Big Voodoo Mask"),
(2032, 9293, 0, 0.0435477, 0, 1, 0, 1, 1, "Recipe: Magic Resistance Potion"),
(2032, 10300, 0, 0.1, 0, 1, 0, 1, 1, "Pattern: Red Mageweave Vest"),
(2032, 10301, 0, 0.1, 0, 1, 0, 1, 1, "Pattern: White Bandit Mask"),
(2032, 10302, 0, 0.0653215, 0, 1, 0, 1, 1, "Pattern: Red Mageweave Pants"),
(2032, 10312, 0, 0.0290318, 0, 1, 0, 1, 1, "Pattern: Red Mageweave Gloves"),
(2032, 10424, 0, 0.02, 0, 1, 0, 1, 1, "Plans: Silvered Bronze Leggings"),
(2032, 10601, 0, 0.02, 0, 1, 0, 1, 1, "Schematic: Bright-Eye Goggles"),
(2032, 10603, 0, 0.0362897, 0, 1, 0, 1, 1, "Schematic: Catseye Ultra Goggles"),
(2032, 10604, 0, 0.0653215, 0, 1, 0, 1, 1, "Schematic: Mithril Heavy-bore Rifle"),
(2032, 10606, 0, 0.1, 0, 1, 0, 1, 1, "Schematic: Parachute Cloak"),
(2032, 11098, 0, 0.02, 0, 1, 0, 1, 1, "Formula: Enchant Cloak - Lesser Shadow Resistance"),
(2032, 11164, 0, 0.02, 0, 1, 0, 1, 1, "Formula: Enchant Weapon - Lesser Beastslayer"),
(2032, 11165, 0, 0.02, 0, 1, 0, 1, 1, "Formula: Enchant Weapon - Lesser Elemental Slayer"),
(2032, 11167, 0, 0.02, 0, 1, 0, 1, 1, "Formula: Enchant Boots - Lesser Spirit"),
(2032, 11202, 0, 0.0290318, 0, 1, 0, 1, 1, "Formula: Enchant Shield - Stamina"),
(2032, 11204, 0, 0.1, 0, 1, 0, 1, 1, "Formula: Enchant Bracer - Greater Spirit");

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_text` SET `entry`=6667, `groupid`=0 WHERE `entry`=6669 AND `groupid`=1;

View File

@@ -0,0 +1,19 @@
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=17664;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 3, 17664, 0, 0, 29, 1, 17853, 15, 0, 0, 0, 0, "", "Matis the Cruel must be within 15 yards of Tracker of the Hand in order to execute SAI ID 2");
DELETE FROM `smart_scripts` WHERE `entryorguid`=17664;
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
(17664, 0, 0, 1, 38, 0, 100, 512, 1, 1, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Face Tracker of the Hand"),
(17664, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Attack Tracker of the Hand"),
(17664, 0, 2, 3, 2, 0, 100, 0, 0, 50, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Between 0 - 50% HP - Set Data on Tracker of the Hand"),
(17664, 0, 3, 4, 61, 0, 100, 1, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Immune to Player Character"),
(17664, 0, 4, 5, 61, 0, 100, 1, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Invincibility HP"),
(17664, 0, 5, 6, 61, 0, 100, 1, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Disable Auto Attack"),
(17664, 0, 6, 7, 61, 0, 100, 1, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Disable Combat Movement"),
(17664, 0, 7, 8, 61, 0, 100, 1, 2, 2, 0, 0, 90, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Bytes 1"),
(17664, 0, 8, 9, 61, 0, 100, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Say Line 2"),
(17664, 0, 9, 10, 61, 0, 100, 1, 25, 50, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 17853, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Set Data 2 2 Tracker of the Hand"),
(17664, 0, 10, 11, 61, 0, 100, 1, 0, 0, 0, 0, 11, 31336, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Cast Matis Captured DND"),
(17664, 0, 11, 0, 61, 0, 100, 1, 0, 0, 0, 0, 41, 14000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Matis the Cruel - On Data Set - Despawn after 14 seconds");

View File

@@ -0,0 +1,4 @@
--
DELETE FROM `quest_template_addon` WHERE `ID`=986;
INSERT INTO `quest_template_addon` (`ID`, `PrevQuestID`) VALUES
(986, 985);

View File

@@ -0,0 +1,2 @@
--
UPDATE `quest_offer_reward` SET `RewardText`="Do not distress the bewilderment shown by those you have helped. It is common for those recently brought back to the world of the living to experience disorientation, but imagine the shock of meeting with a strange being at the same time.$B$BThe young shaman is blessed to have survived such a harsh lesson thanks to you, and it is befitting you be allowed to call upon this power as you see fit." WHERE `ID`=9600;

View File

@@ -0,0 +1,3 @@
--
UPDATE `smart_scripts` SET `event_phase_mask`=0, `action_param4`=1, `action_param5`=0 WHERE `entryorguid`=2688 AND `source_type`=1 AND `id`=0;
UPDATE `smart_scripts` SET `event_phase_mask`=0 WHERE `entryorguid`=25979 AND `source_type`=0 AND `id`=1;

View File

@@ -0,0 +1,22 @@
--
DELETE FROM `conditions` WHERE `SourceGroup`=5502 AND `SourceTypeOrReferenceId` IN (14, 15);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14, 5502, 6555, 0, 0, 8, 0, 1046, 0, 0, 0, 0, 0, "", "Gossip text requires quest Raene's Cleansing (Part 11) rewarded"),
(15, 5502, 0, 0, 0, 8, 0, 1029, 0, 0, 0, 0, 0, "", "Gossip option 0 requires quest Return to Raene rewarded AND"),
(15, 5502, 0, 0, 0, 2, 0, 5462, 1, 1, 1, 0, 0, "", "Gossip option 0 requires item Dartol's Rod of Transformation not in bags or bank");
DELETE FROM `npc_text` WHERE `ID`=50001;
INSERT INTO `npc_text` (`ID`, `text0_0`, `BroadcastTextID0`) VALUES
(50001, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=9026), 9026);
DELETE FROM `gossip_menu_option` WHERE `menu_id`=5502;
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(5502, 0, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=9025), 9025, 1, 1, 50001, 0, 0, 0, "", 0, 0);
DELETE FROM `gossip_menu` WHERE `entry`=50001;
INSERT INTO `gossip_menu` (`entry`, `text_id`, `VerifiedBuild`) VALUES
(50001, 50001, 0);
DELETE FROM `smart_scripts` WHERE `entryorguid`=3691 AND `id`=6;
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
(3691, 0, 6, 0, 62, 0, 100, 0, 5502, 0, 0, 0, 56, 5462, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Raene Wolfrunner - On Gossip Select - Add Item 'Dartol's Rod of Transformation'");

View File

@@ -0,0 +1,4 @@
--
DELETE FROM `smart_scripts` WHERE `entryorguid`=3691 AND `id`=6;
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
(3691, 0, 6, 0, 62, 0, 100, 0, 5502, 0, 0, 0, 11, 22227, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Raene Wolfrunner - On Gossip Select - Cast spell 'Create Dartol's Rod'");

View File

@@ -0,0 +1,47 @@
--
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (2338, 2339);
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2338, 2339);
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
(2338, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Twilight Disciple - On Aggro - Talk 0"),
(2338, 0, 1, 0, 2, 0, 100, 1, 0, 90, 0, 0, 11, 6074, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Twilight Disciple - Between 0-90% health - Cast 'Renew'"),
(2338, 0, 2, 0, 2, 0, 100, 1, 0, 30, 0, 0, 11, 2054, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Twilight Disciple - Between 0-30% health - Cast 'Heal'"),
(2338, 0, 3, 0, 6, 0, 30, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Twilight Disciple - On Death - Talk 1"),
(2339, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Twilight Thug - On Aggro - Talk 0"),
(2339, 0, 1, 0, 0, 0, 100, 0, 2000, 12000, 35000, 45000, 11, 6713, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Twilight Thug - In Combat - Cast 'Disarm'"),
(2339, 0, 2, 0, 6, 0, 30, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Twilight Thug - On Death - Talk 1");
DELETE FROM `creature_text` WHERE `entry` IN (2338, 2339);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(2338, 0, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=825), 12, 0, 100, 0, 0, 0, 825, 0, "Twilight Disciple"),
(2338, 0, 1, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=833), 12, 0, 100, 0, 0, 0, 833, 0, "Twilight Disciple"),
(2338, 0, 2, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=834), 12, 0, 100, 0, 0, 0, 834, 0, "Twilight Disciple"),
(2338, 0, 3, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=835), 12, 0, 100, 0, 0, 0, 835, 0, "Twilight Disciple"),
(2338, 0, 4, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=836), 12, 0, 100, 0, 0, 0, 836, 0, "Twilight Disciple"),
(2338, 0, 5, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=837), 12, 0, 100, 0, 0, 0, 837, 0, "Twilight Disciple"),
(2338, 0, 6, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=838), 12, 0, 100, 0, 0, 0, 838, 0, "Twilight Disciple"),
(2338, 0, 7, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=839), 12, 0, 100, 0, 0, 0, 839, 0, "Twilight Disciple"),
(2338, 0, 8, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=840), 12, 0, 100, 0, 0, 0, 840, 0, "Twilight Disciple"),
(2338, 1, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=826), 12, 0, 10, 0, 0, 0, 826, 0, "Twilight Disciple"),
(2338, 1, 1, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=827), 12, 0, 10, 0, 0, 0, 827, 0, "Twilight Disciple"),
(2338, 1, 2, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=828), 12, 0, 10, 0, 0, 0, 828, 0, "Twilight Disciple"),
(2338, 1, 3, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=829), 12, 0, 10, 0, 0, 0, 829, 0, "Twilight Disciple"),
(2338, 1, 4, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=830), 12, 0, 10, 0, 0, 0, 830, 0, "Twilight Disciple"),
(2338, 1, 5, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=831), 12, 0, 10, 0, 0, 0, 831, 0, "Twilight Disciple"),
(2338, 1, 6, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=832), 12, 0, 40, 0, 0, 0, 832, 0, "Twilight Disciple"),
(2339, 0, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=825), 12, 0, 100, 0, 0, 0, 825, 0, "Twilight Thug"),
(2339, 0, 1, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=833), 12, 0, 100, 0, 0, 0, 833, 0, "Twilight Thug"),
(2339, 0, 2, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=834), 12, 0, 100, 0, 0, 0, 834, 0, "Twilight Thug"),
(2339, 0, 3, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=835), 12, 0, 100, 0, 0, 0, 835, 0, "Twilight Thug"),
(2339, 0, 4, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=836), 12, 0, 100, 0, 0, 0, 836, 0, "Twilight Thug"),
(2339, 0, 5, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=837), 12, 0, 100, 0, 0, 0, 837, 0, "Twilight Thug"),
(2339, 0, 6, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=838), 12, 0, 100, 0, 0, 0, 838, 0, "Twilight Thug"),
(2339, 0, 7, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=839), 12, 0, 100, 0, 0, 0, 839, 0, "Twilight Thug"),
(2339, 0, 8, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=840), 12, 0, 100, 0, 0, 0, 840, 0, "Twilight Thug"),
(2339, 1, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=826), 12, 0, 10, 0, 0, 0, 826, 0, "Twilight Thug"),
(2339, 1, 1, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=827), 12, 0, 10, 0, 0, 0, 827, 0, "Twilight Thug"),
(2339, 1, 2, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=828), 12, 0, 10, 0, 0, 0, 828, 0, "Twilight Thug"),
(2339, 1, 3, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=829), 12, 0, 10, 0, 0, 0, 829, 0, "Twilight Thug"),
(2339, 1, 4, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=830), 12, 0, 10, 0, 0, 0, 830, 0, "Twilight Thug"),
(2339, 1, 5, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=831), 12, 0, 10, 0, 0, 0, 831, 0, "Twilight Thug"),
(2339, 1, 6, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=832), 12, 0, 40, 0, 0, 0, 832, 0, "Twilight Thug");

View File

@@ -0,0 +1,12 @@
--
UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=4484 AND `id`=26;
UPDATE `smart_scripts` SET `event_type`=61, `event_param1`=0, `event_param2`=0, `action_type`=1, `action_param1`=5 WHERE entryorguid=4484 AND id=24;
UPDATE `smart_scripts` SET `link`=24 WHERE `entryorguid`=4484 AND `id`=23;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4484 AND `id`=28;
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
(4484, 0, 28, 0, 61, 0, 100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 3893, 50, 0, 0, 0, 0, 0, "Feero Ironhand - On Link - Say Line 0 (Forsaken Scout)");
DELETE FROM `creature_text` WHERE `entry`=3893;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(3893, 0, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1309), 12, 0, 100, 0, 0, 0, 1309, 0, "Forsaken Scout");

View File

@@ -0,0 +1,3 @@
--
DELETE FROM `creature_loot_template` WHERE `Item` IN (2579, 5519);
DELETE FROM `gameobject_loot_template` WHERE `Item` IN (7338, 7339, 7341, 7342);

View File

@@ -0,0 +1,3 @@
--
UPDATE `creature_template` SET `lootid`=0, `flags_extra`=`flags_extra`|0x40 WHERE `entry`=17680;
DELETE FROM `creature_loot_template` WHERE `entry`=17680;

View File

@@ -0,0 +1,2 @@
--
UPDATE `smart_scripts` SET `link`=28 WHERE `entryorguid`=4484 AND `id`=22;