private static void AddSpecializedStats(int level, bool?isRichards, StringBuilder textFor, Soldier s, string composedClassName, string fullNameAndTrueFlag) { textFor.AppendLine("; ---Other Stats---"); int modifiedHackSkill = 0; if (s.SoldierClass == "Technician" || s.SoldierClass == "Specialist") { modifiedHackSkill = (s.Hack * 2); } else { modifiedHackSkill = s.Hack; } textFor.AppendLine("SetSoldierStat eStat_Hacking " + modifiedHackSkill + fullNameAndTrueFlag); //else //{ // textFor.AppendLine("SetSoldierStat eStat_Hacking " + s.Hack + " " + s.FirstName + " " + s.LastName); //} //textFor.AppendLine("SetSoldierStat eStat_UtilityItems " + s.UtilitySlots + " " + s.FirstName + " " + s.LastName); //textFor.AppendLine("SetSoldierStat eStat_BackpackSize 4" + " " + s.FirstName + " " + s.LastName); //textFor.AppendLine("SetSoldierStat eStat_CombatSims 2" + " " + s.FirstName + " " + s.LastName); textFor.AppendLine("SetSoldierStat eStat_Strength " + s.Strength + fullNameAndTrueFlag); if (composedClassName == PsiClassName && isRichards == false) { textFor.AppendLine("MakeSoldierAPsiOp " + s.FirstName + " " + s.LastName); //textFor.AppendLine("RankUpPsiOp " + s.FirstName + " " + s.LastName); int ii = 1; while (ii < level) { textFor.AppendLine("RankUpPsiOp " + s.FirstName + " " + s.LastName); ii++; } } }