mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 09:29:09 +00:00
Item Usage and Loot Roll (#1059)
* Better Disenchant and final AH usage * CalculateRollVote instead of just needing on items allowed by StoreLootAction::IsLootAllowed
This commit is contained in:
@@ -66,7 +66,7 @@ bool LootRollAction::Execute(Event event)
|
||||
break;
|
||||
default:
|
||||
if (StoreLootAction::IsLootAllowed(itemId, botAI))
|
||||
vote = NEED;
|
||||
vote = CalculateRollVote(proto); // Ensure correct Need/Greed behavior
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user