## Is the effect of a mending cantrip a continuous spell?

Suppose I have split a stone brick in two, hollowed it out, packed it full of contraband, and then sealed it shut with a Mending cantrip. How does the spell effect work? Is it a one-and-done, ending when the affected object is repaired, or does it continuously keeping the object’s pieces together?

Will Detect Magic pick up the brick?

Could the brick be opened by a Dispel Magic?

Would the effect cease inside an Antimagic Field? Will it resume once the brick is out of the field?

## Do Continuous effects in an array remain after you switch to a different power?

Note: This is different to What happens when you use a continuous power in an array and then switch to a different power? as that covers 2nd edition, and I’m focused on 3rd.

Say you have an array with two powers: one is a Create effect with Increased Duration (Continuous) extra, the other is an attack of some kind. You use the former to create a box, and then switch to the other. Does the box remain, or does it vanish?

The rules are ambiguous on this point, and there is a strong argument for either position from both a rules and a thematic perspective

The description for Alternate Effect states:

Alternate Effects cannot be used or maintained at the same time as other Alternates in the same array; they are mutually exclusive

The description for the Continuous duration states:

The effect lasts as long as you wish, without any action required on your part. Once active, it stays that way until you choose to deactivate it

From a rules perspective, one could argue that since one is not maintaining the effect, one would be permitted to swap between powers without dismissing the effect. On the other hand, one could argue that the effect being in place at all counts as the power being ‘used’.

From a thematic perspective, one could argue for effects remaining with the following example: Imagine a superhero, let’s call her Sue. Sue has the power to fire Ice Beams, with two applications: as an attack, or to build ice constructs. Since both rely on her firing Ice Beams, and she can only use the beams for one at a time, it makes sense that they would be an array. In addition, once her constructs are created, she doesn’t need to sustain them (ignoring ice melting for this example). As such, it would make sense for the constructs to be Continuous. If she were to build a construct one round, then attack with her beams the next, it would make little sense for the construct to suddenly disappear, as they were not reliant on her in any way. However, one could argue that the two effects being able to be applicable at the same time violates the concept of an array.

I’ve checked the forums, and there is a solid 3 pages of discussion there with no consensus, so I’m looking for an official ruling on this if there is one at all. Thanks in advance.

## Search for range in continuous function satisfying some condition

I am attempting to define an optimization for the following problem: given two graphs find (the largest possible) areas where some condition holds.

Interesting portions are where the `R`ed graph is above the `G`reen one. All, or part, of such areas may satisfy the condition.

Googling for optimization algorithms, e.g. ones mentioned in Scipy’s optimization tutorial, returns results focusing on finding a single point, usually the min/max of some condition. I am having trouble finding algorithms that search for ranges.

