Add missing alert round for ranged attacks

This commit is contained in:
nytmyr
2024-12-12 08:00:12 -06:00
parent 783a5f0adf
commit 90fe8a31d7
+2 -1
View File
@@ -1839,7 +1839,8 @@ bool Bot::BotRangedAttack(Mob* other, bool CanDoubleAttack) {
) {
if (!Ammo || ammoItem->GetCharges() < 1) {
if (!GetCombatRoundForAlerts()) {
GetOwner()->Message(Chat::Yellow, "I do not have enough any ammo.");
SetCombatRoundForAlerts();
BotGroupSay(this, "I do not have enough any ammo!");
}
}