matrix – Function representing a forest fire after one time step

How can I create a function that would have as its argument an array mat of 0s, 1s, and 2s where the 2s are burning trees and the function would give an array that represents the forest after one time step?

I have tried using

mat=RandomChoice[{0,1,2},{10,10}]
nextstep[mat_]:=Sequence[mat2 + {1, 0}, mat2 + {0, 1}, mat2 + {-1, 0}, mat2 + {0,-1}]

but that doesn’t seem to work. After one time step, every tree, represented by 1s, that is in the von Neumann neighborhood of a burning tree would catch fire, but the 0s, which means there are no trees, would remain the same.

Why does my nikon 910 flash fires 2 short flashes before final fire

I am using Nikon D750 camera and Nikon Sb910 flash. I am missing the timing of action because of this delay of flash firing.

dnd 5e – Does the reach increase of the Eldritch Claw tattoo stack with Fangs of the Fire Snake?

The Eldritch Claw tattoo released in Tasha’s Cauldron of Everything includes the Eldritch Maul ability which grants the following benefit:

For the duration, each of your melee attacks with a weapon or an unarmed strike can reach a target up to 15 feet away from you, as inky tendrils launch toward the target.

The Fangs of the Fire Snake elemental discipline also grants the following benefit:

Your reach with your unarmed strikes increases by 10 feet for that action, as well as the rest of the turn.

After activating Eldritch Maul and using Fangs of the Fire Snake what is the reach of my unarmed strikes? Would it be 25 feet or would it be 15 ft?

dnd 5e – Does fire shield damage trigger if cloud rune is used

The features have the exact same trigger; ask the GM how it plays out

The fire shield spell’s effect is activated:

(…) Whenever a creature within 5 feet of you hits you with a melee attack (…)

Meanwhile, the Cloud Rune is activated:

(…) When you or a creature you can see within 30 feet of you is hit by an attack roll (…)

These are, effectively, the exact same trigger. Thus, what happens with them, what order they are triggered in, and how that is resolved, is left to the GM. The two options, at least to me, are as follows:

  1. The fire shield spell activates, dealing damage, and then Cloud Rune can be used; changing the target.

  2. Cloud Rune activates, changing the target of the attack, thus making you no longer hit by the attack, meaning fire shield can’t trigger and deal damage.

Which of these actually occurs is ambiguous, and both are a bit odd to begin with, but it’ll be up to GM to adjudicate the situation.


There are technically optional rules for this in Xanathar’s Guide to Everything

(…) Most effects in the game happen in succession, following an order set by the rules or the DM. In rare cases, effects can happen at the same time, especially at the start or end of a creature’s turn. If two or more things happen at the same time on a character or monster’s turn, the person at the game table—whether player or DM—who controls that creature decides the order in which those things happen. For example, if two effects occur at the end of a player character’s turn, the player decides which of the two effects happens first. (…)

But these rules are not particularly helpful when it comes to exceptional situations like this where one of the triggered events removes what would trigger the other event. We have some questions on somewhat similar situations with various different answers:

Though these are about the shield spell which… is a a particularly odd spell that may or may not involve time travel (we have a lot of questions on this spell), but they are similar to the case you’ve described here.

dnd 5e – Does a Bugbear PC take damage when holding an enemy on the other side of a Wall of Fire with Grapple?

By the rules as written, the bugbear is not in the area that causes damage, so it won’t take damage.

One side of the wall, selected by you when you cast this spell, deals 5d8 fire damage to each creature that ends its turn within 10 feet of that side.

The bugbear is 15ft away.

A creature takes the same damage when it enters the wall for the first time on a turn or ends its turn there.

The bugbear is not entering the wall. It sounds strange, I agree. Another strange possibility is that another creature can cross the space with the bugbears arms without any issue, which again sounds strange.

Do the above make perfect sense? Not really. For these edge-cases, which are not covered by the rules (in this case, being able to grapple something that is 10ft away from you), the DM should use common sense and make rulings that the table agrees with.

