## How is movement calculated when running up walls as a monk?

Picture this circumstance. I am a 5 foot tall level 9 Wood Elf Monk with Mobile. I have 60 feet of speed per turn, via:

• 35 feet from Wood Elf feature
• 10 feet from the Mobile feat
• 15 feet from being a level 9 monk

And can run on walls via the monk’s Unarmored Movement class feature.

I am 15 feet away from a medium sized melee combatant in a 5 foot wide corridor with a 20 foot high ceiling.

Avoiding all attacks of opportunity against me and without using any attacks from me and only the wall movement + speed listed, what is my maximum possible remaining movement to be on the other side of the combatant, out of range, with this setup?

To simplify this, I want to run up the wall, around the guy, without giving him a chance to hit me with his 5 foot range, and still have as much movement possible.

You know, normal Monk things.

My main concern is how the movement starts, and how diagonals work while wall running. Do I spend 5 feet to start “wall running” in the same square I’m in, or do I start by spending 5 feet to be 10 feet in the air? Can I simultaneously move forward while moving up?

I’ve also considered the potential of dropping while on the wall to conserve movement (presumably 10 feet past the combatant), and I want to suggest that for anyone to consider it themselves as a potential part of the answer.

Considering how abstract this question is, there may not be an official answer in 5e, but references to prior editions/Pathfinder on this topic would be valid substitutes.

## In Pathfinder 2, is non-physical damage calculated separately from physical damage for a single attack?

One of the players in my game is playing a dragon instinct barbarian. The GM is calculating the elemental damage separately from the weapon damage for resistance purposes (i.e. an axe attack deals 8 slashing and 4 cold, which is broken into two different damage groups.) Is this correct, or should this be counted as a single group (12 damage)?

Draconic Rage (Instinct Ability) While raging, you can increase the additional damage from Rage from 2 to 4 and change its damage type to match that of your dragon’s breath weapon instead of the damage type for your weapon or unarmed attack. If you do this, your Rage action gains the arcane and evocation traits, as well as the trait matching the damage type.

Dragon Instinct: https://2e.aonprd.com/Instincts.aspx?ID=2

## How is miss chance calculated if a caster has Entropic shield active and is inside Darkness spell?

My question is simple. I have a warlock that has following invocations:

Darkness:

“This spell causes an object to radiate shadowy illumination out to a 20-foot radius. All creatures in the area gain concealment (20% miss chance). Even creatures that can normally see in such conditions (such as with darkvision or low-light vision) have the miss chance in an area shrouded in magical darkness.”

Entropic warding:

“A magical field appears around you, glowing with a chaotic blast of multicolored hues. This field deflects incoming arrows, rays, and other ranged attacks. Each ranged attack directed at you for which the attacker must make an attack roll has a 20% miss chance (similar to the effects of concealment). Other attacks that simply work at a distance are not affected.” Devil’s Sight: “You gain the visual acuity of a devil for 24 hours. You can see normally in darkness and magical darkness out to 30 feet.”

Devil’s Sight:

You gain the visual acuity of a devil for 24 hours. You can see normally in darkness and magical darkness out to 30 feet.

With entropic warding I get 20% miss chance on ranged attacks as deflection. In addtion, Darkness grants 20% miss chance if the caster is in it. If I am inside darkness and I have entropic warding on, do my miss chances stacks up to 40% (given I get ranged attack) or do I roll miss chance twice as twice with 20% with each roll.

## How is PC experience calculated when higher level CR allies help in Adventurers League?

The recent adventure Tomb of Annihilation released by WotC includes allies that can join the party. As an open-world adventure spanning multiple PC levels and Tiers, PCs could potentially gain allies more powerful than themselves such as the NPCs below.

Spoilers:

How does one calculate awarded experience when the PCs have allies that are more powerful than themselves in Adventurers League?

We are wondering if there is an official formula – something like:

$$\text{Awarded_XP} = \text{Received_XP} \times \frac{\text{Expected CR}}{\text{Actual CR}}$$

As opposed to the answers to the question Determining "level" of an NPC ally for purpose of budgeting encounter XP, we are looking for official Adventurers League guidance or acceptable practices — not homebrew suggestions.

## How is Challenge Rating (CR) calculated for a mixed group of multiple monsters in regards to the Treasure Table?

