diff options
author | ZenoX92 <ZenoX92@users.noreply.github.com> | 2018-08-19 14:47:45 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-10-22 00:39:26 +0200 |
commit | 9a3495270544a197f0322dc8cdaef81c9fb0efe2 (patch) | |
tree | 904e5bc64961e1b2efbe9455cf2bd2977df420c5 | |
parent | 4e1f35e93529a36b9b59da602b98c794fc3f47bd (diff) |
DB/Creature: Stonemaul Spirit
Closes #22286
(cherry picked from commit 7d6c3d2f6c423c715df1668664c3f7b4bfe2ab2e)
-rw-r--r-- | sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql b/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql new file mode 100644 index 00000000000..84ef50cb52b --- /dev/null +++ b/sql/updates/world/master/2021_10_22_01_world_2018_08_19_04_world_335.sql @@ -0,0 +1,18 @@ +-- +-- Stonemaul Spirit +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=23786; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23786 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2378600 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 +(23786,0,0,0,11,0,100,0,0,0,0,0,80,2378600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonemaul Spirit - On Spawn - Run Script"), +(2378600,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Say Line 0"), +(2378600,9,1,0,0,0,100,0,2000,2000,0,0,49,0,0,0,0,0,0,23,0,0,0,0,0,0,0,"Stonemaul Spirit - On Script - Start Attacking"); + +DELETE FROM `creature_text` WHERE `CreatureID`=23786; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(23786,0,0,"Me crush puny friend of dragons!",12,0,100,15,0,0,22416,0,"Stonemaul Spirit"), +(23786,0,1,"You leave Stonemaul lands now!",12,0,100,15,0,0,22417,0,"Stonemaul Spirit"), +(23786,0,2,"Why you wake ghost? Where other Stonemauls?!",12,0,100,15,0,0,22418,0,"Stonemaul Spirit"), +(23786,0,3,"Raaar!!! Me smash $r!",12,0,100,15,0,0,1925,0,"Stonemaul Spirit"), +(23786,0,4,"Me smash! You die!",12,0,100,15,0,0,1926,0,"Stonemaul Spirit"), +(23786,0,5,"I'll crush you!",12,0,100,15,0,0,1927,0,"Stonemaul Spirit"); |