fix(DB/CreatureSAI): Ranged mobs shooting (#5192)

This commit is contained in:
Stifler82 2021-04-11 11:02:05 +01:00 committed by GitHub
parent e3589b1b13
commit 09419a290d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,12 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1617867794413109600');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` IN (2951, 3382));
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 2951);
INSERT INTO `smart_scripts` VALUES
(2951, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 11, 1516, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Palemane Poacher - On Aggro - Cast \'Quick Shot\''),
(2951, 0, 1, 0, 0, 0, 100, 0, 1500, 1500, 3500, 3500, 0, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Palemane Poacher - In Combat - Cast \'Shoot\'');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 3382);
INSERT INTO `smart_scripts` VALUES
(3382, 0, 0, 0, 0, 0, 100, 0, 100, 100, 3500, 3500, 0, 11, 6660, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Southsea Cannoneer - In Combat - Cast \'Shoot\'');