Add NPC system scaffold, loot-table gold drops, and remove stash VIP gate

This commit is contained in:
dingo
2026-02-14 00:37:56 -05:00
parent d4f467656d
commit b4affac203
19 changed files with 1448 additions and 89 deletions
@@ -60,6 +60,9 @@ public class EditModel : AdminPageModel
LootTable.MinDrops = 1;
LootTable.MaxDrops = 3;
LootTable.DropChanceMultiplier = 1.0f;
LootTable.GoldDropChance = 0f;
LootTable.MinGold = 0;
LootTable.MaxGold = 0;
}
}
@@ -111,6 +114,9 @@ public class EditModel : AdminPageModel
existing.MaxDrops = LootTable.MaxDrops;
existing.DropChanceMultiplier = LootTable.DropChanceMultiplier;
existing.GuaranteedDrop = LootTable.GuaranteedDrop;
existing.GoldDropChance = LootTable.GoldDropChance;
existing.MinGold = LootTable.MinGold;
existing.MaxGold = LootTable.MaxGold;
existing.IsEnabled = LootTable.IsEnabled;
await _db.SaveChangesAsync();