internal void CopyTo(ref RuneAttr rhs) { rhs.Type = Type; rhs.BaseValue = BaseValue; rhs.Enchanted = Enchanted; rhs.GrindBonus = GrindBonus; rhs.OnChange(0, 0); }
internal void CopyFrom(RuneAttr lhs) { Type = lhs.Type; BaseValue = lhs.BaseValue; Enchanted = lhs.Enchanted; GrindBonus = lhs.GrindBonus; OnChange(0, 0); }
public Rune() { Main = new RuneAttr(); Innate = new RuneAttr(); Main.OnChanged += (a, b) => { PrebuildAttributes(); }; Innate.OnChanged += (a, b) => { PrebuildAttributes(); }; Subs = new List <RuneAttr>(); }