示例#1
0
 public CStatModifier(StatModProperty property, StatModType type, StatModEffect effect, float value, int order, object source)
 {
     this.property = property;
     this.value    = value;
     this.effect   = effect;
     this.type     = type;
     this.order    = order;
     this.source   = source;
 }
示例#2
0
        public StatModifier(string title, string description, StatType stat, StatModEffect effect, StatModType modType, StatProperty property, float value, float time, bool cumulative)
        {
            Title       = title;
            Description = description;

            TargetStat     = stat;
            TargetProperty = property;

            ModType       = modType;
            ModEffect     = effect;
            ModifierValue = value;
            ModifierTime  = time;

            Cumulative   = cumulative;
            _initialized = false;
        }
示例#3
0
 public CStatModifier(StatModProperty property, StatModType type, StatModEffect effect, float value, object source) : this(property, type, effect, value, (int)type, source)
 {
 }
示例#4
0
 public CStatModifier(StatModProperty property, StatModType type, StatModEffect effect, float value, int order) : this(property, type, effect, value, order, null)
 {
 }
示例#5
0
 public CStatModifier(StatModProperty property, StatModType type, StatModEffect effect, float value) : this(property, type, effect, value, (int)type, null)
 {
 }