mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Add missing alert round for ranged attacks
This commit is contained in:
+2
-1
@@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user