Merge pull request #591 from Grimfeather/fixes-in-Shadowfang-Keep

- Wolf Master Nandos was not calling for help at the right time and also not calling the correct creatures.
- Commander Springvale had different spells during vanilla. He now has divine protection and heals allies near him,
    but he lost his hammer of justice.
- Several more fixes to smart scripts for other creatures regarding recast times and to fix evade issues.
This commit is contained in:
Grimfeather
2025-07-31 00:24:00 +02:00
committed by GitHub

View File

@@ -1,74 +1,62 @@
-- Son of Arugal UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 25 WHERE `entry` = 2529;-- Son of Arugal
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=25 WHERE `entry`=2529; UPDATE `creature_template` SET `minlevel` = 25, `maxlevel` = 25 WHERE `entry` = 3872;-- Deathsworn Captain
UPDATE `creature_template` SET `maxlevel` = 20 WHERE `entry` = 3853;-- Shadowfang Moonwalker
UPDATE `creature_template` SET `maxlevel` = 21 WHERE `entry` = 3854;-- Shadowfang Wolfguard
UPDATE `creature_template` SET `minlevel` = 20, `maxlevel` = 21 WHERE `entry` = 3855;-- Shadowfang Darksoul
UPDATE `creature_template` SET `minlevel` = 21, `maxlevel` = 22 WHERE `entry` = 3857;-- Shadowfang Glutton
UPDATE `creature_template` SET `minlevel` = 23, `maxlevel` = 24 WHERE `entry` = 3859;-- Shadowfang Ragetooth
UPDATE `creature_template` SET `maxlevel` = 19 WHERE `entry` = 3861;-- Bleak Worg
UPDATE `creature_template` SET `maxlevel` = 19 WHERE `entry` = 3862;-- Slavering Worg
UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 25 WHERE `entry` = 3863;-- Lupine Horror
UPDATE `creature_template` SET `maxlevel` = 20 WHERE `entry` = 3864;-- Fel Steed
UPDATE `creature_template` SET `minlevel` = 22, `maxlevel` = 23 WHERE `entry` = 3866;-- Vile Bat
UPDATE `creature_template` SET `minlevel` = 23, `maxlevel` = 24 WHERE `entry` = 3868;-- Blood Seeker
UPDATE `creature_template` SET `minlevel` = 23, `maxlevel` = 24 WHERE `entry` = 3873;-- Tormented Officer
UPDATE `creature_template` SET `minlevel` = 20, `maxlevel` = 21 WHERE `entry` = 3875;-- Haunted Servitor
UPDATE `creature_template` SET `minlevel` = 21, `maxlevel` = 22 WHERE `entry` = 3877;-- Wailing Guardsman
UPDATE `creature_template` SET `minlevel` = 22, `maxlevel` = 22 WHERE `entry` = 3886;-- Razorclaw the Butcher
UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 24 WHERE `entry` = 3887;-- Baron Silverlaine
UPDATE `creature_template` SET `minlevel` = 25, `maxlevel` = 25 WHERE `entry` = 3927;-- Wolf Master Nandos
UPDATE `creature_template` SET `minlevel` = 25, `maxlevel` = 25 WHERE `entry` = 4274;-- Fenrus the Devourer
UPDATE `creature_template` SET `minlevel` = 26, `maxlevel` = 26 WHERE `entry` = 4275;-- Archmage Arugal
UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 24 WHERE `entry` = 4278;-- Commander Springvale
UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 24 WHERE `entry` = 4279;-- Odo the Blindwatcher
UPDATE `creature_template` SET `minlevel` = 24, `maxlevel` = 25 WHERE `entry` = 4627;-- Arugal's Voidwalker
UPDATE `creature_template` SET `maxlevel` = 21 WHERE `entry` = 4627;-- Wolfguard Worg
-- Deathsworn Captain -- smart scripts
UPDATE `creature_template` SET `minlevel`=25, `maxlevel`=25 WHERE `entry`=3872; UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (2529, 3855, 3859, 3861, 3873, 3875, 3877, 3886, 3887, 3914, 3927, 4278);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (2529, 3855, 3859, 3861, 3873, 3875, 3877, 3886, 3887, 3914, 3927, 4278);
-- Shadowfang Moonwalker INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`,
UPDATE `creature_template` SET `maxlevel`=20 WHERE `entry`=3853; `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`,
`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`,
-- Shadowfang Wolfguard `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
UPDATE `creature_template` SET `maxlevel`=21 WHERE `entry`=3854; --
(2529, 0, 0, 0, 0, 0, 100, 0, 11000, 11000, 9000, 21000, 0, 0, 11, 7124, 32, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Son of Arugal - Within 0-20 Range - Cast Arugals Gift'),
-- Shadowfang Darksoul (3855, 0, 0, 0, 0, 0, 100, 0, 4000, 7000, 11000, 20000, 0, 0, 11, 8140, 288, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Shadowfang Darksoul - Within 0-20 Range - Cast Befuddlement'),
UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=21 WHERE `entry`=3855; (3855, 0, 1, 0, 0, 0, 100, 0, 1000, 9000, 3000, 7000, 0, 0, 11, 970, 32, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Shadowfang Darksoul - Within 0-30 Range - Cast Shadow Word: Pain'),
(3859, 0, 0, 0, 2, 0, 100, 0, 0, 35, 60000, 60000, 0, 0, 11, 7072, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowfang Ragetooth - Between Health 0-35% - Cast Wild Rage'),
-- Shadowfang Glutton (3861, 0, 0, 0, 9, 0, 100, 0, 2000, 10000, 15000, 20000, 0, 5, 11, 7127, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bleak Worg - Within 0-5 Range - Cast Wavering Will'),
UPDATE `creature_template` SET `minlevel`=21, `maxlevel`=22 WHERE `entry`=3857; (3873, 0, 0, 0, 0, 0, 100, 0, 10500, 11900, 3500, 6500, 0, 0, 11, 7054, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Tormented Officer - Within 0-5 Range - Cast Forsaken Skills'),
(3875, 0, 0, 0, 0, 0, 100, 0, 9000, 13000, 4000, 6000, 0, 0, 11, 7057, 32, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Haunted Servitor - In Combat - Cast Haunting Spirits'),
-- Shadowfang Ragetooth (3877, 0, 0, 0, 9, 0, 100, 0, 0, 7000, 1000, 12000, 0, 5, 11, 7074, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wailing Guardsman - Within 0-5 Range - Cast Screams of the Past'),
UPDATE `creature_template` SET `minlevel`=23, `maxlevel`=24 WHERE `entry`=3859; (3886, 0, 0, 0, 0, 0, 100, 0, 2800, 9700, 2800, 9700, 0, 0, 11, 7485, 256, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 'Razorclaw the Butcher - Within 0-5 Range - Cast Butcher Drain'),
(3887, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Baron Silverlaine - On Aggro - Say Line 0'),
-- Bleak Worg (3887, 0, 1, 0, 9, 0, 100, 0, 1000, 8000, 22000, 55000, 0, 20, 11, 7068, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Baron Silverlaine - Within 0-20 Range - Cast Veil of Shadow'),
UPDATE `creature_template` SET `maxlevel`=19 WHERE `entry`=3861; (3914, 0, 0, 0, 0, 0, 100, 0, 1000, 14000, 14000, 36000, 0, 0, 11, 7295, 0, 0, 0, 0, 0, 5, 10, 0, 0, 0, 0, 0, 0, 0, 'Rethilgore - Within 0-10 Range - Cast Soul Drain'),
(3914, 0, 1, 2, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 3850, 100, 0, 0, 0, 0, 0, 0, 'Rethilgore - On Just Died - Set Data'),
-- Slavering Worg (3914, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 19, 3849, 100, 0, 0, 0, 0, 0, 0, 'Rethilgore - On Just Died - Set Data'),
UPDATE `creature_template` SET `maxlevel`=19 WHERE `entry`=3862; --
(3927, 0, 1, 0, 2, 0, 100, 1, 0, 75, 0, 0, 0, 0, 11, 7487, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - In Combat - Cast Call Bleak Worg (No Repeat)'),
-- Lupine Horror (3927, 0, 0, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 0, 11, 7488, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - In Combat - Cast Call Slavering Worg (No Repeat)'),
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=25 WHERE `entry`=3863; (3927, 0, 2, 0, 2, 0, 100, 1, 0, 25, 0, 0, 0, 0, 11, 7489, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - In Combat - Cast Call Lupine Horror (No Repeat)'),
(3927, 0, 3, 4, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 34, 2, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - On Just Died - Set Instance Data 2 to 3'),
-- Fel Steed (3927, 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 0, 118, 0, 0, 0, 0, 0, 0, 14, 33241, 18971, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - On Just Died - Set GO State'),
UPDATE `creature_template` SET `maxlevel`=20 WHERE `entry`=3864; (3927, 0, 5, 6, 77, 0, 100, 0, 1, 4, 600000, 600000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - On Counter Set - Say Line 0'),
(3927, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 21, 60, 0, 0, 0, 0, 0, 0, 0, 'Wolf Master Nandos - On Counter Set - Attack Start'),
-- Vile Bat --
UPDATE `creature_template` SET `minlevel`=22, `maxlevel`=23 WHERE `entry`=3866; (4278, 0, 0, 0, 0, 0, 100, 1, 0, 3000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Springvale - In Combat - Say Line 0 (No Repeat)'),
(4278, 0, 2, 0, 2, 0, 100, 0, 0, 80, 0, 0, 7500, 15300, 11, 1026, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Springvale - Between Health 0-80% - Cast Holy Light'),
-- Blood Seeker (4278, 0, 3, 0, 14, 0, 100, 0, 800, 40, 12500, 22300, 0, 0, 11, 1026, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Springvale - On Friendly HP Deficit - Cast Holy Light'),
UPDATE `creature_template` SET `minlevel`=23, `maxlevel`=24 WHERE `entry`=3868; (4278, 0, 4, 0, 2, 0, 100, 1, 0, 25, 0, 0, 0, 0, 11, 498, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Springvale - Between Health 0-25% - Cast Divine Protection'),
(4278, 0, 5, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Commander Springvale - On Just Died - Say Line 1');
-- Tormented Officer
UPDATE `creature_template` SET `minlevel`=23, `maxlevel`=24 WHERE `entry`=3873;
-- Haunted Servitor
UPDATE `creature_template` SET `minlevel`=20, `maxlevel`=21 WHERE `entry`=3875;
-- Wailing Guardsman
UPDATE `creature_template` SET `minlevel`=21, `maxlevel`=22 WHERE `entry`=3877;
-- Razorclaw the Butcher
UPDATE `creature_template` SET `minlevel`=22, `maxlevel`=22 WHERE `entry`=3886;
-- Baron Silverlaine
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=24 WHERE `entry`=3887;
-- Wolf Master Nandos
UPDATE `creature_template` SET `minlevel`=25, `maxlevel`=25 WHERE `entry`=3927;
-- Fenrus the Devourer
UPDATE `creature_template` SET `minlevel`=25, `maxlevel`=25 WHERE `entry`=4274;
-- Archmage Arugal
UPDATE `creature_template` SET `minlevel`=26, `maxlevel`=26 WHERE `entry`=4275;
-- Commander Springvale
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=24 WHERE `entry`=4278;
-- Odo the Blindwatcher
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=24 WHERE `entry`=4279;
-- Arugal's Voidwalker
UPDATE `creature_template` SET `minlevel`=24, `maxlevel`=25 WHERE `entry`=4627;
-- Wolfguard Worg
UPDATE `creature_template` SET `maxlevel`=21 WHERE `entry`=4627;