public void RemoveModifier(Modifier modifier) { _decoratedGraph.RemoveModifier(modifier); _statsWithoutModifiers.UnionWith(modifier.Stats .Where(s => StatGraphs.ContainsKey(s)) .Where(s => StatGraphs[s].ModifierCount == 0)); }
public void RemoveModifier(Modifier modifier) => _decoratedGraph.RemoveModifier(modifier);