Example #1
0
 public Value(BuffValueType _buffValueType, bool _enable, NumType _numType, NumOperator _numOperator, float _value)
 {
     this.buffValueType = _buffValueType;
     this.enable        = _enable;
     this.numType       = _numType;
     this.numOperator   = _numOperator;
     this.value         = _value;
 }
Example #2
0
        public Buff(
            BuffType type,
            BuffEffect effect,
            BuffValueType valueType,
            int value,
            float duration
            )
        {
            ID        = NextID++;
            Type      = type;
            Effect    = effect;
            ValueType = valueType;
            Value     = value;
            Duration  = duration;

            BaseValue    = -1;
            DurationLeft = duration;
        }
Example #3
0
 public ValueFormula(BuffValueType _buffValueType)
 {
     this.buffValueType = _buffValueType;
 }