mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
refactor(Core/Unit): clean MonsterText methods (#6957)
This commit is contained in:
@@ -320,7 +320,7 @@ public:
|
||||
|
||||
void JustDied(Unit* /*pKiller*/) override
|
||||
{
|
||||
me->SendPlaySound(SOUND_DEATH, false);
|
||||
me->PlayDirectSound(SOUND_DEATH);
|
||||
if(m_pInstance)
|
||||
m_pInstance->SetData(DATA_GORTOK_PALEHOOF, DONE);
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ public:
|
||||
if (m_pInstance)
|
||||
m_pInstance->SetData(SKADI_IN_RANGE, 1);
|
||||
|
||||
me->MonsterTextEmote(EMOTE_IN_RANGE, 0, true);
|
||||
me->TextEmote(EMOTE_IN_RANGE, nullptr, true);
|
||||
me->SetFacingTo(M_PI);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user