DeathLoot

This commit is contained in:
dingo
2025-12-17 10:33:22 -05:00
parent d47ede3ed9
commit 959590b030
9 changed files with 1874 additions and 0 deletions
+5
View File
@@ -25,6 +25,11 @@ public class DungeonSimulation
public ConcurrentDictionary<int, ChestInstance> Chests { get; } = new();
public ConcurrentDictionary<int, DroppedItem> DroppedItems { get; } = new();
public ConcurrentDictionary<int, PortalInstance> Portals { get; } = new();
public ConcurrentDictionary<int, LootChestInstance> LootChests { get; } = new();
// ID generator for loot chests
private int _nextLootChestId = 1;
public int GetNextLootChestId() => _nextLootChestId++;
// Combat tracking
private readonly List<DamageEvent> _pendingDamageEvents = new();