[Quest] Facing Negolash #8846

Closed
Zaranthos opened this Issue Jan 2, 2013 · 4 comments

Comments

Projects
None yet
6 participants

This quest does not seem to work.
http://www.wowhead.com/quest=8554/facing-negolash

When using the 10 barbequed buzzard wings and 5 junglevine wine on the ruined lifeboat it should summon Negolash but doesn't.
http://www.wowhead.com/object=2289/ruined-lifeboat
http://www.wowhead.com/npc=1494

2012-12-22 09:23:55 -0800 (3f4c6a9+) (Win64, Release) AHbot
3f4c6a9
TDB_full_335.49_2012_09_16 (+updates)

@ghost ghost assigned malcrom Jan 2, 2013

My build date is 12/22 and that update is dated 12/15 so I would have that if it was posted at or before the time I did my build.

Contributor

sonic3000 commented Jan 10, 2013

Yea, a lot of quests that depended upon that field aren't going to work anymore ... which in a bitter sweet sense is actually a good thing because now most events can be scripted using SAI which is a lot more powerful and dynamic.

This SAI I wrote should allow for the quest to work. I used the values that was in the old quest_end_scripts table:

set @NPC_Negolash := 1494;
set @enticing_negolash_quest := 619;
set @Obj_ruined_lifeboat := 2289;

UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = @NPC_Negolash;
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@Obj_ruined_lifeboat;
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_Negolash, @Obj_ruined_lifeboat);
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 

-- SAI for NPC summon and yell
(@Obj_ruined_lifeboat, 1, 0, 0, 20, 0, 100, 0, @enticing_negolash_quest, 0, 0, 0, 12, @NPC_Negolash, 1, 300000, 0, 0, 0, 8, 0, 0, 0, -14611.6, 142.68, -1.47, 2.7, 'Quest 619 complete - Summon Negolash'),
(@NPC_Negolash, 0, 0, 0, 1, 0, 100, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'On Negolash Summon - Negolash Yell - Text Over');

-- Creature text add that wasn't in the DB
DELETE FROM `creature_text` WHERE `entry` = @NPC_Negolash AND `groupid` = 0;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES 
(@NPC_Negolash, 0, 0, 'Mmmh...I SMELL FOOD!', 14, 0, 100, 0, 0, 0, 'Negolash Yell');

nice work @sonic3000

@ghost ghost assigned ZxBiohazardZx Mar 5, 2013

raczman pushed a commit to raczman/TrinityCore that referenced this issue Apr 20, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment