Even better enemy ranged combat (#657)

- this fixes the ranged combat of the creatures I already updated before
there are still many more ranged creatures to fix
This commit is contained in:
Grimfeather
2025-08-19 07:03:00 +02:00
committed by GitHub
parent 9d90c85550
commit bb488978f0
15 changed files with 269 additions and 194 deletions

View File

@@ -72,10 +72,13 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(4280, 0, 1, 0, 14, 0, 100, 0, 500, 40, 12000, 18000, 0, 0, 11, 13952, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Preserver - Friendly Missing Health - Cast Holy Light'),
(4280, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Preserver - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4280, 0, 3, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Preserver - On Aggro - Say Line 0'),
(4281, 0, 0, 0, 0, 0, 100, 0, 8000, 12000, 9000, 13000, 0, 0, 11, 6979, 64, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 0-30 Range - Cast Fire Shot'),
(4281, 0, 1, 0, 9, 0, 100, 0, 0, 0, 2000, 4000, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 5-30 Range - Cast Shoot'),
(4281, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4281, 0, 3, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - On Aggro - Say Line 0'),
(4281, 0, 0, 0, 9, 0, 100, 0, 0, 0, 4000, 4000, 30, 60, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Outside 30 Range - Start Combat Movement'),
(4281, 0, 1, 0, 9, 0, 100, 0, 0, 0, 4000, 4000, 5, 30, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 5-30 Range - Stop Combat Movement'),
(4281, 0, 2, 0, 9, 0, 100, 0, 0, 0, 4000, 4000, 0, 5, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 0-5 Range - Start Combat Movement'),
(4281, 0, 3, 0, 9, 0, 100, 0, 0, 0, 2000, 4000, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 5-30 Range - Cast Shoot'),
(4281, 0, 4, 0, 0, 0, 100, 0, 8000, 12000, 9000, 13000, 0, 0, 11, 6979, 64, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Within 0-30 Range - Cast Fire Shot'),
(4281, 0, 5, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4281, 0, 6, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Scout - On Aggro - Say Line 0'),
(4282, 0, 0, 0, 0, 0, 50, 0, 0, 6000, 30000, 35000, 0, 0, 11, 8457, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Magician - In Combat - Cast Fire Ward'),
(4282, 0, 1, 0, 0, 0, 100, 0, 0, 0, 2100, 3300, 0, 0, 11, 9053, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Magician - In Combat - Cast Fireball'),
(4282, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Magician - Between 0-15% Health - Flee For Assist (No Repeat)'),
@@ -98,10 +101,13 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(4287, 0, 2, 0, 9, 0, 100, 0, 2000, 10000, 4800, 10900, 0, 5, 11, 14517, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Gallant - Within 0-5 Range - Cast Crusader Strike'),
(4287, 0, 3, 0, 0, 0, 100, 0, 4000, 9000, 13000, 22000, 0, 0, 11, 5589, 0, 0, 0, 0, 0, 5, 10, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Gallant - Within 0-10 - Cast Hammer of Justice'),
(4287, 0, 4, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Gallant - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4288, 0, 0, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - On Aggro - Say Line 0'),
(4288, 0, 1, 0, 9, 0, 100, 0, 0, 0, 2000, 2000, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 5-30 Range - Cast Shoot'),
(4288, 0, 2, 0, 9, 0, 100, 0, 9000, 12000, 10000, 13000, 5, 30, 11, 7896, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 5-30 Range - Cast Exploding Shot'),
(4288, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4288, 0, 0, 0, 9, 0, 100, 0, 0, 0, 3000, 3000, 30, 60, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Outside 30 Range - Start Combat Movement'),
(4288, 0, 1, 0, 9, 0, 100, 0, 0, 0, 3000, 3000, 5, 30, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 5-30 Range - Stop Combat Movement'),
(4288, 0, 2, 0, 9, 0, 100, 0, 0, 0, 3000, 3000, 0, 5, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 0-5 Range - Start Combat Movement'),
(4288, 0, 3, 0, 9, 0, 100, 0, 0, 0, 2000, 2000, 5, 30, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 5-30 Range - Cast Shoot'),
(4288, 0, 4, 0, 9, 0, 100, 0, 9000, 12000, 10000, 13000, 5, 30, 11, 7896, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Within 5-30 Range - Cast Exploding Shot'),
(4288, 0, 5, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - On Aggro - Say Line 0'),
(4288, 0, 6, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Beastmaster - Between 0-15% Health - Flee For Assist (No Repeat)'),
(4289, 0, 0, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Evoker - On Aggro - Say Line 0'),
(4289, 0, 1, 0, 0, 0, 100, 0, 0, 1000, 60000, 60000, 0, 0, 11, 2601, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Evoker - In Combat - Cast Fire Shield III'),
(4289, 0, 2, 0, 0, 0, 100, 0, 0, 1000, 3000, 3500, 0, 0, 11, 9053, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Scarlet Evoker - In Combat - Cast Fireball'),