refactor(Core/Unit): clean MonsterText methods (#6957)
This commit is contained in:
parent
3c42a7d72d
commit
bc82f36f1f
75 changed files with 750 additions and 672 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue