csharp
public static class LootOutlineFlattens a loot tree into the rows a tree view draws.
Remarks
The authored intent, beside the simulator's observed rates. A designer needs both: the share says what the table was written to do and the simulation says what it does, and a gap between them is either a condition nobody accounted for or a bug.
⚠ The share ignores conditions, and the row says so. Whether a conditional row is in the table depends on a kill this outline does not have, so its share is what it would be if it were — and every other row's share is computed as though every conditional row were present. A view that showed the share without the flag would be showing a number that is right for no actual kill.
Methods (1)
public static IReadOnlyList<LootOutlineRow> Of(LootLibrary loot, LootTable table, ItemLibrary? items = null)Flattens a table.
Used by (1)
- LootOutlineTestsVixen.Editor.Gameplay.Loot.Tests