Skip to content

Commit 5e2030d

Browse files
authored
Scripts/Hyjal: Rewrite Archimonde (#31692)
1 parent d2b1330 commit 5e2030d

4 files changed

Lines changed: 471 additions & 491 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
-- Re-order texts
2+
DELETE FROM `creature_text` WHERE `CreatureID` = 17968;
3+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
4+
(17968,0,0,"All of your efforts have been in vain, for the draining of the World Tree has already begun! Soon the heart of your world will beat no more!",14,0,100,0,0,10986,20432,3,"Archimonde - SAY_INTRO"),
5+
(17968,1,0,"Your resistance is insignificant.",14,0,100,0,0,10987,18257,0,"Archimonde - SAY_AGGRO"),
6+
(17968,2,0,"You are mine now.",14,0,100,0,0,10988,18258,0,"Archimonde - SAY_CHARM_1"),
7+
(17968,2,1,"Bow to my will.",14,0,100,0,0,11042,18259,0,"Archimonde - SAY_CHARM_2"),
8+
(17968,3,0,"A-kreesh!",14,0,100,0,0,10989,18260,0,"Archimonde - SAY_AIR_BURST_1"),
9+
(17968,3,1,"Away, vermin!",14,0,100,0,0,11043,18261,0,"Archimonde - SAY_AIR_BURST_2"),
10+
(17968,4,0,"This world will burn!",14,0,100,0,0,10990,18262,0,"Archimonde - SAY_DOOMFIRE_1"),
11+
(17968,4,1,"Manach sheek-thrish!",14,0,100,0,0,11041,18263,0,"Archimonde - SAY_DOOMFIRE_2"),
12+
(17968,5,0,"Your soul will languish for eternity.",14,0,100,0,0,10991,18264,0,"Archimonde - SAY_SLAY_1"),
13+
(17968,5,1,"All creation will be devoured.",14,0,100,0,0,11044,18265,0,"Archimonde - SAY_SLAY_2"),
14+
(17968,5,2,"I am the coming of the end!",14,0,100,0,0,11045,18266,0,"Archimonde - SAY_SLAY_3"),
15+
(17968,6,0,"No, it cannot be! Nooo!",14,0,100,0,0,10992,14991,0,"Archimonde - SAY_DEATH"),
16+
(17968,7,0,"At last it is here! Mourn and lament the passing of all you have ever known, and all that would have been! Hach min corai!",14,0,100,0,0,10993,14990,0,"Archimonde - SAY_ENRAGE");
17+
18+
-- Spell scripts
19+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_protection_of_elune';
20+
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_archimonde_eternal_silence';
21+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
22+
(42201, 'spell_archimonde_eternal_silence');
23+
24+
-- Conditions
25+
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (32111,32124);
26+
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
27+
(13,1,32111,0,0,31,0,3,17946,0,0,0,0,"","Group 0: Spell 'Finger of Death' (Effect 0) targets creature 'Ancient Wisp'"),
28+
(13,1,32124,0,0,31,0,3,17946,0,0,0,0,"","Group 0: Spell 'Denouement Wisp' targets creature 'Ancient Wisp'"),
29+
(13,1,32124,0,1,31,0,3,18502,0,0,0,0,"","Group 1: Spell 'Denouement Wisp' targets creature 'Night Elf Wisp'");
30+
31+
-- Disable proc of Soul Charge spells, doesn't look like they proc on retail
32+
DELETE FROM `spell_proc` WHERE `SpellId` IN (32045,32051,32052);
33+
INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `ProcFlags`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES
34+
(32045,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0),
35+
(32051,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0),
36+
(32052,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0);
37+
38+
-- Creatures involved in encounter
39+
UPDATE `creature_template` SET `speed_walk` = 3.2, `speed_run` = 2.28571, `BaseAttackTime` = 1500 WHERE `entry` = 17968;
40+
UPDATE `creature_template` SET `speed_walk` = 1.6, `flags_extra` = `flags_extra` &~ 2 WHERE `entry` = 17946;
41+
UPDATE `creature_template` SET `speed_walk` = 2.8, `speed_run` = 1 WHERE `entry` = 18095;
42+
UPDATE `creature_template` SET `speed_walk` = 1, `ScriptName` = 'npc_doomfire_spirit' WHERE `entry` = 18104;
43+
UPDATE `creature_model_info` SET `BoundingRadius` = 4.2, `CombatReach` = 12 WHERE `DisplayID` = 20939;

0 commit comments

Comments
 (0)