public override void Ctrl() { base.Ctrl(); if (this.Time == 1) { this.SC_Data = this.StageData.PData.SC_History.Find(new Predicate <SpellCardHistory>(this.FindSC)); if (!this.StageData.OnReplay) { ++this.SC_Data.History; } } if (this.KClass.Key_X && this.MyPlane.Spell > 0) { this.Bombed = true; } if (this.MyPlane.Time <= 1) { this.Missed = true; } if (this.Time > 210 && this.SpellList.Count > 0) { this.Bombed = true; } if (this.GetSpellCardBonus() > 0L) { StageDataPackage stageData = this.StageData; string str1 = this.GetSpellCardBonus().ToString().PadRight(14, ' '); int num = this.SC_Data.Recorded; string str2 = num.ToString(); num = this.SC_Data.History; string str3 = num.ToString(); string str4 = (str2 + "/" + str3).PadLeft(6); string str5 = str1 + str4; stageData.SCBstring = str5; } else { this.StageData.SCBstring = "Failed".PadRight(14, ' ') + (this.SC_Data.Recorded.ToString() + "/" + this.SC_Data.History.ToString()).PadLeft(6); } }
public bool FindSC(SpellCardHistory SCH) => SCH.Rank.ToString() == MenuItemList[MenuSelectIndex].Name.Replace("History_", string.Empty) && SCH.MyPlaneFullName == MenuItemListPlane[MenuPlaneSelectIndex].Name.Replace("History_", string.Empty);
public bool FindSC(SpellCardHistory SCH) { return(SCH.Rank == this.Difficulty && SCH.MyPlaneFullName == this.MyPlane.FullName && SCH.Name == this.SC_Name); }
public bool FindSC(SpellCardHistory SCH) { return(SCH.Rank.ToString() == this.MenuItemList[this.MenuSelectIndex].Name.Replace("History_", string.Empty) && SCH.MyPlaneFullName == this.MenuItemListPlane[this.MenuPlaneSelectIndex].Name.Replace("History_", string.Empty)); }