private void ParseCasterLevel(ref string scroll) { CasterLevel = 0; if (scroll.IndexOf(Utility.PAREN_LEFT) != -1) { int Pos = scroll.IndexOf(Utility.PAREN_LEFT); string temp = scroll.Substring(Pos); scroll = scroll.Replace(temp, string.Empty).Trim(); List <string> OrdinalLevelList = CommonInfo.GetOrdinalLevelList(); int count = 1; foreach (string ord in OrdinalLevelList) { if (temp.Contains(ord)) { CasterLevel = count; return; } count++; } } }