diff options
author | Killyana <morphone1@gmail.com> | 2015-09-26 21:21:44 +0200 |
---|---|---|
committer | MitchesD <majklprofik@seznam.cz> | 2015-10-31 10:53:21 +0100 |
commit | c1ed493a2b07e9d4f98a113c04bf590d37c146f8 (patch) | |
tree | ee89d7c0608e6e08e567782b9bb4dc9d68d9a211 | |
parent | 2649a7eccb9c61443e95290d99fc30662590268c (diff) |
DB/Misc: Fix some Unit flags
Add Sai for Released Soul
Add some missing auras
(cherry picked from commit 610fab8968e1a19b76ff40c331bc6d6d9ecc33fc)
-rw-r--r-- | sql/updates/world/2015_10_31_12_world_2015_09_26_01.sql | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sql/updates/world/2015_10_31_12_world_2015_09_26_01.sql b/sql/updates/world/2015_10_31_12_world_2015_09_26_01.sql new file mode 100644 index 00000000000..17fc710b804 --- /dev/null +++ b/sql/updates/world/2015_10_31_12_world_2015_09_26_01.sql @@ -0,0 +1,40 @@ +-- +UPDATE `creature_template` SET `unit_flags`=33555200 WHERE `entry`=28253; + +SET @ENTRY := 30736; +UPDATE `creature_template` SET `AIName`="SmartAI", `unit_flags`=33555200, `InhabitType`=4 WHERE `entry` IN (@ENTRY); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@ENTRY) 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 +(@ENTRY,0,0,1,54,0,100,0,0,0,0,0,75,57806,0,0,0,0,0,1,0,0,0,0,0,0,0,"Released Soul - Just summoned - Add aura"), +(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,4,37,0,0,0,0,0,1,0,0,0,0,0,0,0,"Released Soul - Just summoned - Play sound"), +(@ENTRY,0,2,3,61,0,100,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Released Soul - Just summoned - Set run off"), +(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,114,40,0,0,0,0,0,1,0,0,0,0,0,0,0,"Released Soul - Just summoned - Rise up"), +(@ENTRY,0,4,0,54,0,100,0,0,0,0,0,41,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Released Soul - Just summoned - Despawn"); + +UPDATE `creature_template` SET `unit_flags`=33554432 WHERE `entry` IN (30850,30852,30841); + +UPDATE `creature_template` SET `unit_flags`=131076, `flags_extra`=66 WHERE `entry`=25534; + +UPDATE `creature_template` SET `unit_flags`=32768 WHERE `entry`=26271; +UPDATE `creature` SET `unit_flags`=537166592 WHERE `guid` IN (110812, 110813, 110814, 110815, 110816, 110817); + +DELETE FROM `creature_addon` WHERE `guid` IN (110812, 110813, 110814, 110815, 110816, 110817); +INSERT INTO `creature_addon` (`guid`, `bytes2`, `auras`) VALUES +(110812, 1, "29266"), +(110813, 1, "29266"), +(110814, 1, "29266"), +(110815, 1, "29266"), +(110816, 1, "29266"), +(110817, 1, "29266"); + +UPDATE `creature_template` SET `unit_flags`=512 WHERE `entry`=31402; + +UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry`=30501; + +DELETE FROM `creature` WHERE `guid`=120496 AND `id`=28414; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (28413); +INSERT INTO `creature_template_addon` (`entry`, `bytes2`, `auras`) VALUES +(28413, 0, "54450"); + +UPDATE `creature_template` SET `flags_extra`=2 WHERE `entry` IN (28413); |