static bool filterTargetsByLeague(BattleUnit target, params object[] param) { return(LeagueManager.IsDisiredTarget((AttackerAttr)param[0], target, (LeagueSelection)param[1])); }