mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 08:06:23 +00:00
fix(DB): Scholomance Hall of secrets issues (#5238)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1617319258609966150');
|
||||
|
||||
SET @ENTRY := 10480;
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @ENTRY;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = @ENTRY);
|
||||
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(@ENTRY, 0, 0, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 11, 17690, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unstable Corpse - On Just Died - Cast \'Disease Burst\''),
|
||||
(@ENTRY, 0, 1, 0, 8, 0, 100, 1, 17690, 0, 0, 0, 0, 11, 17689, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Unstable Corpse - On Spellhit \'Disease Burst\' - Cast \'Disease Burst\' (No Repeat)');
|
||||
@@ -0,0 +1,17 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1617975941808751069');
|
||||
|
||||
SET @ENTRY := 10901;
|
||||
DELETE FROM `creature_template_spell` WHERE (`CreatureID` = @ENTRY);
|
||||
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
|
||||
(@ENTRY, 0, 8245, 12340),
|
||||
(@ENTRY, 1, 18149, 12340),
|
||||
(@ENTRY, 2, 18116, 12340);
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @ENTRY;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = @ENTRY);
|
||||
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 7000, 15000, 40000, 40000, 0, 11, 18149, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lorekeeper Polkelt - In Combat - Cast \'Volatile Infection\''),
|
||||
(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 3000, 12000, 17000, 28000, 0, 11, 8245, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lorekeeper Polkelt - In Combat - Cast \'Corrosive Acid\''),
|
||||
(@ENTRY, 0, 2, 0, 0, 0, 100, 0, 11000, 22000, 30000, 30000, 0, 11, 18151, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lorekeeper Polkelt - In Combat - Cast \'Noxious Catalyst\''),
|
||||
(@ENTRY, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 34, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lorekeeper Polkelt - On Just Died - Set Instance Data 1 to 1');
|
||||
Reference in New Issue
Block a user