dnd 5e – When do Druids gain the ability to cast each spell level?

In order to cast a spell of level x you need a spell slot of at least x in order to cast it.

Your max spell slot level as a full caster can be calculated by adding 1 to your character level then dividing by two.

Hence level 3 spellcasters can cast 2nd level spells, for example.

Another way to figure this out is to open up your Player’s Handbook and look at the Druid class. On the table that shows when you get class features, it also shows you your spell slot progression.

Note: this works a little differently when you are multiclassing

When multiclassing, your maximum spell slots are determined by your effective spellcaster level. This is calculated by adding the number of class levels of full casters (bard, druid, sorcerer, wizard, cleric), number of levels/2 of Half-caster levels (paladin, ranger), and the number of levels/3 of 1/3 casters (trickster, Eldritch knight).

So a character who has cleric 3/druid 5, could prepare up to 2nd level cleric spells and up to 3rd level druid spells. They can cast any of these spells using up to 4th level spell slot. This can be figured out using the Multiclass Spellcaster table in the PHB or by using the formula above: (3 + 5 + 1)/2 = 4.

powershell – Poswershell MongoDb – Unable to cast object of type ‘System.Object[]’ to type MongoDB.Driver.ProjectionDefinition`1[MongoDB.Bson.BsonDocument]’

I am exporting MongoDB data from a collection into a file using Get-MdbcData. I am selecting fields from the collection using the parameter -Project with a string variable $FieldAttributes that lists either one or multiple fields to select and should have the format: @{_id=0; customer_id=1; account_status=1}

Get-MdbcData -Collection $MyColl -Project $FieldAttributes 

Below is the code with the function that outputs the expected format of $FieldAttributes above.


function Format-ColumnSelect {
    param(
        (string()) $Columns
    )
    $results = @{}
    $Columns = "_id," + $Columns
    try {

        foreach($a in $Columns -split ",") {
                if ($a -eq "_id") {
                    $results($a)=0;
                }
                else {
                        $results($a)=1;
                     }
        }
        return  HashConvertTo-String($results)
    } catch {
        Write-Error -Message $_.Exception.GetBaseException().Message
    } finally {
    }
}
$FieldAttribute = "customer_id,account_status"
$FieldAttributes = Format-ColumnSelect -Columns $FieldAttribute
Connect-Mdbc $Url $Database $CollectionName -CollectionVariable MyColl;
Get-MdbcData -Collection $MyColl -Project $FieldAttributes  | Export-MdbcData $Path -Append;

When executed, I get the error:
Unable to cast object of type ‘System.Object()’ to type MongoDB.Driver.ProjectionDefinition`1(MongoDB.Bson.BsonDocument)’.

If I hard code the projection expression, @{_id=0; customer_id=1; account_status=1}, it works as expected but errors out with the variable.
How do I cast $FieldAttributes to the expected type? Any help is appreciated.

Using Arcane Abeyance to cast Fabricate, could you turn an enemy’s plate armor into a full body restraint?

If a player uses a bead with the spell fabricate in it from the Arcane Abeyance feature, could they turn an enemy in plate armor’s armor into an iron maiden or just a full-body metal-binding?

using Arcane Abeyance to cast fabricate

If a player uses a bead with the spell fabricate in it from the Arcane Abeyance feature, could they turn an enemy in plate armor’s armor into an iron maiden or just a full-body metal-binding?

dnd 5e – Can Erupting Earth be cast somewhere that isn’t on “ground”?

Yes

In this case the term “on the ground” only refers means “not in the air/floating”. The rules don’t clarify “ground” any further. While it may not make sense for the ground to be covered with dirt after casting the spell inside a dungeon, on top of a roof or inside a gazebo it is easy to reflavor the spell to have the ground be covered in rocks, chunks of wood or another material that creates the same effect.

dnd 5e – What is the class of a spell cast from a staff?

The staffs details state:

While holding the staff, you can use an action to expend some of its Charges to cast one of the following Spells from it, using your spell save DC and Spellcasting ability

When you chose to cast a spell from the staff, you use your own spellcasting ability, whichever that is. You attuned as an Artificer, so you would use the artificers spell save DC and spellcasting ability, with the +3 bonus to Artificer spells. Some of these spells are not on the Artificers list of spells, but the artificer ignores “all class, race, spell, and level requirements on attuning to or using a magic item,” so it is no problem for them to use any part of this item.
Say you are a wizard 10/sorcerer 10. When you cast the spell through the staff, you can choose to use your wizard spell save DC and spellcasting ability, or your sorcerer spell save DC and spellcasting ability, to take advantage of whatever you are attuned to.

Class of a spell cast from a staff

