Trinitycore: DB/Quest: Tormented By the Past

Created on 17 Apr 2018  路  5Comments  路  Source: TrinityCore/TrinityCore

Description:

When quest "Tormented By the Past" is rewarded, every undead Highborne in Lake Kel'theril (Anguished Highborne & Suffering Highborne) should become friendly for a few minutes.

http://www.wowhead.com/quest=5248/tormented-by-the-past

Branch(es):

3.3.5

TC rev. hash/commit:

TrinityCore rev. 1cc3d33 2018-02-19 20:21:57 +0100 (3.3.5 branch) (Win64, RelWithDebInfo, Static)

TDB version: 335.64

Operating system: Windows 7

Suggested Fix:
``sql -- Remorseful Highborne DELETE FROMsmart_scriptsWHEREentryorguid=10684 ANDsource_type=0 ANDidIN (1,2); DELETE FROMsmart_scriptsWHEREentryorguid=1068400 ANDsource_type=9; INSERT INTOsmart_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
(10684,0,1,0,20,0,100,0,5248,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Remorseful Highborne - On Quest 'Tormented by the Past' Finished - Set Active On"),
(10684,0,2,0,20,0,100,0,5248,0,0,0,80,1068400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Remorseful Highborne - On Quest 'Tormented by the Past' Finished - Run Script"),
(1068400,9,0,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,11,7523,500,0,0,0,0,0,"Remorseful Highborne - On Script - Set Data 1 1"),
(1068400,9,1,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,11,7524,500,0,0,0,0,0,"Remorseful Highborne - On Script - Set Data 1 1"),
(1068400,9,2,0,0,0,100,0,120000,120000,0,0,45,2,2,0,0,0,0,11,7523,500,0,0,0,0,0,"Remorseful Highborne - On Script - Set Data 2 2"),
(1068400,9,3,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,11,7524,500,0,0,0,0,0,"Remorseful Highborne - On Script - Set Data 2 2"),
(1068400,9,4,0,0,0,100,0,0,0,0,0,48,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Remorseful Highborne - On Script - Set Active Off");

-- Anguished Highborne
DELETE FROM smart_scripts WHERE entryorguid=7524 AND source_type=0 AND id IN (2,3);
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
(7524,0,2,0,38,0,100,0,1,1,0,0,2,124,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anguished Highborne - On Data Set 1 1 - Set Faction 124"),
(7524,0,3,0,38,0,100,0,2,2,0,0,2,21,0,0,0,0,0,1,0,0,0,0,0,0,0,"Anguished Highborne - On Data Set 2 2 - Set Faction 21");

-- Suffering Highborne
DELETE FROM smart_scripts WHERE entryorguid=7523 AND source_type=0 AND id IN (2,3);
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
(7523,0,2,0,38,0,100,0,1,1,0,0,2,124,0,0,0,0,0,1,0,0,0,0,0,0,0,"Suffering Highborne - On Data Set 1 1 - Set Faction 124"),
(7523,0,3,0,38,0,100,0,2,2,0,0,2,21,0,0,0,0,0,1,0,0,0,0,0,0,0,"Suffering Highborne - On Data Set 2 2 - Set Faction 21");

Branch-3.3.5a Comp-Database Feedback-PatchFix

Most helpful comment

I'm not 100% sure, but I think they become friendly to everyone (and by everyone I mean every Alliance player; for Horde players they will remain Hostile).

All 5 comments

Shouldn't these npcs only become friendly to the player who ended the quest or to everyone?

I doubt it, those NPCs could be farmed for ectoplasm back in vanilla(classic).

Maybe there have been changes in that region after Cataclysm, but the solution from ZenoX92 is meant for 3.3.5 (pre-Cataclysm).

I'm not 100% sure, but I think they become friendly to everyone (and by everyone I mean every Alliance player; for Horde players they will remain Hostile).

Fair enough, thanks for the amazing updates here @ZenoX92

Glad to be of help... :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jildor picture Jildor  路  3Comments

Blasphemous picture Blasphemous  路  3Comments

funjoker picture funjoker  路  3Comments

ZenoX92 picture ZenoX92  路  3Comments

tje3d picture tje3d  路  3Comments