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:
avirar
2025-03-06 23:39:33 +11:00
committed by GitHub
parent 92d63c7cbc
commit f7f949eda4
2 changed files with 19 additions and 4 deletions

View File

@@ -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;
}
}