in dnd 5e when a character casts a spell from a staff (e.g. staff of a magi), what is the class of that spell? It is important for items like "+1 to DC for this_class spells that you cast" from Tasha’s.

dnd 3.5e – Protection from Evil cast on a player who’s already under a Charm Person spell?

I’m currently playing a D&D 3.5 campaign and in our last session our fighter has fallen under a Charm Person spell cast by an evil enemy spellcaster.
My character is a Cleric and has access to both Protection from Evil and Magic Circle against Evil.
If I cast the former upon the figher, or the other one so that the fighter is included in the affected area, what happens?
I’m not sure how to interpret the spell’s description. From the PHB (emphasis mine):

The barrier blocks any attempt to possess the warded creature (by a magic jar attack, for example) or to exercise mental control over the creature (including enchantment (charm) effects and enchantment (compulsion) effects that grant the caster ongoing control over the subject, such as dominate person). The protection does not prevent such effects from targeting the protected creature, but it suppresses the effect for the duration of the protection from evil effect.

Therefore, it seems that once the spell is cast the target becomes immune to the mental influence of the evil entity. However, the spell description also says that (emphasis mine)

If the protection from evil effect ends before the effect granting mental control does, the would-be controller would then be able to mentally command the controlled creature. Likewise, the barrier keeps out a possessing life force but does not expel one if it is in place before the spell is cast.

It is clear that the spell does not nullify Charm Person, but the controller seems (at least) to be unable to give orders to the targeted creature. What about the order given before Protection from Evil is cast?
There are three possible interpretations:

  1. Nothing happens, as the target was already Charmed before;
  2. The creature is still Charmed but the evil guy cannot give new orders (as Protection suppresses the effects of Charme);
  3. Charme Person is stopped for the duration of the Protection spell, and my fighter is free to act as he pleases.

Thank you for your input!

dnd 5e – Does Astral Projection spell fail if cast while on the Elemental Planes or Material Echo Planes (Shadowfell, Feywild)?

Further to the question: Can there be portals in the Astral Plane that lead to the Elemental Planes , I wanted to ask does Astral Projection spell fail if cast while on the Elemental Planes or Material Echo Planes (Shadowfell, Feywild)?

According to the Etherealness spell (PHB p238) :

This spell has no effect if you cast it while you are on the Ethereal
Plane or a plane that doesn’t border it, such as one of the Outer
Planes.

According to the Astral Projection spell (PHB 215):

You and up to eight willing creatures within range project your astral
bodies into the Astral Plane (the spell fails and casting is wasted if
you are already on that plane).

And later in the same spell description:

Your astral form can freely travel through the Astral Plane and can
pass through portals there to any other plane.

However, according to DMG in the description of relevant planar travel spells (DMG pg 46) it indicates the following :

And the astral projection spell lets adventurers project themselves
into the Astral Plane and from there travel to the Outer Planes.

Accordingly, for both RAW and RAI, does Astral Projection spell fail if cast while on the Elemental Planes or Material Echo Planes (Shadowfell, Feywild)?

dnd 5e – If you cast a spell as a bonus action, can you use an action provided by some ongoing spells on the same turn?

If you cast a spell with a bonus action, you can’t cast a spell with a casting time of one action (PHB, p. 202):

A spell cast with a bonus action is especially swift. You must use a bonus action on your turn to cast the spell, provided that you haven’t already taken a bonus action this turn. You can’t cast another spell during the same turn, except for a cantrip with a casting time of 1 action

Does this apply to ongoing spells that provide an action after being cast?

Sunbeam

A beam of brilliant light flashes out from your hand in a 5-foot-wide, 60-foot-long line. Each creature in the line must make a Constitution saving throw. On a failed save, a creature takes 6d8 radiant damage and is blinded until your next turn. On a successful save, it takes half as much damage and isn’t blinded by this spell. Undead and oozes have disadvantage on this saving throw.

You can create a new line of radiance as your action on any turn until the spell ends.

For the duration, a mote of brilliant radiance shines in your hand. It sheds bright light in a 30-foot radius and dim light for an additional 30 feet. This light is sunlight.

Witch Bolt

A beam of crackling, blue energy lances out toward a creature within range, forming a sustained arc of lightning between you and the target. Make a ranged spell attack against that creature. On a hit, the target takes 1d12 lightning damage, and on each of your turns for the duration, you can use your action to deal 1d12 lightning damage to the target automatically

Am I wrong an interpreting this as allowing to cast a spell as a bonus action on the same turn as the actions provided by these spells?

  • Turn 1: I cast sunbeam
  • Turn 2: I cast hunter’s mark, then use the action provided by sunbeam to create a new beam.