Is there a Spell or Magic Item that will extend the range of racial Darkvision?

My group has decided to head down into the Underdark. And I would like to optimize my Half-Elven Darkvision (60′)

Assume I have access to any spell or magic item that is in one of the hardcover books.. and do not want to use UA or 3rd party.

What is the maximum Darkvision range I can get?

Note: I would prefer to avoid Polymorph if I can.

Help understanding range function and array indexing [closed]

I’m working on understanding the below solution of rotating an array of integers in Python:

  1. Does the range function start counting at 0?
  2. Do we assume array indexing starts goes 0,1,2… or 1,2,3…?
  3. Why do we need to transfer the rotated values from the new array a to the old array nums (last line)?

Solution:

class Solution:     def rotate(self, nums: List[int], k: int) -> None:         n = len(nums)         a = [0] * n         for i in range(n):             a[(i + k) % n] = nums[i]                      nums[:] = a 

It is supposed to work as follows: Input: nums = [1,2,3,4,5,6,7], k = 3 Output: [5,6,7,1,2,3,4]

Can a sorcerer with Spell Sniper use Distant Spell to cast a touch-range spell requiring a melee attack roll from a range of 60 feet?

Our use case spell will be inflict wounds (available to evil divine soul sorcerer):

Make a melee spell attack against a creature you can reach. On a hit, the target takes 3d10 necrotic damage.

The sorcerer’s metamagic distant spell says:

When you cast a spell that has a range of touch, you can spend 1 sorcery point to make the range of the spell 30 feet.

This answer argues that the phrase "you can reach" should not prevent inflict wounds modified by distant spell from affecting a target outside of our touch range. We will assume as the user Blckknght writes:

Most touch-ranged spells refer to touching the target in their descriptions, so if the clause of the metamagic is to mean anything, it needs to override the relevant part of the description as well as the range section of the spell stats.

The feat Spell Sniper says:

When you cast a spell that requires you to make an attack roll, the spell’s range is doubled.

Would Spell Sniper working together with distant spell allow us to cast inflict wounds on a target up to 60 feet away?

This answer states in passing that this would be the case, but the answers to this question seem to argue that Spell Sniper is taken into consideration before the distant spell metamagic is applied.

Does the Mind Spike spell end if the target foes out of range?

Mind Spike says

On a failed save, you also always know the target’s location until the spell ends, but only while the two of you are on the same plane of existence.

DnD Beyond lists this having a range/area of 60ft.

Does this mean if my target teleports (remaining on this plane of existence) away I stop knowing where they are outside of the 60ft? Or is that the initial range?

Do opportunity attacks have disadvantage if I use my action to Dodge and then move out of melee range?

I am currently playing a multi-class Cleric 5 / Rogue 2 and at times I have managed to kite melee mobs successfully using my Cunning Action to Disengage, then my movement and then using a ranged attack, which has worked fine for most of the time. Sometimes though I get pounced on by several melee mobs at once (3-5), especially when we face tactical mobs. In this case I have ended up in a loop where they catch up with me each time because I am having to use my Cunning Action to Disengage, instead of Dash.

Sometimes, I just want to get away quite far by using Dash instead, without getting pummeled by the opportunity attacks in the process. I want to get more distance between me and the mobs so they cannot catch up with me in their next move.

Basically, I want to be able to use Dodge as my Action so that when I move out of melee range from the 3-5 mobs there is less of a chance the mobs will hit me in the process, with 3-5 opportunity attacks. We’ve not tried this in our campaign yet, so I want some confirmation about how this works and whether the 3-5 melee mobs who are right next to me would get disadvantage on their opportunity attacks as I try to dash off?

I especially appreciate answers that contain play-tested experience from DMs who have managed this situation or players who have actually played as a Rogue.

What range is used to determine targets for the victim of a Spectator’s Confusion Ray

The Spectator has an Eye Ray option, Confusion Ray, that says:

[The target] uses its action to make a melee or ranged attack against a randomly determined creature within range.

Unlike the spell Confusion which limits the attack to melee attacks, the Spectator’s victim can be compelled to make a ranged attack.

When determining the random target are creatures that are outside of the weapon’s normal range but within the weapon’s long range included?

For a specific example a Rogue with a light crossbow is hit by the ray and fails their save. On their turn there are three allies within 80 ft, and the Spectator is 90 ft away. Is there a chance that the Rogue randomly targets the Spectator?

Does going outside of range or line of sight after casting a spell have any effect?

Does going outside the range of the spell or breaking line of sight between the caster and target break concentration or otherwise affect control over the spell?

For example, a Heat Metal spell has a range of 60 ft. If I cast the Heat Metal spell on a an armored foe, and that foe runs outside the range of the spell (60 ft), or around the corner, does that break concentration and end the spell? Heat Metal also allows you to use a bonus action to cause the 2d8 of damage — would exercising that option be prevented by being out of range or line of sight?

Siege Weapons Ranged Attack and Melee Range

According to the PHB and the SRD Ranged Attacks are defined as follows:

You can make Ranged Attacks only against Targets within a specified range. If a ranged Attack, such as one made with a spell, has a single range, you can’t Attack a target beyond this range. Some Ranged Attacks, such as those made with a Longbow or a Shortbow, have two ranges. The smaller number is the normal range, and the larger number is the long range. Your Attack roll has disadvantage when your target is beyond normal range, and you can’t Attack a target beyond the long range.

It then goes on to state that:

Aiming a ranged Attack is more difficult when a foe is next to you. When you make a ranged Attack with a weapon, a spell, or some other means, you have disadvantage on the Attack roll if you are within 5 feet of a Hostile creature who can see you and who isn’t Incapacitated.

Therefore, say someone is operating a Ballista, and on their turn someone moves into Melee range of them (the operator) would then the Ballista gain disadvantage on it’s next attack roll?