Is it possible to use a weapon as a normal weapon and an arcane focus at the same time?

I am relatively new to D&D, and am currently creating my very first PC, a Tiefling Sorcerer with a Draconic Origin. As I was working on my weapons and items, I got into what an arcane focus is and how they work.

Since I read online that a quarterstaff can double as a weapon and an arcane focus, I was wondering if it was possible to use them as both of those things at the same time?

Let me give an example: I am a 3rd level Sorcerer and know the metamagic Quickened Spell and the Shocking Grasp cantrip. I am in the middle of combat, and on my turn decide to attack an enemy within range with my quarterstaff. Before I attack, I decide to expend my two sorcery points to change the casting time of Shocking Grasp cantrip to one bonus action. I then attack and hit the monster.

Can I simultaneously hit the monster, costing 1 action, and cast my Shocking Grasp cantrip, costing 1 bonus action, to deal more damage with my attack?

How to proof that Turing machine that can move right only a limit number of steps is not equal to normal Turing machine

I need to prove that a Turing machine that can move only k steps on the tape after the last latter of the input word is not equal to a normal Turning machine.

My idea is that given a finite input with a finite alphabet the limited machine can write only a finite number of “outputs” on the tape while a normal Turing machine has infinite tape so it can write infinite “outputs” but I have no idea how to make it a formal proof.

any help will be appreciated.

How to calculate consistent signed Normal of Triangle?

I am currently calculating normals for 3 point coplanar triangles like P1, P2, P3

$ $ N = (P1 – P2) \times (P2 – P3) $ $

This equation will give me different negative or positive Normal depending on the order of the points.

  const N = getNormalForTriPoints(p1,p2,p3); //1   const N = getNormalForTriPoints(p2,p1,p3); // -1 

I am using this function in a collision detection algorithm and feeding it a set of world space triangles. The normal calculation is causing unexpected results like falling through objects because the normals are reversed. If I can’t calculate a normal reliably what alternatives do I have to handle this? How do I know what order to feed in the triangles? Or what methods are available to sort the triangles?

How to rewrite URL with PHP variables with htaccess to a normal looking URL?

I have a problem. I want to change an old database website that is not made in WordPress to WordPress. My site uses PHP variables So the URL is originally:

website.com/index.php?tl=1&pg=2&bs=3&hcbs=4&sc1bs=5&sc2bs=6&sc3bs=7&hc=8&blbs=9

But I could rewrite that to a normal looking url:

website.com/1/2/3/4/5/6/7/8/9.php

To do that in the old site I used the following rewrite rules in the .htaccess file:

