5th dnd – If an Oblex devours the memories of a wizard, can he cast the spells that he had prepared?

The statistical block of Elder Oblex (MToF, p 219) already indicates what happens when he uses his Eat memories aptitude:

When an oblex causes the exhaustion of the memory of a target, The oblex learns all the languages ​​that the target knows and acquires all its skills, with the exception of backup skills.

he do not state that he is learning spells known or prepared by a caster, so this is not the case.

php – Are there any risks in using function parameters for column names in a prepared statement?

I hope the title makes sense, I did not quite know how to ask him.

So, as we know, using PDO and prepared statement, linking a table or column using bindParam it is not possible. To do this, I have therefore used function parameters by replacing the column names with the parameters, as shown in the example below.

function search($filter,$input,$type,$order,$sort,$limit){
    $st=$this->conn->prepare("SELECT Title,Type,Youtube,Score,Ratings,Singer,ID
    FROM song WHERE $filter LIKE CONCAT('%',?,'%')
    AND Type=? ORDER BY $order $sort LIMIT $limit");
    $st->bindparam(1,$input);
    $st->bindparam(2,$type);
    $st->execute();
    return $st->fetchall();
}

And I call this function here:

$result=$search->search($_POST('filter'),$_POST('input'),$_POST('type'),$_POST('order'),$_POST('sort'),$_POST('limit'));

Where the values ​​come from:

  • $filter—-select
  • $input—-input
  • $type—-radio
  • $order—-select
  • $sort—-radio
  • $limit—-input

As you can see, the table in which I select is hotfix, it is not optional, but I have the option to choose the column in which I want the result to be controlled by ($order), which column I would like to search ($filter), I want it to be ascending or descending ($sort), and how much I would like to see ($limit).

And this code works well, but I'm not sure it's a sure way to do it. Does this solution present risks, or is it safe to leave it like this?

dnd 5th – Can an assistant transcribe prepared multiclass spells?

I do not see the rules that allow you to do that. The relevant text describing the addition of wizard spells to your spell book (box "Your spell book", PHB p.114) says:

Copy a spell in the book. When you find a level 1 or higher wizard spell, you can add it to your spell book if you have a level that you can prepare and you have time to decipher and copy it.

So the question is to know, for example, detect the magic as a Druid means you have "found a wizard spell"? I do not really think so. Look at the examples that he gives:

You may find other spells during your adventures. You might discover a spell saved on a parchment in the trunk of an evil wizard, for example, or in a dusty book from an old library.

It seems to me that the word "find" here means a physical thing that you go, like, and find. And look How? 'Or' What you copy it into your spell book:

Copying this spell into your spell book involves reproducing the basic form of the spell and then deciphering the unique scoring system used by the wizard who wrote it.

It seems to me that you need a written reference to copy it. Preparing a Druid spell has nothing written for you.

The other option you can consider, which costs only 10 inches per level, seems even clearer to me than you can do (my emphasis is added):

You can copy a spell from your own spell book in another book, for example, if you want to make a backup copy of your spell book. It's like copying a new spell into your spell book, but faster and easier, since you understand your own notation and already know how to cast the spell. You only need to spend 1 hour and 10 inches for each level of the copied spell.

Now, if your DM reads it differently, or just thinks it makes more sense or is more fun or anything and wants to allow it, I certainly could not blame them. But I just do not see it allowed by the text I see.

5th dnd – Can a prepared action be taken after launching a spell, but before it inflicts damage?

This question stemmed from the discussion in the comments of another Q / A: "Can you use Shape Water on the tidal wave?".

I do not know how spells of "instant" working time work. More precisely, do their effects also happen instantly?

An example where this counts:
If we prepare the spell stone wall and the trigger is "when I see a fireball springing up to me, I'll block it with the spell ", when will they actually cast the stone wall to spell?

We know that prepared actions occur after their triggers, but there are (at least) two possibilities.

  1. The effects of fireball happen instantly, so you can launch stone wall only after each part of the spell including the fireball explode and inflict damage.

  2. The effects of fireball arrive in a timed order, so that you can launch stone wall just after all part of the spell including the fireball come to you.

Can a prepared action be triggered and taken after launching a spell, but before it inflicts damage?
Or rather, which of the above interpretations applies (if any) to "instant" periods?

dnd 3.5e – Can a bard choose to prepare spells and thus benefit from elements that recall already prepared spells?

Nothing in the rules prevents him from doing so, in particular. That said, nothing in the rules specifically prevents, for example, Fighter from knowing a spell, right?

It does not prevent Bard from preparing spells, but he does not have the ability. Wizard is like:

A wizard must choose and prepare his spells in advance (see below).

Bard does not receive anything like this.

On page 88, in the Metamagic section, in the Sorcerers and Bards sub-section, it is also pretty clear that these classes are supposed to always start spontaneously:

Sorcerers and bards choose spells to cast them.

And there is also an Arcane preparation feat (Player's Guide to Faerûn, 32). Its advantage is:

You can prepare an arcane spell (…)

And it is specifically intended for use by Bards, as described in the "Normal" section:

Ordinary

A wizard or a bard who (…)

Feat is not open content, so I can not republish it here in its entirety, but I think there is a feat that allows Bards and Wizards to cast spells if they choose to do so shows quite clearly that they can not prepare by default.


Bottom line: the wording of the spells cast by the bard could and should have been a little clearer indeed.

5th dnd – Does the prepared movement count as "your movement"?

Some of them.

You can declare that you plan to ride a horse in reaction.

Other activities in your tour include things like speaking or gesturing, for example. warn an ally of a threat or indicate how a monster has escaped. As a general rule, a DM will let you do these things for free outside your turn, but according to the rules, they are supposed to be done during your turn. In any case, these activities do not require movement.

No matter whether it is your turn or a prepared action, you can not deliberately finish your move in the space of another creature.

If you use a prepared action to move, you can walk, fly, climb or burrow as long as you have the opportunity.

dnd 3.5e – How Do Prepared Actions Involving a Movement Interact with a Charge?

Situation:

In turn, Alice uses the action ready. It specifies the condition "a creature attacks me" and an action that would take her out of her melee range (like teleporting with dimension door).

At Bob's next turn, he's charging Alice. The attack that he would take at the end of his charge meets the trigger conditions of Alice's prepared action, so she teleports.

What exactly come?

  • Can Bob make his melee attack before Alice is teleported?
  • Does it matter if Alice teleports somewhere that would have been in Bob's original charge range, compared to a place where he could not bill?
  • If Bob fails to attack, does he still lose all of his full round action for charging? Or did he just spend a movement action if he can never attack? What happens if it is already farther than it could be with a single action (since you can load twice as fast)?
  • Would it matter if Alice had chosen a different trigger condition for her prepared action, like "a creature approaching me at 20 feet?"

dnd 5th – If I am multi-classified into 2 or more classes casting, how can I determine my known / prepared spells?

Multi-class spell casting rules in the PHB (p.164) or basic rules clearly explain how known and prepared spells work if multiclassed into 2 or more classes (or subclasses) with Spellcasting:

Your ability to cast spells depends in part on your combined levels in all of your spell casting classes and in part on your individual levels in those classes. Once you have the Spellcasting feature of multiple classes, use the rules below. If you use multiple classes but you only have the Spellcasting feature of a single class, you follow the rules described in this class.

Known and prepared spells. You determine the spells you know and can prepare for each class individually, as if you were a single-class member of that class. For example, if you are a Ranger 4 / Wizard 3, you know three first-level Ranger spells based on your levels in the Ranger class. As a third level wizard, you know three wizard traps and your spell book contains ten wizard spells, two of which (both you got when you reached the third level as a wizard) can be second level spells. If your intelligence is 16, you can prepare six wizard spells from your spellbook.

Each spell you know and prepare is associated with one of your classes, and you use the casting ability of that class to cast the spell. Similarly, a spellcasting focus, such as a sacred symbol, can only be used for the class spells associated with that focus.

If one of your powers increases power to higher levels, this increase is based on the level of your character and not on your level in a particular class.

As explained above, when you perform a multiclassification in multiple spell casting classes, you determine your known and prepared spells as if you were categorized into one class in each of these classes.

Note that certain class / subclass characteristics (such as the additional magic secrets of the Lore Bard Wizard, cleric domain spells, or paladin oath spells) may provide additional known or prepared spells that are not not counted in your known / prepared spell count for this class. . If this is the case, the class / subclass feature description will tell you whether or not these spells are counted into your known / prepared spell limit.

What about warlocks?

You may notice that the rules I've mentioned so far mention the Spellcasting feature in particular. So you can ask how they interact with warlocks, which have the Pact Magic feature rather than the Spellcasting feature. On this topic, the multiclass mailing rules simply state:

Magic Pact. If you have both the Spellcasting class feature and the Pact Magic class of the Warlock class, you can use spell locations obtained with Pact Magic to cast spells that you know or have prepared for. from classes with the Spellcasting class function. can use the spell locations you get from the Spellcasting class function to cast warlock spells you know.

Technically, they do not mention how known spells are determined for multiclass warlocks with another class, but only how multiclashing interacts with their Pact Magic locations and which slots can be used to cast warlock spells. However, based on the stated logic and the absence of contrary rules, this seems clear: your known warlock spells are determined as if you were classified as warlocks, as in any other class of casters.

The rules designer, Jeremy Crawford, unofficially confirms that the same is true in a series of tweets from December 2017:

The cleric spell casting function indicates that you can cast spells up to your spell location. Pact Magic gives you higher level spell locations. can a warrior level 1/5 cleric prepare for Animate Dead? since Warlock does not have a spell function, do not use multiclass rules

Launching multiclass spells. You determine the spells you know / prepare for each class individually, pretending that you have only this class. Slots from the multiclash rules do not apply. Do you have 1 level in cleric? You prepare cleric spells as a first-level cleric.

"If you use multiple classes but only have the Spellcasting feature of a single class, you follow the rules described in this class." The Warlock does not grant the Spellcasting feature, so he would follow the Cleric "Spells must be at a level for which you have spell locations." Is it always wrong?

Keep reading, starting with the following sentence: "Known and prepared spells …"

"If you have the Spellcasting feature of multiple classes, use the rules below." In this case, I would not have the Spellcasting feature of more than one class, so the rules below for known and prepared spells would not apply.

Continue all along the page. You will get the "Pact Magic" section, which explains how Pact Magic interacts with Spellcasting. This has no effect on what you can prepare.

The spell casting feature does not mention where the spell locations should come from.

Now that you have re-read the multiclass rules, let's go to the cleric. The first sentence of "Preparing and Casting Spells" reads as follows: "The cleric's chart shows the number of spell locations needed to cast your spells …". This initial text opens the way for the following in this rule.

"Spells must be at a level for which you have spell locations." The text in Prepare and Cast Spells does not explicitly state that it only applies to Cleric spell sites, however. I do not think the first line limits you this way.

When writing this rule, I started with this sentence for a reason: contextualize everything you read after this rule. The sentences in our rules are not meant to be interpreted in isolation from each other.

Thus, it is clear that the determination of known / prepared spells when multiclassed in a warlock is supposed to work the same way as for any other combination of spell casting classes.


Let's go back to the example:

For example, if I play a multi-class character with 1 level in the warlock, 2 levels in the bard and 3 levels in the paladin, how can I determine which spells I know / have prepared?

We need to examine the casting feature and class table of each class to determine the number of known or prepared spells you have for each class:

  • The warlock board shows that a first-level warlock knows 2 traps and 2 additional spells. And according to the Pact's Magic feature, "At 1st level, you know two first-level spells of your choice in the list of warlock spells." (If you are learning a new spell or replacing an existing spell with a new one at higher levels of warlock, your new spell should be at a level no higher than your Pact Magic slots.)

  • According to the bard table, a level 2 bard would have 2 spells and 5 additional spells. As in the case of the Warlock Pact's Magic feature, the Spellcasting feature of the bard indicates that your spells other than those in the trap must be at a level for which you have spell locations; as the Bard chart shows, a level 2 bard only has level 1 spell locations, so all 5 spells must be type 1.

  • Finally, paladins prepare their spells instead of knowing / learning them. The Paladin's Spellcasting feature indicates that you can prepare "a number of paladin spells equal to your Charisma modifier + half your paladin level, rounded to a minimum (at least one spell)." He adds that spells must be at a level for which you have spell slots; according to the Paladin table, a 3rd level paladin has only 1st level spell locations. Suppose your paladin has a charismatic score of 16, and therefore a charismatic modifier of +3. This means that you can prepare a spell count equal to your Charisma mod (3) plus half of your Paladin level (3/2, rounded to 1), for a total of 4 spells.

    However, it is not everything. On the 3rd level, the paladins receive the Sacred Oath function; each oath gives them spells at specified levels. Your oath spells are always automatically prepared and do not count in the number of spells prepared by the paladin (and are still considered paladin spells for you). The paladin oath oaths of the level 3 paladin devotion oath are protection from evil and good and sanctuary. This brings to 6 the actual number of paladin spells prepared.

So, as a Warlock 1 / Bard 2 / Paladin 3 with a Charisma score of 16, you:

  • know 2 warlock spells and 2 1st level warlock spells
  • know 2 bard cantrips and 5 first-level bard spells, and
  • prepare 4 first level paladin spells and 2 always prepared oaths
    the spells specified in the subclass description (for example, protection against
    bad and good
    and sanctuary for a paladin of devotion)

You would like do not have access to level 2 or higher spells in any of these classes unless you have taken at least 3 total levels of Warlock or Bard, or at least 5 total levels of Paladin.

5th dnd – Can you escape from Web or Moonbeam using a prepared move?

Web is a simpler case; as you have shown, it says (it is me who underlines):

"Every creature who start his turn in the paintings or who enters them in turn must make a saving throw of dexterity … "
Quote from https://www.dndbeyond.com/spells/web

And if you have already done the Ready action to move on your previous turn (with a trigger that occurs), you will be able to move away from the canvases before your turn occurs and you will not make the roll. backup.

Moon Beam is a bit more complicated because it has the following wording (it's me who points out):

"When a creature enter the area of ​​the spell for the first time a lap or start his turn there, he is engulfed by ghostly flames that hurt him very much, and he has to make a saving throw of the Constitution … "
Quote from: https://www.dndbeyond.com/spells/moonbeam

This raises the question of whether or not the creature has entered the area of ​​the spell. Fortunately, this was developed as follows in the Sage Advice Compendium (mine in parentheses):

Our design intent for such spells (including Moobeam) is: a creature enters the area of ​​effect when the creature passes through it. Creating the effect area on the creature or moving it on the creature does not count. If the creature is still in the zone at the beginning of its turn, it is subject to the effect of the zone.
Quote from page 16 of https://media.wizards.com/2019/dnd/downloads/SA-Compendium.pdf

Thus, the creation of the moon Beam The area of ​​effect does not trigger a save and the creature does not have to create one at launch.

There is the question of when exactly a creature is "passed" into an effect zone. But for me this requires to really go in, actually entering an area of ​​effect. Thus, using a move prepared to move from the inside of the effect area to the outside will not trigger any backup because you have not succeeded. in the area, you simply moved through he.

5th dnd – Can you give up your prepared action to take an opportunity attack instead?

Yes

Nothing in the Opportunity Attack or Opportunity Attack Rules suggests that they exclude each other beyond the use of his or her reaction, which does not occur. is used only to launch the opportunity attack or to take the action prepared. Therefore, you can give up using the fireball prepared to launch a second-hand attack if you wish and if circumstances permit.

Using his reaction to the attack of an opportunity consumes his reaction until his next turn, so that the prepared action can not be undertaken. For prepared spells, the character will not recover the used slice of spell and may technically remain focused on the prepared spell, although they can not trigger it without an unspent reaction. Any prepared actions that have not been taken can not be more than the beginning of the character's next turn, as explained in the player's manual errata:

Ready (page 193). You have until the beginning of your next turn to use a prepared action

Therefore, in practice, a character loses his prepared action when he launches an attack by opportunity, unless he has a feature allowing him to launch an opportunity attack without using his reaction (as the Combat Fighter Tunnel Style of Underdark UA).