diff options
author | ZenoX92 <ZenoX92@users.noreply.github.com> | 2017-11-28 22:42:50 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2017-11-28 22:42:50 +0100 |
commit | 5777806618a0a94e085c8217e662023285e41616 (patch) | |
tree | 432959e79ea388a056f27625d9e657b1a3757fdf | |
parent | 58a6df309d8f463af9e230e29e04f910d591b71b (diff) |
DB/Quest: Dream Dust in the Swamp
Closes #20994
-rw-r--r-- | sql/updates/world/3.3.5/2017_11_28_09_world.sql | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_11_28_09_world.sql b/sql/updates/world/3.3.5/2017_11_28_09_world.sql new file mode 100644 index 00000000000..4b751b3c19c --- /dev/null +++ b/sql/updates/world/3.3.5/2017_11_28_09_world.sql @@ -0,0 +1,20 @@ +DELETE FROM `creature_text` WHERE `CreatureID`=773; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(773,0,0,"%s snorts a speck of dream dust up his nose...",16,0,100,0,0,0,1548,0,"Krazek"), +(773,1,0,"%s is dazed...",16,0,100,0,0,0,1549,0,"Krazek"), +(773,2,0,"ACHOO!",12,0,100,33,0,0,1550,0,"Krazek"), +(773,3,0,"Wow! $n, that dream dust is powerful stuff!",12,0,100,5,0,0,1551,0,"Krazek"); + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=773; +DELETE FROM `smart_scripts` WHERE `entryorguid`=773 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=77300 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 +(773,0,0,0,20,0,100,0,1116,0,0,0,80,77300,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Quest 'Dream Dust in the Swamp' Finished - Run Script"), +(77300,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Remove Npc Flag Questgiver"), +(77300,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 0"), +(77300,9,2,0,0,0,100,0,2000,2000,0,0,11,6903,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Cast Krazek's Drug"), +(77300,9,3,0,0,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 1"), +(77300,9,4,0,0,0,100,0,11000,11000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 2"), +(77300,9,5,0,0,0,100,0,2000,2000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 2"), +(77300,9,6,0,0,0,100,0,3000,3000,0,0,1,3,0,0,0,0,0,7,0,0,0,0,0,0,0,"Krazek - On Script - Say Line 3"), +(77300,9,7,0,0,0,100,0,2000,2000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krazek - On Script - Add Npc Flag Questgiver"); |