feat: Loot rework

This commit is contained in:
David Markowitz
2025-10-12 22:03:28 -07:00
parent fd6029ae10
commit 28c6bfcbd7
21 changed files with 675 additions and 322 deletions

View File

@@ -9,6 +9,16 @@ Team::Team() {
lootOption = Game::config->GetValue("default_team_loot") == "0" ? 0 : 1;
}
LWOOBJID Team::GetNextLootOwner() {
lootRound++;
if (lootRound >= members.size()) {
lootRound = 0;
}
return members[lootRound];
}
TeamManager::TeamManager() {
}