How does the UA Lore Mastery Wizard’s Alchemical Casting feature interact with the Spell Sniper feat and the Sorcerer’s Distant Spell Metamagic?

This question comes from recent discussion in the question “What is the maximum distance you can cause damage from?”

The Unearthed Arcana Lore Mastery Wizard gets the Alchemical Casting feature which states:

[…] When you cast a spell with a spell slot, you can expend one additional spell slot to augment its effects for this casting […]

An additional 2nd-level spell slot can increase the spell’s range. If the spell’s range is at least 30 feet, it becomes 1 mile […]

I’m wondering how (if at all) this feature works with both the Spell Sniper feat and the Sorcerer’s Distans Spell Metamagic:

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

When you cast a spell that has a range of 5 feet or greater, you can spend 1 sorcery point to double the range of the spell.

Do these allow you to make spell have a range of 4 miles, 2 miles, or still only 1 mile total?

Note that I am already aware that ordinarily the Spell Sniper feat and Distant Spell Metamagic work together, this is supported in the question “Does Spell Sniper and Distant Spell quadruple your range on attack spells?”

Can a Ranger Use Distant Strike to Pass Through Forcecage?

Distant Strike is a Horizon Walker Ranger Feature which states:

At 11th level, you gain the ability to pass between the planes in a blink of an eye. When you use the Attack action, you can teleport up to 10 feet before each attack to an unoccupied space you can see.

Forcecage states:

A prison in the shape of a box can be up to 10 feet on a side, creating a solid barrier that prevents any matter from passing through it and blocking any spells cast into or out from the area. When you cast the spell, any creature that is completely inside the cage’s area is trapped. Creatures only partially within the area, or those too large to fit inside the area, are pushed away from the center of the area until they are completely outside the area. A creature inside the cage can’t leave it by nonmagical means. If the creature tries to use teleportation or interplanar travel to leave the cage, it must first make a Charisma saving throw. On a success, the creature can use that magic to exit the cage. On a failure, the creature can’t exit the cage and wastes the use of the spell or effect. The cage also extends into the Ethereal Plane, blocking ethereal travel.

Can the ranger “attack” and teleport 10ft outside the forcecage?

Can a Horizon Walker ranger teleport before making their additional attack with the Distant Strike feature?

The Horizon Walker ranger subclass from Xanathar’s Guide to Everything gains the Distant Strike feature at 11th level (p. 43):

At 11th level, you gain the ability to pass between the planes in the blink of an eye. When you take the Attack action, you can teleport up to 10 feet before each attack to an unoccupied space you can see. If you attack at least two different creatures with the action, you can make one additional attack with it against a third creature.

If you attack two different creatures, and gain the one additional attack against a third creature, could you also teleport before that third attack?

Can the distant spell metamagic override the restrictions of the identify spell?

The distant spell metamagic for the Sorcerer class has this description:

Distant Spell

When you cast a spell that has a range of 5 feet or greater, you can spend 1 sorcery point to double the range of the spell. 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.

The identify spell has a range of touch, but it also has the following text in the spell description:

You choose one object that you must touch throughout the casting of the spell.

Does the specific text of the spell description override the distant spell metamagic, or can you can identify on an object without actually touching it by using distant spell?

Can’t Connect a RDS slave on a distant Master

I would like to create a replica of a database hosted on a VM on my computer (MASTER) to the AWS cloud (SLAVE).

I can connect on the 2 DB from a EC2 instance.

I set the parameters with the AWS script:

mysql> CALL mysql.rds_set_external_master ('<MY.PUBLIC.IP>', 3306, '<username>', '<password>', 'mysqld-bin.0000013', 343, 0); 

(Of course my IP, username, and password are hidden here)

But when a start the replication (with the AWS script) it keep beeing stuck with:

mysql> SHOW SLAVE STATUS\G; *************************** 1. row ***************************                Slave_IO_State: Connecting to master                   Master_Host: <MY-PUBLIC-IP> (censored here)                   Master_User: slaveuser                   Master_Port: 3306                 Connect_Retry: 60               Master_Log_File: mysqld-bin.0000013           Read_Master_Log_Pos: 343                Relay_Log_File: relaylog.000001                 Relay_Log_Pos: 4         Relay_Master_Log_File: mysqld-bin.0000013              Slave_IO_Running: Connecting             Slave_SQL_Running: Yes               Replicate_Do_DB:            Replicate_Ignore_DB:  

I added my public IP in the RDS’s security group with the MYSQL port (didn’t change it, still 3306) But nothing, no error in particular (Last_errno: 0 etc…)

What did I missed?

Do Steel Wind Strike’s attacks have advantage or disadvantage against distant prone targets?

Any attack against a prone target either has advantage if within 5 feet or disadvantage otherwise. Suppose I cast steel wind strike (XGtE, p. 166) and one of the targets is prone and not within 5 feet of my current position. An ordinary attack against this target from my current position would have disadvantage. Steel wind strike says:

You […] vanish to strike like the wind. Choose up to five creatures you can see within range. Make a melee spell attack against each target. […]

You can then teleport to an unoccupied space you can see within 5 feet of one of the targets you hit or missed.

Clearly, the “flavor” of this spell is that you are rapidly teleporting next to each target and attacking them (confirmed by Jeremy Crawford in this tweet). However, there is no explicit mention of movement or teleportation until after all the attacks are finished, though it is arguably implied by the phrase “vanish to strike like the wind”.

Mechanically, when I make my attacks with steel wind strike, am I considered to be within 5 feet of each target, giving me advantage on the attack against a prone target? Or do I have disadvantage since the prone target is more than 5 ft from where I cast the spell?

Does Absorb Elements Combine With A Sorcerer’s Distant Spell?

According to this question “Is a melee spell attack also a melee attack?” a Melee Spell Attack is a Melee Attack. Meaning if I was to cast Absorb Elements after being hit by a Firebolt, I can add 1d6 fire damage to my next Shocking Grasp.

My question is, as a Sorcerer, could I combine this with the Distant Spell Metamagic option? Using a sorcery point allows me to give a touch spell a range of 30ft. Is Shocking Grasp now a Melee Spell Attack with a range of 30ft and therefore eligible for the extra damage granted by Absorb Elements?