public void Heal(IncrementalValue value, int modifier = 1)
        {
            if (modifier < 1) modifier = 1;

            currentValue += (int)value * modifier;
            if (currentValue > maximumValue)
                currentValue = maximumValue;
        }
        public void AddToMax(IncrementalValue value, int modifier = 1)
        {
            if (modifier < 1) modifier = 1;

            maximumValue = (int)maximumValue + ((int)value * modifier);
            if (currentValue > maximumValue)
                currentValue = maximumValue;
        }
        public void Damage(IncrementalValue value, int modifier = 1)
        {
            if (modifier < 1) modifier = 1;

            currentValue -= (int)value * modifier;
            if (currentValue < 0)
                currentValue = 0;
        }
 public IncrementalPair(IncrementalValue maxValue, int modifier)
 {
     currentValue = (int)maxValue * modifier;
     maximumValue = currentValue;
 }