diff options
author | Sorikoff <46191832+Sorikoff@users.noreply.github.com> | 2020-04-04 16:29:21 +0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-31 20:15:58 +0100 |
commit | 44c8b5241a61665e3871a72f56e21d23db8bd673 (patch) | |
tree | 053b4092dd99ab785a933ee7fa5682922fd31850 /sql | |
parent | 99d7201112d2f7e3f1d56663c85913c5a16b7acd (diff) |
Scripts/Pet: Baby Blizzard Bear & Egbert (#24349)
* Baby Blizzard Bear & Egbert
* SQL
* Update 9999_99_99_99_world.sql
SQL fix
* Rename 9999_99_99_99_world.sql to 2020_04_04_00_world.sql
Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit 264a5839032257f9d65bfad3dd0075d263799d5c)
Diffstat (limited to 'sql')
-rw-r--r-- | sql/updates/world/master/2021_12_31_16_world_2020_04_04_00_world.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_31_16_world_2020_04_04_00_world.sql b/sql/updates/world/master/2021_12_31_16_world_2020_04_04_00_world.sql new file mode 100644 index 00000000000..f071c99fc03 --- /dev/null +++ b/sql/updates/world/master/2021_12_31_16_world_2020_04_04_00_world.sql @@ -0,0 +1,17 @@ +-- Baby Blizzard Bear +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=32841; +DELETE FROM `creature_template_addon` WHERE `entry` IN (32841); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES (32841,'61854'); +DELETE FROM `smart_scripts` WHERE `entryorguid`=32841 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3284100 AND `source_type`=9; +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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(32841,0,0,0,8,0,100,0,61853,0,15000,15000,80,3284100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Baby Blizzard Bear - On Spell Hit - Action list'), +(3284100,9,0,0,0,0,100,0,10000,15000,0,0,28,61853,0,0,0,0,0,1,0,0,0,0,0,0,0,'Baby Blizzard Bear - Action list - Remove Spell'); + +-- Egbert +UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=23258; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23258 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2325800 AND `source_type`=9; +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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(23258,0,0,0,8,0,100,0,40669,0,15000,15000,80,2325800,0,0,0,0,0,1,0,0,0,0,0,0,0,'Egbert - On Spell Hit - Action list'), +(2325800,9,0,0,0,0,100,0,5000,15000,0,0,28,40669,0,0,0,0,0,1,0,0,0,0,0,0,0,'Egbert - Action list - Remove Spell'); |