aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-10-02 15:35:10 +0200
committerShauren <shauren.trinity@gmail.com>2020-09-14 23:05:25 +0200
commit48fe31f4acec871889ad9f1de832a51de9136c44 (patch)
tree3e3158e204f24308437f7f09cbd868478cdaeff6
parentce62ebaa7bbfb54b4f4d3e7bcb7536a0a1fb85bc (diff)
DB/SAI: Improve scripts for some Scarlet crusaders
Closes #20510 (cherry picked from commit edd744cdf4682a76241f5ceefe2095f4d03a14cd)
-rw-r--r--sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql24
1 files changed, 24 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql b/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql
new file mode 100644
index 00000000000..085a6c7fc17
--- /dev/null
+++ b/sql/updates/world/master/2020_09_14_01_world_2017_10_02_08_world.sql
@@ -0,0 +1,24 @@
+--
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4286, 4301) AND `id`=1 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4295, 4540) AND `id`=2 AND `source_type`=0;
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (4298, 4300, 10424) AND `id`=3 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
+(4540, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Monk - Between 0-15% Health - Flee For Assist (No Repeat)"),
+(4301, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Centurion - Between 0-15% Health - Flee For Assist (No Repeat)"),
+(4300, 0, 3, 0, 4, 0, 20, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Scarlet Wizard - On Aggro - Say Line 0"),
+(4286, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Soldier - Between 0-15% Health - Flee For Assist (No Repeat)"),
+(4295, 0, 2, 0, 4, 0, 20, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Scarlet Myrmidon - On Aggro - Say Line 1"),
+(4298, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Scarlet Defender - Between 0-15% Health - Flee For Assist (No Repeat)"),
+(10424, 0, 3, 0, 2, 0, 100, 1, 0, 15, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Crimson Gallant - Between 0-15% Health - Flee For Assist (No Repeat)");
+
+DELETE FROM `creature_text` WHERE `CreatureID` IN (4295, 4300);
+INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
+(4300, 0, 0, "You carry the taint of the Scourge. Prepare to enter the Twisting Nether.", 12, 7, 25, 0, 0, 0, 2625, 0, "Scarlet Wizard"),
+(4300, 0, 1, "There is no escape for you. The Crusade shall destroy all who carry the Scourge's taint.", 12, 7, 25, 0, 0, 0, 2626, 0, "Scarlet Wizard"),
+(4300, 0, 2, "The Light condemns all who harbor evil. Now you will die!", 12, 7, 25, 0, 0, 0, 2627, 0, "Scarlet Wizard"),
+(4300, 0, 3, "The Scarlet Crusade shall smite the wicked and drive evil from these lands!", 12, 7, 25, 0, 0, 0, 2628, 0, "Scarlet Wizard"),
+(4295, 0, 0, "%s goes into a frenzy!", 16, 0, 100, 0, 0, 0, 1191, 0, "Scarlet Myrmidon"),
+(4295, 1, 0, "You carry the taint of the Scourge. Prepare to enter the Twisting Nether.", 12, 7, 25, 0, 0, 0, 2625, 0, "Scarlet Myrmidon"),
+(4295, 1, 1, "There is no escape for you. The Crusade shall destroy all who carry the Scourge's taint.", 12, 7, 25, 0, 0, 0, 2626, 0, "Scarlet Myrmidon"),
+(4295, 1, 2, "The Light condemns all who harbor evil. Now you will die!", 12, 7, 25, 0, 0, 0, 2627, 0, "Scarlet Myrmidon"),
+(4295, 1, 3, "The Scarlet Crusade shall smite the wicked and drive evil from these lands!", 12, 7, 25, 0, 0, 0, 2628, 0, "Scarlet Myrmidon");