public sealed class LootEntryDefinitionOne row of a loot table: an item, or another table.
Remarks
⚠ A row is either weighted or independent, and the two are different mechanisms. A Weight above zero puts the row in the table's pick — one of the weighted rows wins per roll. A Chance above zero is rolled on its own, in addition to the pick, which is what "and always drops five silver" and "and has a 2 % chance of the mount" are. A row that sets both is a row that means two things, so it is refused at compile time.
Fields and properties (8)
public string ItemThe address of the item it drops, or empty when it drops a nested table.
public string TableThe address of the nested table it rolls, or empty when it drops an item.
public float WeightHow likely it is against the other weighted rows. Zero keeps it out of the pick.
public float ChanceIts own chance, from zero to one, rolled independently of the pick.
public bool UsesPityWhether the table's pity policy applies to this row.
public int MinimumThe fewest it drops.
public int MaximumThe most it drops.
public List<RequirementDefinition> ConditionsWhat has to be true of the kill for this row to be in the table at all.
Used by (16)
- ReferenceTestsMmo.Content.Tests
- ContentVixen.Editor.Gameplay.Loot.Tests
- LootOutlineVixen.Editor.Gameplay.Loot
- LootOutlineTestsVixen.Editor.Gameplay.Loot.Tests
- LootSimulatorTestsVixen.Editor.Gameplay.Loot.Tests
- LootTableModelVixen.Editor.Gameplay.Loot
- LootTableModelTestsVixen.Editor.Gameplay.Loot.Tests
- ContentVixen.Gameplay.Loot.Tests
- LootEntryVixen.Gameplay.Loot
- LootLibraryVixen.Gameplay.Loot
- LootLibraryTestsVixen.Gameplay.Loot.Tests
- LootRollTestsVixen.Gameplay.Loot.Tests
- LootTableDefinitionVixen.Gameplay.Loot
- TypeRegistrationVixen.Gameplay.Loot
- Vixen_Gameplay_Loot_LootEntryDefinitionSerializerVixen.Gameplay.Loot
- Vixen_Gameplay_Loot_LootTableDefinitionSerializerVixen.Gameplay.Loot