TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[Karynaku freed] Zuluhed the Whacked

Open click opened this issue 15 years ago • 47 comments

http://www.wowhead.com/quest=10866 Should free Karynaku using Zuluhed's Key. Key is consumed in the process of trying to free Karynaku but does nothing.

click avatar May 16 '11 22:05 click

Author: cyrex Did Zuluhed actually spawn?

click avatar May 16 '11 22:05 click

Author: maxteam yes , he spawns immediately after taking that quest his spawn posistion was fixed here (http://www.trinitycore.org/t/trinitycore/ticket/424)

but after u get the key from him and try to freed karynaku, the Key is consumed in the process of trying to free Karynaku but does nothing.

click avatar May 16 '11 22:05 click

Author: cyrex There are 2 bugs. If you cancel the quest he does not disappear. So if you take the quest again you will have 2 Zuluhed.

Also the key is consumed and it does not free the dragon or at least make the objective complete.

click avatar May 16 '11 22:05 click

Author: cyrex Ok finished testing. The only problem right now is that the zuluhed key http://www.wowhead.com/item=31664 is not working with the Zuluhed Chains ( http://www.wowhead.com/object=185156) and it does not count towards the objective. It only uses up the key and then the player does not have any other way of doing the quest. So he would need to remove the quest and take it over.

For the position is perfect. For the key that is all that needs fixing.

click avatar May 16 '11 22:05 click

Going to test that SQL query on the quest.

luisalvarado avatar May 18 '11 02:05 luisalvarado

http://www.trinitycore.org/f/topic/58-wdb-fields/

Aokromes avatar Sep 04 '11 15:09 Aokromes

Still broken quest

yaimi avatar Nov 25 '11 13:11 yaimi

I have this quest sniffed and started working on it

ghost avatar Dec 13 '11 12:12 ghost

I have text done and SAI for Zuluhed the Whacked. Just wanted to let people know this is being worked on.

ghost avatar Dec 23 '11 13:12 ghost

Thanks malcrom. +1

luisalvarado avatar Dec 23 '11 15:12 luisalvarado

-- Quest 10866 "Zuluhed the Whacked"
UPDATE `quest_template` SET `PrevQuestId` = 10872 WHERE `Id` = 10871;
-- Karynaku <Mate of Neltharaku> SAI
SET @ENTRY := 22112; -- NPC entry
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY*100;
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
(@ENTRY,0,0,0,19,0,100,0,10866,0,0,0,80,@ENTRY*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Karynaku - Quest Accepted - run script'),
(@ENTRY*100,9,0,0,0,0,100,0,0,0,0,0,12,11980,4,10000,0,0,0,8,0,0,0,-4204.93652,316.397369,122.507774,1.30899692, 'Karynaku - Script - Summon Zuluhed the Whacked'),
(@ENTRY*100,9,1,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4167.83057,353.686432,138.9584,2.8972466, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,2,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4169.85,341.297852,135.9378,3.159046, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,3,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4172.62744,330.287018,135.957687,2.86234, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,4,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4182.74463,320.65094,135.6589,1.76278257, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,5,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4191.66846,314.663422,136.221252,2.07694173, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,6,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4205.27539,310.4961,137.9865,1.08210409, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,7,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4221.03,356.1273,137.067276,5.86430645, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,8,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4222.07471,348.024963,136.50415,5.951573, 'Karynaku - Script - Summon Dragonmaw Elite'),
(@ENTRY*100,9,9,0,0,0,100,0,0,0,0,0,12,22331,4,10000,0,0,0,8,0,0,0,-4224.608,339.7754,135.599258,6.19591856, 'Karynaku - Script - Summon Dragonmaw Elite');
-- Zuluhed the Whacked <Chieftain of the Dragonmaw Clan> SAI
SET @ENTRY   := 11980; -- NPC entry
SET @SPELL1  := 24240; -- Spawn - Red Lightning
SET @SPELL2  := 19717; -- Rain of Fire
SET @SPELL3  := 38876; -- Demon Portal
SET @SPELL4  := 38853; -- Nether Infusion
UPDATE `creature_template` SET `AIName`='SmartAI', `ScriptName`='', `faction_A`=16, `faction_H`=16, `InhabitType`=1, `unit_flags`=`unit_flags`|33600, `flags_extra`=`flags_extra`&~2 WHERE `entry`=@ENTRY;
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY*100;
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
(@ENTRY,0,0,1,54,0,100,1,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Just summoned - Set reactstate passive'),
(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,80,@ENTRY*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Just summoned - run script'),
(@ENTRY,0,2,0,0,0,100,0,10000,15000,10000,15000,11,@SPELL2,0,0,0,0,0,6,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Combat - Cast Rain of Fire'),
(@ENTRY,0,3,0,2,0,100,1,0,80,0,0,11,@SPELL3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Health below 80% - Cast Demon Portal'),
(@ENTRY,0,4,0,2,0,100,1,0,30,0,0,11,@SPELL3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Health below 30% - Cast Demon Portal'),
(@ENTRY,0,5,6,2,0,100,1,0,20,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Health below 20% - Say 3'),
(@ENTRY,0,6,0,61,0,100,0,0,0,0,0,11,@SPELL4,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Health below 20% - Cast Nether Infusion'),
(@ENTRY*100,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Say 0'),
(@ENTRY*100,9,1,0,0,0,100,0,100,100,100,100,11,@SPELL1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Cast Spawn - Red Lightning'),
(@ENTRY*100,9,2,0,0,0,100,0,6000,6000,6000,6000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Say 1'),
(@ENTRY*100,9,3,0,0,0,100,0,5000,5000,5000,5000,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Say 2'),
(@ENTRY*100,9,4,0,0,0,100,0,3000,3000,3000,3000,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Set reactstate Aggressive'),
(@ENTRY*100,9,5,0,0,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Remove unit_flag'),
(@ENTRY*100,9,6,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Zuluhed the Whacked - Script - Attack Closest Player');
-- NPC talk text insert from sniff
DELETE FROM `creature_text` WHERE `entry` IN (11980);
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES
(11980,0,0, 'Foolish mortals. Did you think that I would not strike you down for your transgressions?',14,0,100,5,0,0, 'Zuluhed the Whacked'),
(11980,1,0, 'Indeed, the time has come to end this charade.',14,0,100,22,0,0, 'Zuluhed the Whacked'),
(11980,2,0, 'Destroy them! Destroy them all!',14,0,100,25,0,0, 'Zuluhed the Whacked'),
(11980,3,0, 'Lord Illidan, bless me with the power of the flight!',14,0,100,22,0,0, 'Zuluhed the Whacked');
-- Demon Portal (Zuluhed) SAI
SET @ENTRY   := 22336; -- NPC entry
SET @SPELL1  := 38877; -- Summon Arcubus
UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=16, `faction_H`=16, `unit_flags`=`unit_flags`|512|256 WHERE `entry`=@ENTRY;
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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
(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Demon Portal (Zuluhed) - Just summoned - Set reactstate passive'),
(@ENTRY,0,1,0,1,0,100,0,30000,30000,30000,30000,11,@SPELL1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Demon Portal (Zuluhed) - OOC - Cast Summon Arcubus'),
(@ENTRY,0,2,0,1,0,100,0,35000,35000,35000,35000,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Demon Portal (Zuluhed) - OOC - Despawn');
-- Arcubus Destroyer SAI
SET @ENTRY   := 22338; -- NPC entry
UPDATE `creature_template` SET `AIName`='SmartAI', `faction_A`=90, `faction_H`=90, `unit_flags`=`unit_flags`|32764|64 WHERE `entry`=@ENTRY;
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
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
(@ENTRY,0,0,1,54,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Arcubus Destroyer - Just summoned - Remove unit_flag'),
(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,50,0,0,0,0,0,0, 'Arcubus Destroyer - Just summoned - Attack Closest Player');

ghost avatar Dec 25 '11 12:12 ghost

Can someone please test this. I still have end script to do for Karynaku, convert Dragonmaw Elite EAI to SAI, and SAI for Demon spawned from demon portal.

ghost avatar Dec 25 '11 13:12 ghost

@malcrom, Karynaku NPC entry should be 22112 not 22122. During the fight I didn't saw any Demon Portal's or Dragonmaw Elite's. SmartAIMgr: Entry 1198000 SourceType 9 Event 1 Action 11 uses min/max params wrong (100/0), skipped.

You might also include this to fix the quest chaining:

UPDATE `quest_template` SET `PrevQuestId` = 10872 WHERE `Id` = 10871;

Video's I used for reference: https://www.youtube.com/watch?v=NnFKxgxTUtk https://www.youtube.com/watch?v=jTU2iDIRD0g https://www.youtube.com/watch?v=NnFKxgxTUtk

nelegalno avatar Dec 25 '11 13:12 nelegalno

I think its possible demon portal should be cast approx every 60 second. I've seen a few video's with different numbers of demons spawned. Possibly dependent on speed of kill.

ghost avatar Dec 25 '11 13:12 ghost

Now the portals are spawning but they do nothing other than follow Zuluhed.

P.S. See my previous comment - I updated it many times while testing.

nelegalno avatar Dec 25 '11 14:12 nelegalno

Guess I'll have to script them too.

ghost avatar Dec 25 '11 14:12 ghost

Portals work fine now, I think the demons they summon should attack the tank if he is near when summoned though. Also if for some reason the fight is interrupted Zuluhed isn't attack-able.

P.S. Consider including UPDATE quest_templateSETPrevQuestId= 10872 WHEREId = 10871; in the fix.

nelegalno avatar Dec 25 '11 14:12 nelegalno

Note I don't have the demons scripted yet :)

ghost avatar Dec 25 '11 14:12 ghost

Hum i see very strange that quest 10871 needs to have quest 10872 finished.

Aokromes avatar Dec 25 '11 14:12 Aokromes

http://old.wowhead.com/quest=10872 is a removed Alliance version of http://old.wowhead.com/quest=10866 and if you check it's NextQuestIdChain you'll see it is http://old.wowhead.com/quest=10871 which in turn is the removed Alliance version of http://old.wowhead.com/quest=10870 (the one you get after http://old.wowhead.com/quest=10866).

nelegalno avatar Dec 25 '11 15:12 nelegalno