mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
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"
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user