Exemplo n.º 1
0
        public GenericStat(StatEnum type, EffectEnum[] addEffects, EffectEnum[] subEffects, int baseValue = 0, StatTotalFormule formule = null)
        {
            Type = type;
            AddEffects = addEffects;
            SubEffects = subEffects;

            Formule = (formule == null ? GenericStats.FormuleTotal : formule);

            Base = baseValue;
            Equipped = 0;
            Given = 0;
            Bonus = 0;
        }
Exemplo n.º 2
0
        public GenericStat(StatEnum type, EffectEnum[] addEffects, EffectEnum[] subEffects, int baseValue = 0, StatTotalFormule formule = null)
        {
            Type       = type;
            AddEffects = addEffects;
            SubEffects = subEffects;

            Formule = (formule == null ? GenericStats.FormuleTotal : formule);

            Base     = baseValue;
            Equipped = 0;
            Given    = 0;
            Bonus    = 0;
        }