aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-09-27 17:52:56 +0200
committerKillyana <morphone1@gmail.com>2017-09-27 17:52:56 +0200
commitcdb3c195a50ee472ff5473bda4249f5794aba9a7 (patch)
tree0840d847c00758703f8af960b4f4788796c2cca5
parent7012a7ecf0cdff0bfe92b87e9c95cb6e676bb805 (diff)
DB/SAI: Un'Goro Stomper and Gorilla
Closes #20456
-rw-r--r--sql/updates/world/3.3.5/2017_09_27_02_world_335.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_09_27_02_world_335.sql b/sql/updates/world/3.3.5/2017_09_27_02_world_335.sql
new file mode 100644
index 00000000000..ce0b1aa5123
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_09_27_02_world_335.sql
@@ -0,0 +1,12 @@
+--
+UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=6514;
+DELETE FROM `smart_scripts` WHERE `entryorguid`=6514 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
+(6514, 0, 0, 1, 2, 0, 100, 1, 0, 25, 0, 0, 39, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Un'Goro Gorilla - Between 0-25% Health - Call For Help (No Repeat)"),
+(6514, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Un'Goro Gorilla - Between 0-25% Health - Say Line 0");
+
+DELETE FROM `creature_text` WHERE `CreatureID`=6514;
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(6514, 0, 0, "%s pounds his chest, calling for help!", 16, 0, 100, 0, 0, 0, 4837, 0, "Un'Goro Gorilla");
+UPDATE `smart_scripts` SET `event_param2`=50, `comment`="Un'Goro Stomper - Between 0-50% Health - Cast 'Enrage' (No Repeat)" WHERE `entryorguid`=6513 AND `id`=0;
+UPDATE `smart_scripts` SET `comment`="Un'Goro Stomper - Between 0-50% Health - Say Line 0" WHERE `entryorguid`=6513 AND `id`=1;