Skip to content

Commit 761786c

Browse files
authored
Scripts/Shattered Halls: Update scripts (TrinityCore#31021)
* Kargath and O'mrogg got a full rewrite * other bosses - new register model only, no functionality changes
1 parent cbabaa0 commit 761786c

File tree

7 files changed

+1048
-1056
lines changed

7 files changed

+1048
-1056
lines changed
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
-- Warchief Kargath Bladefist
2+
UPDATE `creature_template` SET `unit_flags` = 33554432, `ScriptName` = 'npc_warchiefs_portal' WHERE `entry` = 17611;
3+
DELETE FROM `creature` WHERE `id` = 17611;
4+
5+
DELETE FROM `waypoints` WHERE `entry` = 17621;
6+
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `point_comment`) VALUES
7+
(17621,1,312.5911,-84.185234,1.9369955,NULL,0,'Heathen Guard'),
8+
(17621,2,301.18335,-83.94184,1.9370384,NULL,0,'Heathen Guard'),
9+
(17621,3,289.016,-83.993065,1.9303827,NULL,0,'Heathen Guard'),
10+
(17621,4,279.15543,-84.08081,2.189514,NULL,0,'Heathen Guard'),
11+
(17621,5,274.1177,-84.06761,2.3095038,NULL,0,'Heathen Guard');
12+
13+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 17621 AND `source_type` = 0 AND `id` IN (3,4);
14+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 17622 AND `source_type` = 0 AND `id` IN (5,6);
15+
DELETE FROM `smart_scripts` WHERE `entryorguid` = 17623 AND `source_type` = 0 AND `id` IN (5,6);
16+
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
17+
(17621,0,3,0,54,0,100,0,0,0,0,0,0,53,1,17621,0,0,0,0,1,0,0,0,0,0,0,0,0,"Heathen Guard - On Just Summoned - Start Waypoint"),
18+
(17621,0,4,0,40,0,100,0,5,17621,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Heathen Guard - On Waypoint 5 Reached - Set In Combat With Zone"),
19+
20+
(17622,0,5,0,54,0,100,0,0,0,0,0,0,53,1,17621,0,0,0,0,1,0,0,0,0,0,0,0,0,"Sharpshooter Guard - On Just Summoned - Start Waypoint"),
21+
(17622,0,6,0,40,0,100,0,5,17621,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Sharpshooter Guard - On Waypoint 5 Reached - Set In Combat With Zone"),
22+
23+
(17623,0,5,0,54,0,100,0,0,0,0,0,0,53,1,17621,0,0,0,0,1,0,0,0,0,0,0,0,0,"Reaver Guard - On Just Summoned - Start Waypoint"),
24+
(17623,0,6,0,40,0,100,0,5,17621,0,0,0,38,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,"Reaver Guard - On Waypoint 5 Reached - Set In Combat With Zone");
25+
26+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (30751,30738);
27+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
28+
(13,1,30751,0,0,31,0,3,20709,0,0,0,0,"","Group 0: Spell 'Blade Dance Charge' (Effect 0) targets creature 'Blade Dance Target'"),
29+
(13,1,30738,0,0,31,0,3,20709,0,0,0,0,"","Group 0: Spell 'Blade Dance Targeting' (Effect 0) targets creature 'Blade Dance Target'");
30+
31+
DELETE FROM `creature_text` WHERE `CreatureID` = 16808 AND `GroupID` = 5;
32+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
33+
(16808,5,0,"Cowards! You'll never draw me into the shadows!",14,0,100,0,0,0,18367,0,"kargath SAY_LEASH");
34+
35+
DELETE FROM `creature_summon_groups` WHERE `summonerId` = 16808;
36+
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`, `Comment`) VALUES
37+
(16808,0,0,17611,336.707,-84.0521,1.99244,3.124140,8,0,"Warchief Kargath Bladefist - Group 0 - Warchief's Portal"),
38+
39+
(16808,0,1,17695,287.038,-88.1788,2.06635,2.443460,7,300000,"Warchief Kargath Bladefist - Group 1 - Shattered Hand Assassin"),
40+
(16808,0,1,17695,167.829,-86.5578,1.99496,0.890118,7,300000,"Warchief Kargath Bladefist - Group 1 - Shattered Hand Assassin"),
41+
(16808,0,1,17695,292.149,-82.2527,1.99739,2.932150,7,300000,"Warchief Kargath Bladefist - Group 1 - Shattered Hand Assassin"),
42+
(16808,0,1,17695,172.682,-80.6569,2.08346,5.427970,7,300000,"Warchief Kargath Bladefist - Group 1 - Shattered Hand Assassin");
43+
44+
UPDATE `creature_template_addon` SET `auras` = '19818' WHERE `entry` = 16808;
45+
46+
DELETE FROM `creature` WHERE `guid` IN (86464,86465,86466);
47+
DELETE FROM `spawn_group` WHERE `spawnType` = 0 AND `spawnId` IN (86464,86465,86466);
48+
49+
-- Warbringer O'mrogg
50+
DELETE FROM `creature` WHERE `guid` IN (130847,130848) AND `id` IN (19523,19524);
51+
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
52+
(130847, 19523, 540, 0, 0, 3, 1, 0, 0, 374.378570556640625, 51.28566360473632812, 30.643890380859375, 0.03490658476948738, 86400, 0, 0, 74, 0, 0, 0, 0, 0, 14007),
53+
(130848, 19524, 540, 0, 0, 3, 1, 0, 0, 374.356475830078125, 64.50481414794921875, 31.22058868408203125, 6.0737457275390625, 86400, 0, 0, 74, 0, 0, 0, 0, 0, 14007);
54+
55+
UPDATE `creature_template` SET `flags_extra` = `flags_extra`|128 WHERE `entry` IN (19523,19524,20572,20573);
56+
57+
DELETE FROM `creature_equip_template` WHERE `CreatureID`=16809 AND `ID`=2;
58+
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
59+
(16809, 2, 29479, 0, 0, 61967);
60+
61+
DELETE FROM `creature_template_movement` WHERE `CreatureId` IN (19523,19524,20572,20573);
62+
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
63+
(19523,1,1,1,1,0,0,NULL),
64+
(20572,1,1,1,1,0,0,NULL),
65+
(19524,1,1,1,1,0,0,NULL),
66+
(20573,1,1,1,1,0,0,NULL);
67+
68+
DELETE FROM `creature_text` WHERE `CreatureID` IN (19523,19524,16809);
69+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
70+
(16809,0,0,"%s roars!",16,0,100,0,0,0,14029,0,"omrogg EMOTE_ROAR"),
71+
72+
-- Smash! 15:26:08.000 -- Why don't you let me do the talking? 15:26:11.000 -- Hey! 15:26:14.000
73+
-- https://youtu.be/9aHROEXiVSA?t=1548
74+
/* L */ (19523,0,0,"Smash!", 14,0,100,0,0,10306,14046,0,"omrogg SAY_AGGRO_1"),
75+
/* R */ (19524,0,0,"Why don't you let me do the talking?", 14,0,100,0,0,10317,14047,0,"omrogg SAY_AGGRO_1_1"),
76+
/* L */ (19523,1,0,"Hey!", 14,0,100,0,0,10307,16917,0,"omrogg SAY_AGGRO_1_2"),
77+
78+
-- https://youtu.be/cmZMZFc09oM?t=26
79+
/* L */ (19523,2,0,"If you nice me let you live.", 14,0,100,0,0,10308,14048,0,"omrogg SAY_AGGRO_2"),
80+
/* R */ (19524,1,0,"No, we will NOT let you live.", 14,0,100,0,0,10318,16916,0,"omrogg SAY_AGGRO_2_1"),
81+
82+
-- https://youtu.be/c7anPGIo9pA?t=5
83+
/* L */ (19523,3,0,"Me hungry.", 14,0,100,0,0,10309,16918,0,"omrogg SAY_AGGRO_3"),
84+
/* R */ (19524,2,0,"You're always hungry. That's why we so fat!", 14,0,100,0,0,10319,16919,0,"omrogg SAY_AGGRO_3_1"),
85+
86+
-- Me not like this one... 15:26:36.000 -- Hey, you numbskull! 15:26:39.000 -- We kill his friend! 15:26:41.000
87+
-- https://youtu.be/FfjIPe1F7v4?t=1810
88+
/* L */ (19523,4,0,"Me not like this one...", 14,0,100,0,0,10300,14043,0,"omrogg SAY_ATTACK_1"),
89+
/* R */ (19524,3,0,"Hey, you numbskull!", 14,0,100,0,0,10312,14044,0,"omrogg SAY_ATTACK_1_1"),
90+
/* L */ (19523,5,0,"We kill his friend!", 14,0,100,0,0,10301,14045,0,"omrogg SAY_ATTACK_1_2"),
91+
92+
-- https://youtu.be/H4hvmeYjIYI?t=3130
93+
/* L */ (19523,6,0,"We kill someone else!", 14,0,100,0,0,10302,16895,0,"omrogg SAY_ATTACK_2"),
94+
/* R */ (19524,4,0,"I'm not done yet, idiot!", 14,0,100,0,0,10313,16896,0,"omrogg SAY_ATTACK_2_1"),
95+
96+
-- https://youtu.be/H4hvmeYjIYI?t=3197
97+
/* L */ (19523,7,0,"You stay here. Me go kill someone else!", 14,0,100,0,0,10303,16898,0,"omrogg SAY_ATTACK_3"),
98+
/* R */ (19524,5,0,"That's not funny!", 14,0,100,0,0,10314,16899,0,"omrogg SAY_ATTACK_3_1"),
99+
/* L */ (19523,8,0,"Ha ha ha.", 14,0,100,0,0,10304,16900,0,"omrogg SAY_ATTACK_3_2"),
100+
101+
-- https://youtu.be/0phkTyrfzpo?t=484
102+
/* R */ (19524,6,0,"What are you doing?", 14,0,100,0,0,10315,16901,0,"omrogg SAY_ATTACK_4"),
103+
/* L */ (19523,9,0,"Me get bored.", 14,0,100,0,0,10305,16902,0,"omrogg SAY_ATTACK_4_1"),
104+
/* R */ (19524,7,0,"Bored? He was almost dead!", 14,0,100,0,0,10316,16903,0,"omrogg SAY_ATTACK_4_2"),
105+
106+
-- https://wowpedia.fandom.com/wiki/Warbringer_O%27mrogg
107+
/* R */ (19524,8,0,"I'm tired. You kill next one!", 14,0,100,0,0,10320,16921,0,"omrogg SAY_SLAY_1"),
108+
109+
-- https://wowpedia.fandom.com/wiki/Warbringer_O%27mrogg
110+
/* L */ (19523,10,0,"This one die easy!", 14,0,100,0,0,10310,16922,0,"omrogg SAY_SLAY_2"),
111+
/* R */ (19524,9,0,"That's because I do all the hard work!", 14,0,100,0,0,10321,16923,0,"omrogg SAY_SLAY_2_1"),
112+
113+
-- This all... your fault! 15:26:57.000 -- I... hate... you. 15:27:00.000
114+
-- https://youtu.be/FfjIPe1F7v4?t=1830
115+
/* L */ (19523,11,0,"This all... your fault!", 14,0,100,0,0,10311,16924,0,"omrogg SAY_DEATH_1"),
116+
/* R */ (19524,10,0,"I... hate... you.", 14,0,100,0,0,10322,16925,0,"omrogg SAY_DEATH_1_1");
117+
118+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_omrogg_burning_maul';
119+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
120+
(30598, 'spell_omrogg_burning_maul'),
121+
(36056, 'spell_omrogg_burning_maul');

0 commit comments

Comments
 (0)