Minions must attack if possible, and all units must retaliate if possible. While a minion with the talent # Range may choose to attack an adjacent unit instead of one further away, it cannot choose to not use its full range if it would otherwise be unable to attack. Units with # Range similarly cannot choose to "turn off" its range in order to not retaliate against an attack made against it.