public override void UnAffect(astat stat) { if (stat.RemoveMultiplier(Value)) { return; } else { throw new ArgumentException("No multiplier to be removed was found"); } }
public override void UnAffect(astat stat) { stat.AdditiveMultipliers -= Value; }
public override void UnAffect(astat stat) { stat.Base -= Value; }
//protected double Value; public override void Affect(astat stat) { stat.Base += Value; }
public abstract void UnAffect(astat stat);
private Action <ComboStat> Converter(astat source) { SourceMod.UnAffect(source); ResultMod.Affect(source); return(stat => stat.AddComponent(source)); }
public void Apply(astat source, ComboStat target) { _converter(source)(target); }
//protected double Value; public override void Affect(astat stat) { stat.AddMultiplier(Value); }
public void AddComponent(astat stat) { Update(() => components.Add(stat)); }