aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenoX92 <ZenoX92@users.noreply.github.com>2018-04-04 02:38:37 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-24 20:51:18 +0200
commit71d646d7fff7c411401f62255b3c96846c2ca6fc (patch)
tree42ff3115fdc5bea6bd4acca812454ec3d438fe0b
parent6d3d32ac2ef27dc026fadaaf276e24e8d674a104 (diff)
DB/Gameobject: Joseph Redpath's Monument
Closes #21769 (cherry picked from commit 3f09484c821d52208ec5591bcdf7cb941a0cb078)
-rw-r--r--sql/updates/world/master/2021_09_24_05_world_2018_04_04_07_world_335.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_09_24_05_world_2018_04_04_07_world_335.sql b/sql/updates/world/master/2021_09_24_05_world_2018_04_04_07_world_335.sql
new file mode 100644
index 00000000000..fdd5fb624a5
--- /dev/null
+++ b/sql/updates/world/master/2021_09_24_05_world_2018_04_04_07_world_335.sql
@@ -0,0 +1,10 @@
+-- Joseph Redpath's Monument
+UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=176145;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=176145 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
+(176145,1,0,0,70,0,100,1,2,0,0,0,12,10936,3,0,0,0,0,8,0,0,0,1165.83,-1719.55,60.9121,2.1369,"Joseph Redpath's Monument - On Gameobject State Changed - Summon Creature 'Joseph Redpath'"),
+(176145,1,1,0,70,0,100,1,2,0,0,0,1,2,0,0,0,0,0,19,10936,0,0,0,0,0,0,"Joseph Redpath's Monument - On Gameobject State Changed - Say Line 2 (Joseph Redpath)");
+
+DELETE FROM `creature_text` WHERE `CreatureID`=10936 AND `GroupID`=2;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(10936,2,0,"Save me...",15,0,100,0,0,0,6274,0,"Joseph Redpath");