public static Condition GetDefaultAwardCondition(string Id) { if (OrigConditions.Count == 0) throw new Exception("Original Conditions have not been set yet!"); return OrigConditions[Id].Clone() as Condition; }
/// <summary> /// Restores the condition of this award to the default (vanilla) state /// </summary> public void RestoreDefaultConditions() { Conditions = AwardCache.GetDefaultAwardCondition(this.Id.ToString()); }