From 37e5e3942d150ac56a2233913e9908a55a2ac915 Mon Sep 17 00:00:00 2001 From: avirar Date: Tue, 26 Nov 2024 08:54:39 +1100 Subject: [PATCH] Update InventoryChangeFailureAction.cpp Corrected bot output for EQUIP_ERR_NOT_IN_COMBAT which is returned when the bot is in combat and cannot perform the equip action. Bot would previously say "I am not in combat", it will now say "I am in combat" --- src/strategy/actions/InventoryChangeFailureAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/InventoryChangeFailureAction.cpp b/src/strategy/actions/InventoryChangeFailureAction.cpp index 238fa945..31a182c9 100644 --- a/src/strategy/actions/InventoryChangeFailureAction.cpp +++ b/src/strategy/actions/InventoryChangeFailureAction.cpp @@ -75,7 +75,7 @@ bool InventoryChangeFailureAction::Execute(Event event) messages[EQUIP_ERR_BAG_FULL4] = messages[EQUIP_ERR_BAG_FULL]; messages[EQUIP_ERR_ITEM_SOLD_OUT] = messages[EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT]; messages[EQUIP_ERR_OBJECT_IS_BUSY] = "This object is busy"; - messages[EQUIP_ERR_NOT_IN_COMBAT] = "I am not in combat"; + messages[EQUIP_ERR_NOT_IN_COMBAT] = "I am in combat"; messages[EQUIP_ERR_NOT_WHILE_DISARMED] = "Cannot do while disarmed"; messages[EQUIP_ERR_BAG_FULL6] = messages[EQUIP_ERR_BAG_FULL]; messages[EQUIP_ERR_CANT_EQUIP_RANK] = "Not enough rank";