The graphs`R` and `G` are KDEs generated with Gaussian functions. I can find the intersections of the graphs (e.g. with brentq and between each pair calculate `P` and `S` (the conditions). The blue vertical lines are the intersections; blue horizontal lines with text are shown only when the conditions were met for the whole range.

In many cases a subset of the range satisfies the condition as can be seen in black. Those are results from a ML algorithm which I want to replace with a numerical calculation.

Example 1: ML algo found better solution on the right section, neither found the left one interesting.

Example 2: on the right you can see the ML algo suggesting a range not quite between the blue lines. I am OK with the new algo clipping the portion on the left. Example 3: showing that there may be more than one interesting range per marked section. Example 4: ML algo missed the leftmost range

## Can you voluntarily suppress the effect of a continuous magic item you are wearing?

I would like to ask my DM if it is possible to craft a Continuous Cloud of Knives (Player’s Handbook II) Ring, but it could be a little awkward in certain situations, a swarm of knives orbiting around you is unlikely to help in social interactions. Is it possible to voluntarily suppress the effect of the spell?

Should I just opt for the Use-Activated item?

## Cloud of Knives

Conjuration

Level: Cleric 2, Sorcerer 2, Wizard 2,

Components: V, S, M,

Casting Time: 1 standard action

Range: Personal Target: You

Duration: 1 round/level

You conjure a cloud of sharp knives around you. The knives float in the air around your upper body, pointing in the direction you look.

Each round as a free action at the beginning of your turn, you can release one of these knives at any target within 30 feet that you can see. This is a ranged attack that uses an attack bonus equal to your caster level + your key ability modifier. Each successful hit deals 1d6 points of damage +1 per three caster levels (maximum +5) and threatens a critical hit on a roll of 19-20. Damage reduction applies to knife attacks from this spell. The knives are treated as magic for the purpose of overcoming damage reduction. Material Component: A knife.

Optional Material Component: Using a silvered dagger (22 gp) in the casting of this spell allows the knives to overcome damage reduction as if they were both magic and silver, but the knives deal 1 less point of damage.

## “Continuous” Bardic Inspiration

The bard’s Bardic Inspiration feature states:

You can inspire others through stirring words or music. To do so, you use a bonus action on your turn to choose one creature other than yourself within 60 feet of you who can hear you. That creature gains one Bardic Inspiration die, a d6.

Once within the next 10 minutes, the creature can roll the die and add the number rolled to one ability check, attack roll, or saving throw it makes.

This basically plays out to be “You can do it!” or “Break a leg!”, or just playing their lute to build suspense, to affect one thing at a time.

However, I was thinking about the possibility of changing this up for a more “constant” variation. A smaller pay off (+2, for example) for the entire period, much like listening to your favorite song when doing something challenging; Eye of the Tiger or Danger Zone during a fight, Stayin’ Alive while doing a heal or revive check, or just your favorite song to get you in the zone, and your blood pumping.

Additionally, the original time frame is “in the next 10 minutes”, which means any time within the next 60 rounds; so a compromise of a constant +2 over say, 1-3 minutes (i.e. the length of your “inpirational boom-box music”) would not only fit combat more effectively, but also be more evenly balanced in bonus:duration ratio.

So; would a constant bonus of +2 over a shorter duration (1 minute) be balanced?

## How do I design a DP algorithm to count the minimum amount of continuous palindromic subsequences in sequence?

Taking a sequence, I am looking to calculate the minimum amount of continuous palindromic subsequences to build up such a sequence. I believe the best way is using a recursive DP algorithm.

I tried to start by coming up with the base cases, subproblem and recurrence but having trouble picturing the problem space or the most efficient way to do it. (For example, is it best to find the longest palindromic continuous subsequence first, or rather find the earliest one first?)

For example:

Sequence: `[A, B, A, G, C, C, G, T, O, O, T ]` is made up from 3 subsequences, namely `[A, B, A] + [G, C, C, G] + [T, O, O, T]`

So, therefore, my output for this example would be `3`.

## In the ubiquity RPG system, what is the advantage of using continuous combat?

In the ubiquity RPG system (as used in Hollow Earth Expedition or Space 1889), an alternative initiative system (“continuous combat”, where actions take place continuously, without use of combat turns) is proposed in addition to the default system (a turn based system relatively similar to Dungeons and Dragons). Continuous combat is left a bit vague in the core rulebook, but elaborated on in the addendum to the Hollow Earth Expedition GM screen.

What are the advantages (as a GM) of using continuous combat? Is it very complicated to use? When would it shine compared to the standard initiative system? When is it worse?

## Trivial solution to the Continuous Knapsack problem

I am a bit puzzled as to why the continuous knapsack problem is a non-trivial problem

https://en.m.wikipedia.org/wiki/Continuous_knapsack_problem

Using the terminology in the Wikipedia link above,

If the Knapsack had a capacity of W, couldn’t we just pick W/wi of the material i having the maximum value per unit weight vi?

## How does one simulate continuous gravity using a discrete timestep?

While gravity in real life is continuous, computers are limited to discrete calculations.

Therefore, a seemingly correct projectile simulation inevitably drifts off.

For example:

``// Repeat once per frame position += velocity * deltaTime; velocity += gravity * deltaTime; ``

Graphed, compared to the actual projectile formula

## How to stop continuous crawl even though the content sources are all idle?

I have a 6 server 2016 crawl farm on 2012R2 Windows. Server1-6. 5&6 host crawler, admin component, and content processing. 3&4 host content processing and analytics. 1&2 host indexes and query processing.

We were getting a lot of errors on our continuous and incrementals so I stopped them to troubleshoot. However, even though the content sources are all idle, the crawl log still shows the continuous as running. Also, any crawls i start now just run without crawling anything. No errors but no successes. I have tried restarting the whole farm, stopping osearch, sptimer, & spadmin services and bouncing IIS as well. The crawl targets are up and providing content and permissions are correct there. No resource contentions anywhere.