[Wip] The Admiral Revealed

[CODE]-- Spells
SET @WHIRLWIND := 49807;
SET @TOUCH := 60501;
SET @SLEEP := 53045;
SET @BLAST := 60500;
SET @STRIKE := 57846;
SET @CLEAVE := 15284;
SET @CARRION := 60502;
SET @SHIELD := 50161;
SET @ITEMSPELL := 20211; – Periodic trigger 31699
SET @PORTAL := 27731; – Portal summoned at outro

– NPCs
SET @ADMIRAL := 29621;
SET @MALGANIS := 29620;
SET @BUNNY := 29627;

– Templates
UPDATE creature_template SET AIName= “SmartAI” WHERE entry IN (@ADMIRAL,@MALGANIS);

– Texts
INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES
(@ADMIRAL,0,0, ‘How did you find me? Did Landgren tell?’,12,0,100,0,0,14201, ‘Grand Admiral Westwind’),
(@ADMIRAL,1,0, ‘You thought I would just let you kill me?’,12,0,100,0,0,14205, ‘Grand Admiral Westwind’),
(@ADMIRAL,2,0, ‘WHAT?! No matter. Even without my sphere,I will crush you! Behold my true identity and despair!’,12,0,100,0,0,14207, ‘Grand Admiral Westwind’),
(@ADMIRAL,3,0, ‘You’‘ll never defeat the Lich King without my forces. I’‘ll have my revenge… on him AND you!’,14,0,100,0,0,0, ‘Grand Admiral Westwind’),
(@ADMIRAL,4,0, ‘Gah! I spent too much time in that weak little shell.’,14,0,100,0,0,0, ‘Grand Admiral Westwind’),
(@ADMIRAL,5,0, ‘ENOUGH! I waste my time here. I must gather my strength on the homeworld.’,14,0,100,0,0,0, ‘Grand Admiral Westwind’),
(@ADMIRAL,6,0, ‘Kirel narak! I am Mal’‘Ganis. I AM ETERNAL!’,14,0,100,0,0,0, ‘Grand Admiral Westwind’);

– Cleanup SAI table
DELETE FROM smart_scripts WHERE entryorguid=@ADMIRAL AND source_type=0;
DELETE FROM smart_scripts WHERE entryorguid=@MALGANIS100 AND source_type=9;
DELETE FROM smart_scripts WHERE entryorguid=@ADMIRAL
100 AND source_type=9;
DELETE FROM smart_scripts WHERE entryorguid=@MALGANIS 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)
(@ADMIRAL,0,0,0,4,0,100,0x01,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - On Aggro - Talk’),
(@ADMIRAL,0,1,2,2,0,100,0x01,0,50,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - At 50% health - Talk’),
(@ADMIRAL,0,2,0,61,0,100,0x01,0, 0,0,0,11,@SHIELD,0x03,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - At 50% health - Cast Protection Shield’),
(@ADMIRAL,0,3,0,8,0,100,0x01,@ITEMSPELL,0,0,0,80,@ADMIRAL*100,1,2,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - On Lord-Commander’‘s Nullifier Spellhit - Start timed ActionList’),

(@ADMIRAL100,9,0,1,0,0,100,0,3000,3000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - Script - Talk’),
100,9,1,0,61,0,100,0x01,0,0,0,0,28,@SHIELD,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - Script - Remove Protection Shield’),
(@ADMIRAL*100,9,1,0,0,0,100,0,10000,10000,0,0,36,@MALGANIS,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Grand Admiral Westwind - Script - Turn into Mal’‘Ganis’),[/sql]


TC style not respected, this is written in a eye-friendly manner. Working on it right now, BUT I can’t find SoundIDs.


Why would you post this? It’s really far from done… =/

As for SAI line 3 (call timed action list), where is it? /emoticons/default_tongue.png

In case you would need soundIDs, here is a complete list of all the sounds/musics used in the game (patch 3.3.5)

This is here just for me to remember that i have this as a wip /emoticons/default_tongue.png

Nice. Thank you.

Use this too:

from http://old.wowhead.c…nglish-comments

[SPOILER]By Wildfyre (1) on 2008/12/04 (Patch 3.0.3)

I just solo’d this on my warlock and here is what I saw…

The admiral himself is a straight tank and spank… doesn’t really do anything special. He hits my void (16k armor) for about 1500ish a swing and does a wirlwind every so often and hits for about the same damage. (didn’t hit my void as hard because of avoidance but I’m imagining it would be about the same).

At about 50% hp, he will put up his shield and you will need to use the Lord-Commander’s Nullifier to get rid of that shield. He becomes immune to everything while the shield is up, so you need to use the nullifier quick to continue dpsing him.

I would say within a minute of taking off that shield (it might have been a certain % of life that triggers this but I wasn’t watching close enough)… he transforms into Dreadload Mal’Ganis and the fight changes slightly.

Once he transforms he has a few other abilities. He hit roughly for about 1600-2000 per swing and has typical dreadlord ability. He casts Carrion Swarm which did about 300 damage / 2 seconds, Mind Blast every 10 seconds or so for approx 2k shadow damage (he turned and hit me with just about every mind blast then resumed attacking the voidwalker) and he does a Sleep on about a 10 second cooldown as well and only lasts for about 3 seconds (would sleep me and continue attacking my void).

Something to note as well, when he transforms, his maximum health jumps to 384k but you continue fighting him from the hp he was at (roughly 40% or so when he transforms). I didn’t notice how much hp he had remaining when he transformed but I did notice his max health spiked so my guess would be that his remaining life scaled with that as well.

He can be feared in his first phase but I found he evade bugs often and resets if he gets feared down the ramp.

Took about 15 minutes or so to kill him. Remember that all the physical damage about was done to a voidwalker with 16.2k armor… so if your a warrior… scale the damage by whatever armor you have.

Hope this helps!


Edit: These are the soundID :

14427 15% HP

14426 30% HP

14428 First final speech

14429 Second final speech

14207 Sphere removed

14205 When he cast the Sphere

14201 beginning of combat

First post updated, I need a SMART_ACTION_SET_HEALTH_PCT or something similar.

as for the outro, a timed action list unauthorizing melee should do it, although i didn’t investigate further.

if undoable, then … C++ is our love.

Cron imagine that a full party of t10 is coming to kill the NPC. The NPC talks at aggro but the party have an awesome DPS and the NPC health gets at 50% before the first soundid have finished. Your sounds will get mixed. Right?

Yeah, so what ?

What can you do to avoid that? Because is what will happen at the end of the combat when the NPC becomes unattackable and have to say 2 different texts

The at that time running sound will never be overwritten. It sounds strange but that’s also how it would work on retail. /emoticons/default_smile.png