mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Scripts/Kalimdor: Move script of Hand of Iruxos Crystal to database. (#24141)
* Scripts/Kalimdor: Move script of Hand of Iruxos Crystal to database. * Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject. * Scripts/Kalimdor: Hand of Iruxos Crystal - Add despawn for gameobject. * Remove unneeded commentline * Rename 9999_99_99_99_world.sql to 2020_02_11_00_world.sql Co-authored-by: Aokromes <Aokromes@users.noreply.github.com>
This commit is contained in:
9
sql/updates/world/3.3.5/2020_02_11_00_world.sql
Normal file
9
sql/updates/world/3.3.5/2020_02_11_00_world.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
--
|
||||
UPDATE `gameobject` SET `spawntimesecs`=180 WHERE `id`=176581;
|
||||
-- Hand of Iruxos Crystal SAI
|
||||
SET @ENTRY := 176581;
|
||||
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI", `scriptname`= '' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,1,0,1,70,0,100,0,2,0,0,0,12,11876,4,10000,0,0,0,1,0,0,0,0,0,0,0,"Hand of Iruxos Crystal - On Gameobject State Changed - Summon Creature 'Demon Spirit' for 10000 milliseconds "),
|
||||
(@ENTRY,1,1,0,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hand of Iruxos Crystal - On Gameobject State Changed - Despawn Instant");
|
||||
Reference in New Issue
Block a user