private void RelicCommand() { ArrJobs tempJob = ArrWeapon.JobList[ArrInfo.JobListString.IndexOf(CurrentRelic)]; ArrStageCompleter.ProgressClass(selectedCharacter, tempJob.Relic, true); AvailableRelicJobs.Remove(CurrentRelic); }
public void LoadAvailableJobs() { if (AvailableRelicJobs == null) { AvailableRelicJobs = new ObservableCollection <string>(); } foreach (ArrJobs job in arrWeapon.JobList) { if (job.Relic.Progress != ArrProgress.States.Completed & !AvailableRelicJobs.Contains(job.Name)) { AvailableRelicJobs.Add(job.Name); } if (job.Relic.Progress == ArrProgress.States.Completed & AvailableRelicJobs.Contains(job.Name)) { AvailableRelicJobs.Remove(job.Name); } } }