Remove some annoying emotes

This commit is contained in:
郑佩茹
2023-03-21 13:32:34 -06:00
parent 5d17dfb2fe
commit 0c09ba2b2e
4 changed files with 0 additions and 68 deletions

View File

@@ -111,15 +111,6 @@ bool AttackAction::Attack(Unit* target)
}
}
if (!urand(0, 300) && botAI->HasStrategy("emote", BOT_STATE_NON_COMBAT))
{
std::vector<uint32> sounds;
sounds.push_back(TEXT_EMOTE_OPENFIRE);
sounds.push_back(305);
sounds.push_back(307);
botAI->PlayEmote(sounds[urand(0, sounds.size() - 1)]);
}
if (IsMovingAllowed() && !bot->HasInArc(CAST_ANGLE_IN_FRONT, target))
bot->SetFacingToObject(target);