Does a Firbolg lose their invisibility granted by hidden step if their summon makes attacks or deals damage?

Hidden step states:

As a bonus action, you can magically turn invisible until the start of your next turn or until you attack, make a damage roll, or force someone to make a saving throw. Once you use this trait, you can’t use it again until you finish a short or long rest.

My question is that if you summon a creature and command it to attack and deal damage for you, does that count as you making an attack/damage roll and therefore breaking your invisibility? Or does the fact that your summon is it’s own creature mean that you didn’t make any rolls that would break your invisibility (your summon did)?

Can you take a guarded step in difficult terrain

So the way I am reading the rules it seems impossible to take a guarded step in Starfinder in difficult terrain.

So the guarded step rules say:-

You can carefully step 5 feet as a move action. This movement doesn’t provoke attacks of opportunity (see page 248), even if you’re in a threatened square (see page 255).

And the difficult terrain rules say:-

Difficult terrain, such as heavy undergrowth, piles of junk, or steep stairs, hampers movement. Each move into a square of difficult terrain counts as 2 squares of movement. Each diagonal move into a difficult terrain square counts as 3 squares. You can’t run or charge across difficult terrain. If you occupy multiple squares with different kinds of terrain, you can move only as fast as the most difficult terrain will allow. Flying and incorporeal creatures are not hampered by most difficult terrain, though a dense tree canopy or web of chains might count as difficult terrain for flying creatures.

Can the Ring of X-Ray vision prevent Shadow Step?

The Ring of X-Ray vision states:

To you, solid objects within that radius […] don’t prevent light from passing through them.

The Way of the Shadow Monk has a level 6 feature that states:

When you are in dim light or darkness, as a bonus action you can teleport up to 60 feet to an unoccupied space you can see that is also in dim light or darkness.

Say a Shadow monk is inside of a wooden crate with 1 inch thick sides. The crate itself is on a wagon in bright sunlight. Within 60ft of the crate is a tree creating an area of dim light.

If the Shadow Monk activates the Ring of X-Ray vision would they be in darkness for the purposes of using Shadow Step?

Prompted by this question which focuses on how the ring affects the appearance of a dark area. My question is interested about the "reality" of the darkness/illumination.

D&D 4e Wayfarer’s Step

Been playing a wizard in 4e. We are approaching lvl 11, so I have been looking into different PPs (Paragon Paths) and found the Arcane Wayfarer. My question is, does the Teleport 2 from Wayfarer’s step add on to your original movement? Or is it just a new movement mode? I.E. Can I teleport 2 then run my full 6 movement right after? Or is it Teleport 2 then run 4?

How many creatures can step through a Teleportation Circle before it closes?

The party has just rescued 100 slaves. How many of them can conceivably enter a teleportation circle before the spell ends? It seems absurd to think all 100 can make it.

The teleportation circle spell description states that:

A shimmering portal opens within the circle you drew and remains open until the end of your next turn. Any creature that enters the portal instantly appears within 5 feet of the destination circle or in the nearest unoccupied space if that space is occupied.

Does the duration of the invisibility from the Firbolg’s Hidden Step trait allow me to make an attack roll with advantage on the following turn?

The firbolg’s Hidden Step trait (VGtM, p. 107) is described as being active "until the start of your next turn" at most:

As a bonus action, you can magically turn invisible until the start of your next turn

I’m unclear on the exact mechanics of turn starts. For instance, if I use Hidden Step as a bonus action at the end of my turn, would the invisibility stay active for my next attack?

My initial reading was "no" as the trait would stay active from when I use it, into the next round, and drop as soon as my turn came up in the initiative order. I would then become visible, and take my action. This also gels conceptually: I can use Hidden Step to protect myself from combat for a round, or I can use it to gain advantage on an attack. But I can’t use it for both.

However, I’ve also read that advantage for invisibility is determined at the start of the round, and thus the advantage would in fact carry over to the next round’s attack, as if I was attacking from hiding or something similar.

Which is it, and what source would resolve it?

Periodical sum of rows by a certain step

I’ve been struggling with one problem. I have a classic matrix in this example 12×4 such as: matrix = Table[i, {i, 12}, {4}]

TableForm@matrix

I need to sum the rows according to the example below.

Total@matrix[[{1, 5, 9}]]

Total@matrix[[{2, 6, 10}]]

Total@matrix[[{3, 7, 11}]

I tried using MapAt, but without any real success so far. I need to make a function out of it, cause later I will be using it for matrix 1036×37. Any tips?

Can you cast Thunderwave and then Misty Step on the same turn in that order? [duplicate]

Imra the wizard is cornered! Surrounded by multiple foes, she casts Thunderwave in an attempt to push her enemies back. One of them succeeds on the saving throw!

Knowing that moving out of their range might trigger an attack of opportunity, can she cast Misty Step in the same turn?

I’m asking this because the rules under Casting a Spell states that

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 the order of spells casted matter? The wording makes it seem like you can’t cast a Bonus Action spell and then an Action spell, but you can do it the other way around.