Core/Scripts: Tom Hegger must target player in Say text (#17395)
File: zone_borean_tundra.cpp Script: npc_hidden_cultist Quest: The Hunt is On, 11794 NPC: Tom Hegger, 25827 Before this change, Tom Hegger does not target player when saying his aggro text "You don't know who you're messing with, $c! Death beckons!" and hence the text $c will be shown instead of the player class. (cherry picked from commit 736843fbb5442b1338ec888c8a702d666c95a76b)
This commit is contained in:
@@ -2311,7 +2311,8 @@ public:
|
||||
uiEventPhase = 2;
|
||||
break;
|
||||
case NPC_TOM_HEGGER:
|
||||
Talk(SAY_HIDDEN_CULTIST_3);
|
||||
if (Player* player = ObjectAccessor::GetPlayer(*me, uiPlayerGUID))
|
||||
Talk(SAY_HIDDEN_CULTIST_3, player);
|
||||
uiEventTimer = 5000;
|
||||
uiEventPhase = 2;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user