AttributeEvaluation
A static class in Root.Township, the global namespace.
Static extension for scoring an AttributeSet against a list of AttributeCurveRange weightings.
- Listed in Global namespace: A to B
- Attributes
Extension
Methods
| Member | What it is |
|---|---|
static float GetEfficiency(IEnumerable<AttributeCurveRange> attributeWeightings, AttributeSet attributes) | Evaluates each range's curve at the attribute's position in the range and returns their harmonic mean. Any zero gives 0; no valid ranges gives 1. |