As a sword and board Eldritch Knight do I need to put away my sword on my turn if I want to use Shield as a reaction?

Without Warcaster, I can’t cast spells with somatic components if I have both a shield and a sword in my hands. Putting my sword away or dropping it is a free action, however you can’t do free actions outside your turn. So if I want to be able to cast Shield on myself as a reaction, do I need to always put my sword away at the end of my turn? (This also means I won’t be able to capitalize on opportunity of attacks).

Can I use area of effect targetting rules to Entangle a target 105 feet away from me?

Entangle is a spell with a range of 90 feet. But, the wording of it…

Grasping weeds and vines sprout from the ground in a 20-foot square starting from a point within range.

Can I orient the square so it points directly away from me, covering a 20×20 space which can encompass a creature which is 105 feet away from me?

What happens if you give away a Artifact with a Hearthstone?

If a person has an artifact with one or more hearthstones and for some reason decide to give it away to someone else what happens? Can another exalted attune the artifact and keep the hearthstone from the previous owner in the item? Will it work just the same for the new owner?

I would appreciate references to the rules, but that is not strictly necessary. If there is no reference to the rules I want an argument for why it should be this way.

How to Initially Ward Player Away from Key, Story-Driving Item?

I have an item in my DnD-5e story that is intended to have a warding effect, in that the story requires that it have a "magical ability" with the intention of warding or repelling people away from that location. However, this is an item the players must eventually obtain as it is crucial for the story.

My initial thought was to allow this item to use a spell like this Repel spell, if the players attempt to interact with it, but they need some way to overcome this spell and actually obtain this item.

How can I allow this item to ward players players away, while still having a way for the players to circumvent the warding effect and obtain said item?

What happens when a Scrying target teleports away, or moves through a portal?

As the title says, I am unsure on the RAW or RAI of what would happen if a target who is being scried upon were to use the Teleport spell, or some other instant travel spell, for intraplanar only travel.

The relevant parts of Scrying:

You can see and hear a particular creature you choose that is on the same plane of existence as you.

On a failed save, the spell creates an Invisible sensor within 10 feet of the target.

The sensor moves with the target, remaining within 10 feet of it for the Duration.

If the target were to travel outside the plane, then they would cease being a valid target for the spell. However, if the target merely travels within the current plane, does the sensor teleport alongside them? Or does the spell simply end? Or some other effect I haven’t considered?

And is it different for spells where the target physically moves through a portal, vs just disappearing and reappearing? e.g. Arcane Gate vs Dimension Door.

How does the Web spell burn away?

The web spell description says:

The webs are flammable. Any 5-foot cube of webs exposed to fire burns away in 1 round, dealing 2d4 fire damage to any creature that starts its turn in the fire.

I’m confused with the wording of the flammable part.

Let’s say that on turn 1, I cast web; the web is supported by the floor and the ceiling that is 15 feet up. I catch a Medium creature on it and it fails its saving throw.

On turn 2 I cast fireball engulfing the whole web on its radius.

The wording says that “Any 5-foot cube of webs exposed to fire burns away in 1 round” – so, what exactly happens?

  1. What does “Any 5-foot cube of webs exposed to fire burns away in 1 round” means? Does any area of the web affected by fire will vanish and free whoever was caught on that area after 1 round?
  2. If the answer for 1 is yes, what if I use a single-target spell like fire bolt or chromatic orb, will the creature still free itself?
  3. What does “in 1 round” means? At the start of round 3? At the start of my third turn? At the end of my third turn?

Minimum number of nodes to select such that every node is at most k nodes away

I received this problem on an exam a few months ago, and have kept thinking about how to solve it with no luck.

Given a binary tree where each node in the tree can either be selected or unselected, implement a function k_away() which returns the minimum number of nodes that need to be selected so that every node in the tree is at most k nodes away from a selected node.

So, the nodes simply contain a pointer to the left child, a pointer to the right child, and a boolean marking it as selected or not:

struct Node {     Node *left;     Node *right;     bool selected = false; // starts out false }; 

The problem specifies a constraint of having a time complexity of O(n) and an auxiliary space complexity of O(n).

What I’ve thought of so far:

  • It seems like there are 2^n potential solutions (if I can choose to either select or not select every node and there are 2 of them), so brute force is a bad idea
  • I’ve searched around for similar problems and the closest thing I can find is the Dominating Set problem which seems… impossible to solve at this moment in polynomial time. I doubt this problem was given as an impossible problem.
  • Running DFS to get to the leaf nodes, then counting height as recursion unrolls. Every k away, marking the node as selected. This seems to work on small test cases, but does not return the minimum number away.
  • Running BFS on the root node to find all nodes k away while using another data structure to mark all visited nodes as ‘covered’, and then recursively running the BFS on each k-away node. This also seems to work on small test cases, but again doesn’t return the minimum number away.

What happens if you use two effects/features that push a target away?

Like say using a Battlemaster’s pushing maneuver as well as a Swords bard’s Mobile Flourish on a single creature. Does it push the creature a minimum of 20 feet away from you, stacking both effects, or does it only push the creature the farthest distance of the two? (15 feet in this case, or 17 feet if you have a d12 inspiration)

Does a player wielding whip gain advantage if it is 10 feet away from the target?

We had an episode in combat tonight that I was not sure how to adjudicate.

A player character (PC1) with a whip was 10 feet away from an enemy.

In between PC1 and the enemy was another player character (PC2) that was prone.

On the far side of the enemy was a third player character (PC3).

Does PC1 have advantage in attacking the enemy with the whip? Why or why not?

If PC2 stands, can PC1 still attack the enemy using the whip, and would this affect advantage in any way?

How far away can stone shape affect stone?

Stone shape can affect an amount of stone up to 10 cubic feet + 1 cubic foot per level. If the shape you want to effect is narrow enough, you could get a lot of distance while staying under this volume. For example, a 10th level caster has a maximum of 100 cu. ft. Could such a caster touch the side of a mountain and bore an 8,000-foot-long hole through it if the hole was only 1.5 inches in diameter? The volume of this hole would be π(0.06252²)(8000) = ~98 cu. ft.³. What about reshaping a 4.5-foot cube of stone into a cylinder of similar dimensions?