public static void Phalanx(TroopScript Caster) { bool phal = Caster.GetPhalanx(); if (phal) Caster.SetPhalanx(false); else if (!phal) Caster.SetPhalanx(true); }