mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 20:48:26 +00:00
Add AllowBotEquipAnyClassGear to bot trades
This commit is contained in:
+1
-1
@@ -4209,7 +4209,7 @@ void Bot::PerformTradeWithClient(int16 begin_slot_id, int16 end_slot_id, Client*
|
||||
}
|
||||
|
||||
if (
|
||||
!trade_instance->IsClassEquipable(GetClass()) ||
|
||||
(!trade_instance->IsClassEquipable(GetClass()) && !RuleB(Bots, AllowBotEquipAnyClassGear))||
|
||||
GetLevel() < trade_instance->GetItem()->ReqLevel ||
|
||||
(!trade_instance->IsRaceEquipable(GetBaseRace()) && !RuleB(Bots, AllowBotEquipAnyRaceGear))
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user