Ejemplo n.º 1
0
        private void Downgrade()
        {
            if (target)
            {
                potionState          = POTIONSTATES.Used;
                target.Strength     -= strenght;
                target.Constitution -= constitution;
                target.Intelligence -= intelligence;
                target.Dexterity    -= dexterity;
            }

            AlterationManager.Instance.RemoveAlteration(this);
        }
Ejemplo n.º 2
0
 private void Upgrade()
 {
     if (target)
     {
         potionState          = POTIONSTATES.InUsed;
         target.Strength     += strenght;
         target.Constitution += constitution;
         target.Intelligence += intelligence;
         target.Dexterity    += dexterity;
     }
     else
     {
         AlterationManager.Instance.RemoveAlteration(this);
     }
 }