fix(DB/GameObject): Firework Launcher (#4597)

This commit is contained in:
Stifler82
2021-02-21 15:59:40 +00:00
committed by GitHub
parent 48c95468e7
commit 922f87e5a8

View File

@@ -0,0 +1,10 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1613600380697311600');
UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` = 180771;
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 180771) AND (`source_type` = 1) AND (`id` IN (1, 2, 3, 4, 5, 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`, `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
(180771, 1, 1, 0, 60, 0, 100, 0, 1000, 1000, 15000, 15000, 0, 11, 26351, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket BLUE BIG on Self'),
(180771, 1, 2, 0, 60, 0, 100, 0, 2000, 2000, 15000, 15000, 0, 11, 26352, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket GREEN BIG on Self'),
(180771, 1, 3, 0, 60, 0, 100, 0, 3000, 3000, 15000, 15000, 0, 11, 26353, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket PURPLE BIG on Self'),
(180771, 1, 4, 0, 60, 0, 100, 0, 4000, 4000, 15000, 15000, 0, 11, 26354, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket RED BIG on Self'),
(180771, 1, 5, 0, 60, 0, 100, 0, 5000, 5000, 15000, 15000, 0, 11, 26355, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket WHITE BIG on Self'),
(180771, 1, 6, 0, 60, 0, 100, 0, 6000, 6000, 15000, 15000, 0, 11, 26356, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Firework Launcher - SE: Update + SA: Cast Spell: Rocket YELLOW BIG on Self');