mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-20 05:28:22 +00:00
Add missing alert round for ranged attacks
This commit is contained in:
+2
-1
@@ -1841,7 +1841,8 @@ bool Bot::BotRangedAttack(Mob* other, bool CanDoubleAttack) {
|
|||||||
) {
|
) {
|
||||||
if (!Ammo || ammoItem->GetCharges() < 1) {
|
if (!Ammo || ammoItem->GetCharges() < 1) {
|
||||||
if (!GetCombatRoundForAlerts()) {
|
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