Exemple #1
0
 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;
 }
Exemple #2
0
        public BuffNative GetBuffNative(string id)
        {
            BuffNative native = buffNatives[id];

            return(native);
        }