aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-11-22 12:40:37 +0100
committerfunjoker <funjoker109@gmail.com>2021-02-15 19:13:25 +0100
commit441e091f3d5e77d5afef026e0b67e85efb35e805 (patch)
treeac0b58f6a9ef9670629cfa449307f977a71dff22
parent00991543167cd15d9ef52a50f19f0b242dfdbe00 (diff)
DB/SAI: Script Brightly Colored Egg transformation using the npc trigger summoned by the trap
Ref #20822 (cherry picked from commit e6995a4897d921d5441aa6d40d5fc8b6a1f845ba)
-rw-r--r--sql/updates/world/master/2021_02_08_02_world_2017_11_22_00_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_02_08_02_world_2017_11_22_00_world.sql b/sql/updates/world/master/2021_02_08_02_world_2017_11_22_00_world.sql
new file mode 100644
index 00000000000..56a5e6401c1
--- /dev/null
+++ b/sql/updates/world/master/2021_02_08_02_world_2017_11_22_00_world.sql
@@ -0,0 +1,7 @@
+--
+UPDATE `gameobject_template` SET `AIName`="" WHERE `entry` IN (113768, 113769, 113770, 113771, 113772);
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (32784);
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (113768, 113769, 113770, 113771, 113772) AND `source_type`=1;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (32784) AND `source_type`=0;
+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
+(32784, 0, 0, 0, 54, 0, 20, 0, 0, 0, 0, 0, 85, 61734, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Noblegarden Bunny Controller - On Just summoned - Invoker Cast 'Noblegarden Bunny'");