Example #1
0
 /// <summary>
 /// Buff constructor
 /// </summary>
 /// <param name="name">The name of the boon</param>
 /// <param name="id">The id of the buff</param>
 /// <param name="source">Source of the buff <see cref="GeneralHelper.Source"/></param>
 /// <param name="type">Stack Type of the buff<see cref="BuffStackType"/></param>
 /// <param name="capacity">Maximun amount of buff in stack</param>
 /// <param name="nature">Nature of the buff, dictates in which category the buff will appear <see cref="BuffNature"/></param>
 /// <param name="link">URL to the icon of the buff</param>
 public Buff(string name, long id, GeneralHelper.Source source, BuffStackType type, int capacity, BuffNature nature, string link)
 {
     Name       = name;
     ID         = id;
     Source     = source;
     _stackType = type;
     Capacity   = capacity;
     Nature     = nature;
     Link       = link;
 }
Example #2
0
 public Buff(string name, long id, GeneralHelper.Source source, BuffStackType type, int capacity, BuffNature nature, string link, ulong minBuild, ulong maxBuild) : this(name, id, source, type, capacity, nature, link)
 {
     MaxBuild = maxBuild;
     MinBuild = minBuild;
 }
Example #3
0
 public Buff(string name, long id, GeneralHelper.Source source, BuffNature nature, string link, ulong minBuild, ulong maxBuild) : this(name, id, source, BuffStackType.Force, 1, nature, link, minBuild, maxBuild)
 {
 }
Example #4
0
 public Buff(string name, long id, GeneralHelper.Source source, BuffNature nature, string link) : this(name, id, source, BuffStackType.Force, 1, nature, link)
 {
 }