private void Downgrade() { if (target) { potionState = POTIONSTATES.Used; target.Strength -= strenght; target.Constitution -= constitution; target.Intelligence -= intelligence; target.Dexterity -= dexterity; } AlterationManager.Instance.RemoveAlteration(this); }
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); } }