I understand that encounters are balanced around exp thresholds in the DMG (e.g. https://rpg.stackexchange.com/a/105360).

With that said, there are loot tables in the DMG 136-139 that have “Challenge Rating” ranges for how loot should be distributed.

I understand CR is not supposed to be summed or multiplied, but if the party kills 20 CR 3 monsters, in the loot table, what would the challenge rating range be for these monetary loots?

As a tangential note: the DMG item loot tables don’t really explain which table to use “A vs B vs J, vs K…”.

## How is the number of prepared spells for a paladin calculated?

PHB p.84 tells us that

You prepare the list of paladin spells that are available for you to cast, choosing from the paladin spell list. When you do so, choose a number of paladin spells equal to your Charisma modifier + half your paladin level, rounded down (minimum of one spell).

This is somewhat ambiguous: it’s not clear whether the number is

floor( (CHA + PL) / 2 ) 

—as seems to be implied by the usage of a comma— or

floor( CHA + (PL/2) ) 

—which would make Charisma investment much more worthwhile.

Which is it? Does a 2nd-level paladin with a 16 Charisma get 2 prepared spells (first formula) or 4 (second)?

## MySQL / MariaDB Get last 7 days summarized and with avarages calculated

currently, I have this table:

CREATE TABLE plant_data (     id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,     plant_id BIGINT(20) UNSIGNED NOT NULL,     temperature DECIMAL(5,1) UNSIGNED NOT NULL,     light SMALLINT(5) UNSIGNED NOT NULL,     created_at TIMESTAMP NULL DEFAULT NULL,     updated_at TIMESTAMP NULL DEFAULT NULL,     PRIMARY KEY (id), ) 

with the following example data:

INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1623, 14, 22.2, 35, '2020-02-16 09:00:06', '2020-02-16 09:00:06'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1622, 5, 22.8, 33, '2020-02-16 09:00:06', '2020-02-16 09:00:06'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1621, 14, 22.8, 36, '2020-02-16 08:00:07', '2020-02-16 08:00:07'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1620, 5, 23.3, 33, '2020-02-16 08:00:07', '2020-02-16 08:00:07'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1619, 14, 23.1, 36, '2020-02-15 07:00:11', '2020-02-15 07:00:11'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1618, 5, 23.8, 34, '2020-02-15 07:00:11', '2020-02-15 07:00:11'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1617, 14, 24.4, 38, '2020-02-15 06:00:09', '2020-02-15 06:00:09'); INSERT INTO plant_data (id, plant_id, temperature, light, created_at, updated_at) VALUES (1616, 5, 24.6, 34, '2020-02-15 06:00:09', '2020-02-15 06:00:09'); 

I want to get the average values of the last X days as one row for each day. I could do it with X querys for each day like

SELECT plant_id, avg(temperature) FROM plant_data WHERE created_at >= '2020-02-16 00:00:00' AND created_at <= '2020-02-17 00:00:00' GROUP BY plant_id; 

But I want to know, if it is possible to get the data with one query to get a result like this:

+----------+------------------+------------+ | plant_id | avg(temperature) | day        | +----------+------------------+------------+ |        5 |         24.58000 | 2020-02-16 | |       14 |         24.42000 | 2020-02-16 | |        5 |         23.58000 | 2020-02-15 | |       14 |         23.42000 | 2020-02-15 | +----------+------------------+------------+ 

Would be nice if someone has a good idea for doing this to save me query time.

## How to Calculate the percentage of total arrests for 2015 in Arizona, and name the calculated field ‘2015_pct_of_total’? Thanks!

How to Calculate the percentage of total arrests for 2015 in Arizona, and name the calculated field ‘2015_pct_of_total’? Thanks]1

## There are functions with f (n) = f (2n) which can’t be calculated

I have to proofe that there are functions defined by $$f:\mathbb{N} \rightarrow \mathbb{N}, f(n)=f(2n), \forall n\in \mathbb{N}$$, which are not-computable. However I’m not really sure about the correct method.

I thought about a proof by contradiction. Assume each of those functions are computable. Then, by the Church-turing-thesis, there has to exist a TM which can compute every of those functions. Therefore $$L(M)=\{code(M) | \text{M calculates this type of function}\}$$ would be decidable. However I profed earlier, that this language is undecidable. This would lead to a contradiction, but I’m not sure about the correctness of my profe…

Thank you for your help 🙂