RewriteEngine on  RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3&hcbs=$  4&sc1bs=$  5&sc2bs=$  6&sc3bs=$  7&hc=$  8&blbs=$  9 [L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3&hcbs=$  4&sc1bs=$  5&sc2bs=$  6&hc=$  7&sc3bs=$  8 [L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3&hcbs=$  4&sc1bs=$  5&hc=$  6&sc2bs=$  7 [L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3&hcbs=$  4&hc=$  5&sc1bs=$  6 [L] RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3&hc=$  4&hcbs=$  5 [L] RewriteRule ^(.*)/(.*)/(.*).php ?tl=$  1&pg=$  2&bs=$  3 [L] 

But now I am trying to do so in WordPress. WordPress already has some preinstalled rewrite rules:

<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteRule ^index\.php$   - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> 

But when I try to combine the both in any way the complete wordpress site stops working. Does anyone have an idea how to solve this?

Looking forward for your replies

Greetings

Hanno

Can a creature take turns as normal if they are inside an Antimagic Field while another creature casts Time Stop?

Time stop is a spell that stops time for other creatures, allowing one creature to take multiple turns in a row. It says:

You briefly stop the flow of time for everyone but yourself. No time passes for other creatures, while you take 1d4 + 1 turns in a row, during which you can use actions and move as normal.

Certainly, this is a magical effect. The spell causes the flow of time to stop for other creatures, and while you are taking multiple turns, no time flows for them. I imagine antimagic field can defeat it. The relevant text says:

Spells. Any active spell or other magical effect on a creature or an object in the sphere is suppressed while the creature or object is in it.

So, imagine combat between Annie, Tim, and Charlie. Ordinarily, initiative might look something like this:

Annie → Charlie → Tim

Suppose Annie casts time stop and rolled a 1 on their d4. Thus, they take 2 turns in a row. Initiative would look like this:

Annie → Annie → Charlie → Tim

Now imagine that Tim cast antimagic field, and following their turn, Annie casts time stop. Suppose they rolled a 1 on their d4 so that they can take 2 turns in a row. What would the initiative order look like?

Here are some possible resolutions I can think of, but none satisfy me totally:

  1. Time stop defeats antimagic field. The initiative order is: Annie → Annie → Charlie → Tim. The reason this is unsatisfactory is that time stop shouldn’t seem to prevail because it’s a spell, and antimagic field defeats spells.

  2. Time stop cannot be cast while there is an active antimagic field, because there exists some creatures you can’t stop time for. The reason this is unsatisfactory is there is no rule that prevents these two spells from being active at the same time. Also, since things like beholders exist, it’s not unreasonable to say there is almost always an active area of antimagic somewhere in the world, and that means time stop can almost never be used.

  3. The caster of time stop and antimagic field take their turns as normal while everyone else is frozen in time. Thematically and narratively, this seems the most logical. So we go through the turn order, treating every turn Alice would have taken as one full round. For this scenario, since Alice takes two turns in a row, then we can imagine two rounds going by. Ordinarily, everyone but Alice takes a turn, but now we unfreeze anyone inside an area of antimagic. So initiative would be: Annie (time stop starts) → Charlie (frozen in time) → Tim (unfrozen) → Annie (time stop ends) → Charlie → Tim. The reason this is unsatisfactory is because we’re advancing the “round count” now, which feasibly triggers things like lair actions that activate on a certain initiative count. It does have the side effect of allowing Tim to act normally though, affecting other creatures if he wants, because he isn’t bound by time stop and Annie isn’t the one doing the violations of the rules of the spell.

  4. There is no answer to this question, and this is solidly in the zone of DM adjudication. This is unsatisfactory because, well, all questions answered that way tend to be unsatisfactory.

So which is it? Or is it an option I haven’t listed here? Can Tim take turns as normal while inside an antimagic field if Annie casts time stop?

Can the undead heal other players with normal healing spells?

So I’ve been trying to create a character (a Skeleton Bard using this homebrew race option) and I know that there are some spells that cannot heal the undead. But what about the other way around?

As a skeleton, would I be able to use Cure Wounds or Healing Words on my other (living) teammates?

I like the idea of not being able to be healed by certain spells because it would be interesting to play around with. But I feel like it would be rather difficult as a healer if I can’t use one of the more vital spells in my kit.

Does Wall of Fire get to deal its damage twice (minimum), when normal creatures are trapped within the circle? [duplicate]

Let’s say a character casts Wall of Fire in the ring shape, choosing the inside of the wall as the side that does damage. A creature is inside the ring.

When the spell is first cast, the creature must make a Dex save or take 5d8 damage. Then, on the creature’s turn, it wants to move out of the ring, and it will need make another Dex save as it moves through the wall. Effectively, a single casting will require a creature inside the ring to make a minimum of 2 saves in a normal movement situation. Correct?

Note: I realize by the time characters are level 7+, there are many ways to avoid the second Dex save, including flying over the wall, burrowing under the wall, teleporting out, casting a barrier spell within the ring, being immune to fire, etc. I’m just asking about normal movement situations without other tricks, to ensure I’ve understood the spell. Thanks!

Does one of the normal forms require separation of repeating clusters of values into another table?

Should the repeating values in the “Sales” table below be separated out into a second table as part of the process of database normalization? Note that none of the values are functionally dependent on each other; those values that are functionally dependent are already normalized out to other tables. I’m just not sure if there’s any benefit to separating the “clusters” of values in different domains out into a separate table since the table contains tens of millions of rows, but only a few thousand distinct combinations of these values:

LOCATION     PRODUCT         RECIPIENT     DATE       AMOUNT   New York     Cheesecake      Bill          1/1/2000   $  25.00 New York     Cheesecake      Bill          2/1/2000   $  42.00 New York     Cheesecake      Bill          3/1/2000   $  17.00 Dallas       Cheesecake      Bill          4/1/2000   $  15.00 Dallas       Cheesecake      Bill          5/1/2000   $  17.00 Dallas       Cherry Pie      Bill          6/1/2000   $  14.00 Dallas       Cherry Pie      Bill          7/1/2000   $  13.00 Dallas       Cherry Pie      Sam           8/1/2000   $  16.00 

The table would be separated into a “Sale Types” table:

SALETYPE     LOCATION    PRODUCT       RECIPIENT 1            New York    Cheesecake    Bill 2            Dallas      Cheesecake    Bill 3            Dallas      Cherry Pie    Bill 4            Dallas      Cherry Pie    Sam 

So that the original “Sales” table would look like this:

SALETYPE     DATE        AMOUNT 1            1/1/2000    $  25.00 1            2/1/2000    $  42.00 1            3/1/2000    $  17.00 2            4/1/2000    $  15.00 2            5/1/2000    $  17.00 3            6/1/2000    $  14.00 3            7/1/2000    $  13.00 4            8/1/2000    $  16.00 

Since each unique combination of values appears approximately 1,000 times each on average, I believe that would save storage and potentially memory pressure, but my understanding of the underlying RDBMS memory optimizations is admittedly pretty limited. Would that be considered database normalization though?

[ Friends ] Open Question : Is it normal for a 13 year old boy to have mostly girl friends and a girl best friend?

I’m a 13 year old boy asking this because most of the boys (even those who are much older than me) have been giving me a really hard time about me having more female friends than male friends. My best friend is also a girl. The teasing never really bothered me, but it’s now starting to upset me a lot. I have a few guy friends but I really love the company of my girl friends. I’m definitely not gay because I’ll straight up admit to having a crush on my best friend. Softie, sook, crybaby and sissy are just some of the names thrown at me. Am I doing something wrong, or are these boys just jealous?