Add NPC system scaffold, loot-table gold drops, and remove stash VIP gate
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user