mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 03:53:48 +00:00
refactor(Core/Unit): clean MonsterText methods (#6957)
This commit is contained in:
@@ -213,7 +213,7 @@ struct boss_twinemperorsAI : public ScriptedAI
|
||||
Creature* pOtherBoss = GetOtherBoss();
|
||||
if (pOtherBoss)
|
||||
{
|
||||
//me->MonsterYell("Teleporting ...", LANG_UNIVERSAL, 0);
|
||||
//me->Yell("Teleporting ...", LANG_UNIVERSAL);
|
||||
Position thisPos;
|
||||
thisPos.Relocate(me);
|
||||
Position otherPos;
|
||||
@@ -257,7 +257,7 @@ struct boss_twinemperorsAI : public ScriptedAI
|
||||
me->ClearUnitState(UNIT_STATE_STUNNED);
|
||||
if (Unit* nearu = me->SelectNearestTarget(100))
|
||||
{
|
||||
//DoYell(nearu->GetName(), LANG_UNIVERSAL, 0);
|
||||
//DoYell(nearu->GetName(), LANG_UNIVERSAL);
|
||||
AttackStart(nearu);
|
||||
me->AddThreat(nearu, 10000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user