aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <email@example.com>2018-05-31 08:39:51 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-26 23:20:33 +0200
commita16154e2f321ecbf1cb31e3888b01b27e84ad7c8 (patch)
tree72e0c407da4a167670aadda2021226ca7b74a7f4
parent7e5de086787d4bd1e4e4049cb9570b21761aa13d (diff)
DB/SAI: Power Converter
Closes #21986 (cherry picked from commit e3e2bb60f6ffccbdcc11cfbdb009fa6e6ffdcb6b)
-rw-r--r--sql/updates/world/master/2021_09_26_34_world_2018_05_31_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_09_26_34_world_2018_05_31_00_world.sql b/sql/updates/world/master/2021_09_26_34_world_2018_05_31_00_world.sql
new file mode 100644
index 00000000000..1deccbc47d5
--- /dev/null
+++ b/sql/updates/world/master/2021_09_26_34_world_2018_05_31_00_world.sql
@@ -0,0 +1,5 @@
+--
+UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=184906;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=184906 AND `source_type`=1;
+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
+(184906,1,0,0,70,0,100,0,2,0,0,0,41,1500,0,0,0,0,0,1,0,0,0,0,0,0,0,"Power Converter - On state changed - despawn");