Different groups will prefer different approaches. At my table, I’d make the bugbear not take any damage, and the grappling space with his arms would be difficult terrain (if some other creature decided to run across it somehow). Another reasonable ruling would cause damage to the Bugbear but grant him a Dexterity save. Other tables would come to their own conclusions.

PS: as the other answer stated, this 10ft grapple is only valid on the bugbear’s turn, when it attacks. After that, the enemy is no longer grappled. So most of the argument is pointless, the Bugbear will not end its turn inside the “danger zone”.

dnd 5e – Should a Bugbear PC take damage when holding an enemy on the other side of a Wall of Fire with Grapple?

Bugbears have long arms, allowing them to grapple enemies 10 ft. away.

The Bugbear’s square is not in the effect range of the Wall of Fire.
However, about 5 ft. worth of one of the Bugbear’s hands is supposedly in a square that is.

Mechanically, should the Bugbear take damage? If so, simulationally, how do we reconcile that such a small fraction of the player being in the square and taking just as much damage as a character residing fully in the area of effect?

enter image description here

dnd 5e – Does Wall of Fire hurt people inside a Leomund’s Tiny Hut?

Magical effects can’t extend through the dome.

If the wall of fire is on the outside, it doesn’t affect creatures on the inside because:

Spells and other magical Effects can’t extend through the dome or be cast through it. The atmosphere inside the space is comfortable and dry, regardless of the weather outside.

First, the damage from the wall of fire is a magical effect that cannot pass through the dome. Second, the dome doesn’t care about the temperature outside, “the space is comfortable and dry, regardless of the weather outside.”

Is there a one click way to make a kindle fire a pure Android device?

For non-technical users, is a one click way to get rid of the amazon stuff & install stock Android?

I am trying to help a friend on another continent who has a kindle fire 7 running OS v 5.6.8 (auto-updated just a few days ago, which looks like it might be a problem).

Solutions seem to involve downloading scripts to a PC, then using Android Studio to side-load the scripts to the kindle, then running them, which would beyond my friend, even with assistance – even if they had a PC, which they do not (nor access to one), just the kindle fire.

Does anyone know of a one-click solution, or something close to it, involving only the kindle fire (7 OS 5.6.8)?

dnd 5e – Celestial Warlock’s Radiant Soul: are there any radiant or fire spells?

So my Celestial Warlock just hit level 6 and gained the Radiant Soul feature:

Starting at 6th level, your link to the Celestial allows you to serve as a conduit for radiant energy. You have resistance to radiant damage, and when you cast a spell that deals radiant or fire damage, you add your Charisma modifier to one radiant or fire damage roll of that spell against one of its targets.

I’m having trouble finding Warlock spells that do Fire or Radiant damage, though. Hellish Rebuke (which doesn’t really mesh well with the Celestial theme) on the Warlock spell list (PHB) and Guidance, Flaming Sphere and Flame Strike from the expanded spell list.

Am I missing something, or is this ability just not terribly useful? Does this ability come online later, with Mystic Arcanum?

How does the Fire Ball spell’s damage work?

The 1d10W only applies to one of the targets.

Compare to the spell Lightning Bolt:

This spell is more powerful version of the Fire Ball spell, allowing the caster to throw bolts of lightning rather than fire. Only one lightning bolt per level may be thrown during the combat round. Each bolt must be thrown at the same individual or group. Target restrictions apply in the same way as for normal missile fire.

Lightning bolts have a range of 48 yards and automatically hit their target. If fired into a group, they will hit 1D3 creatures or characters per level of the Caster. Each hit causes 1D10 W at S 4 (irrespective of armour) and 1D8 additional wounds on flammable targets.

Notably, this spell does not have a statement restricting the 1d10W to a single target. So when fire ball says,

Each hit has a Strength of 3 and causes 1D10 Wounds on one target,

only one of the targets in the group takes the 1d10W, unlike lightning bolt, which deals 1d10W to each member of the group.