Since advantage and disadvantage caused in a heavily obscured area cancel out, what effect does it have in combat?

The rules say that creatures in a heavily obscured area “effectively suffer from the blinded condition”.

The blinded condition states:

Attacks rolls against the creature have advantage, and the creature’s attack rolls have disadvantage.

So when the Darkness spell (to use one example) is cast, combatants gain advantage and disadvantage when attacking others who are also inside the area, which cancel out.

Since they then cancel each other out and attacks are made normally, what really changes?

What happens when Restrained creatures are removed from the area of effect of Entangle?

The victims of an Entangle spell are Restrained and cannot move themselves; but can be moved by others. I had always assumed that moving them out of the Area of Effect of the spell would free them; but a close reading of the spell now has me questioning this.

Grasping weeds and vines sprout from the ground in a 20-foot square starting from a point within range…A creature in the area when you cast the spell must succeed on a Strength saving throw or be restrained by the entangling plants until the spell ends. A creature restrained by the plants can use its action to make a Strength check against your spell save DC. On a success, it frees itself.

As written, there are only two things which explicitly end the restrained condition; the end of the spell and a successful strength check by the victim.

Contrast this with the Web spell.

On a failed save, the creature is restrained as long as it remains in the webs or until it breaks free.

There, a creature that leaves "the webs" (=VoE?) is explicitly free of restraint.

However, note that with Entangle, the "entangling plants" themselves are limited to the initial 20 foot square (not cube), and while there they "sprout from the ground". Under the 5e principle that there is no flavor text in spells, it could be that the vines can only Restrain one while they are connected to the ground, and leaving the area does not take the plants along.

Note that if the vines wrap around anything, it is only the feet and legs – a Restrained character cannot move themselves, but they can still attack and cast spells. Restrained does not mean Incapacitated.

So, do these plant restraints remain tightly coiled around one’s legs, keeping one restrained even if moved away from the original ground, or do the restraints fall away once the plants are ripped from the ground?

Related: If you are pushed out of Evard's black tentacles while restrained, are you still restrained?

Finding the middle point of the “most populated” area in a set of points?

I’m working on a game-related application, and I’m trying to find the middle point of the most populated area in my map.

Example:

Positions (format [x, y]) :  [48, 49] [51, 50] [49, 50] [51, 49] [49, 48] [130, 150] [129, 148]  Excepted output : [50, 50] or something close enough like [49, 51], [51, 50] 

To create this algorithm I’ve access to all entities position (X/Y) I’ve tried by creating a position using X average and Y average but it’s not what i’m looking for (using example values output would have been [75, 75] or something like this and not [50, 50] as excepted)

Here is an example image:
Red dot: Entities
Green dot: Position i’m looking for
enter image description here

Thanks for reading and for your help!

Setting Up Private Employee Survey Area On Company Website [closed]

Long-time listener, first-time caller.

Our company has about 120 Employees and growing. We are at a point where we need to collect self-evaluations and other survey data from our workforce but only our administrators and managers have user accounts with our Google Apps (because those costs add up!) Since we can’t require anyone to have a personal Google account, we don’t have a reliable way to verify or authenticate the rest of our employees as they fill out surveys. Our solution so far is to hand out paper forms and do the data entry manually.

I’ve been charged with finding a solution. I was thinking it’d be possible to set up a member area of sorts on our website where employees could register and log in for surveys and such. I could get Google Sheets talking to the survey database and we’d be off to the races.

Our public-facing site is hosted on SquareSpace, if that makes any difference.

Anyway, the world has changed many times over since I’ve had anything to do with the back end of a website (it’s true; I’m not a pro) and I’m completely unsure of where to start, but I can probably build it once I get my bearings so I’m here looking for suggestions on how to start.

Help?

Stone Shape, body surface area, and imprisonment [closed]

While examining various uses for stone shape and trying to double check the math on them all (such as cages, jamming doors, making poles, etc) it occurred to me that a use potentially far better than ‘encasing them in a box of rock’ would be instead to do a skin tight encasing of the individual (making it, practically speaking, impossible to move). Granted, for high (18-20) strength characters and creatures I suspect it’d be a full round action to simply break out of it, but I’m curious how the math exactly checks out, and what the exact numbers are. Surface area of a person (or a ‘medium’ creature) would need to be determined, and for small or large creatures there’d be other determinations one would have to make.

Still, it seems to me that it would be using significantly less stone than encasing someone in a box or cage.

It wouldn’t be my go to use, but I can imagine that against say some sort of goblin spell caster, or an evil elf wizard it could have some practical use.

Does Aura of Courage end the frightened condition if a frightened ally enters its area of effect?

So I just made level 10 with my paladin and got the added feature “Aura of Courage.” I understand that currently I and anyone within 10 ft of me will be immune to the frightened condition. My question then:
If one of my allies is currently frightened and runs into my Aura, do they lose their frightened condition automatically? Or would they just pass through and keep running around?

I’m interested in RAW and what other DMs have ruled here.

Can the area of the additional spell effect of Druid Grove extend outside the area of Druid Grove?

The spell druid grove (XGtE, pg. 154) lists several effects that the caster may impose on the spell’s area (30-90 ft. cube). The spell also comes with an "Additional Spell Effect"; this reads:

You can place your choice of one of the following magical effects within the warded area:

  • A constant gust of wind in two locations of your choice
  • Spike growth in one location of your choice
  • Wind wall in two locations of your choice

So you select one of these spell effects and choose the location of its point of origin within the druid grove area.

The each spell’s listed area of effect can easily extend beyond the boundaries of the druid grove, especially if you only create a 30 foot cube grove.

Can the area of effect of the additional spell effect extend beyond the boundaries of the grove, or does the grove restrict the spell’s listed area?

As an example see this diagram. Here we have a 30 by 30 foot druid grove, and a 20 foot radius spike growth centered at the center of the grove:

enter image description here

Does such an arrangement work? Or must the spike growth be confined to the 30 x 30 foot area of the grove?

Scaling down a set of points into a smaller area

A visibility graph $ G(P) = (V,E)$ of a set $ P = \{p_1, \dots, p_n\}$ of points is defined as follows.

  • Each vertex $ u \in V$ corresponds to a point $ p_u \in P$ .
  • There exists an edge $ uv \in E$ if, and only if the line segment $ \overline{p_up_v}$ does not contain any other points in $ P$ .

Assume that the coordinates of every $ p_i \in P$ has $ O(n^c)$ digits, where $ c$ is a constant.

My aim is to scale the point set, without changing the relative positions, into a smaller area. For the sake of simplicity, assume that the area is a circle of raduis 1.

Consider three points: $ p_1(100, 340)$ , $ p_2(500,150)$ , $ p_3(240, -600)$ .

The new coordinates after scaling would be $ p’_1(0.1, 0.34)$ , $ p’_2(0.5, 0.15)$ , $ p’_3(0.24, -0.6)$ , and the relative positions stay the same, as well as the visibility relations.

My question is two folded:

  1. In the very simple example above, the coordiantes are divided by $ 100$ , and it is pretty easy to find that number. But what is the algorithm to find this number for any given point set?
  2. Assuming that the coordinates are of $ O(n^c)$ length, can there be a coordinate of $ O(d^n)$ (exponential) length?