public override List <IUnit> GetAllTargets(int row, int col) { if (Unit.CurrentCoolDown > 0) { return(null); } var team = BoardHandler.GetOpponent(Unit.Team); var adjacents = TeamHandler.GetUnitsAround(team, row, col, 1); if (adjacents != null && adjacents.Count > 0) { return(null); } return(base.GetAllTargets(row, col)); }