public Buff(IBuffManagerParentRef manager, BuffNative native, float?mod, float?duration) : base(manager.Parent.Parent) { this.Mod = mod ?? native.DefaultMod; this.Duration = duration ?? native.DefaultDuration; this.Native = native; this.Manager = manager; }
public BuffNative GetBuffNative(string id) { BuffNative native = buffNatives[id]; return(native); }