mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
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.
This commit is contained in:
@@ -2314,7 +2314,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