Would the Haste Spell allow you to cast a second, singular weapon attack effecting cantrip (such as Greenflame Blade)?

So the Haste spell in 5e says that the targeted creature

gains an additional action on each of its turns. That action can be used only to take the Attack (one weapon attack only), Dash, Disengage, Hide, or Use an Object action.

This means I technically have a second action, so would that allow me to use the Greenflame Blade cantrip a second time in the same turn (once with the actual action, once with this action) as the cantrip applies to one weapon attack in a similar fashion as a Paladin with Haste could apply Divine Smite onto the Haste-given attack?

Does the second attack from the Dual Wielder feat require an additional action, or a bonus action, to carry out?

I am looking at taking the Dual Wielder feat (PHB, p. 165), but I am not entirely sure as to how it works specifically. It includes the following benefit, among others:

You can use two-weapon fighting even when the one-handed melee weapons you are wielding aren’t light.

Does this second weapon attack require an additional action, or a bonus action, to carry out?

Can you benefit from the Dueling fighting style for one weapon, then draw a second weapon as part of Extra Attack to qualify for Two-Weapon Fighting?

Say a Champion fighter has the "Two-Weapon Fighting" fighting style and the "Dual Wielder" feat. At 10th level, they pick up "Dueling" (+2 to damage rolls when wielding a single one-handed melee weapon) for their 2nd fighting style. Since they’re 10th-level, their Extra Attack feature lets them make 2 attacks as part of the Attack action.

Can they have one weapon drawn for their first attack, to benefit from Dueling – and only then draw another weapon for their second attack in the Attack action, in order to meet the requirement for Two-Weapon Fighting (and thus deliver another attack with their bonus action)?

If one target of a Twinned Spell has 0 HP, does the Grave cleric’s Circle of Mortality feature maximize healing on a second target who’s not at 0 HP?

One PC is a multiclassed Grave Domain cleric/sorcerer. They cast a healing spell on a PC that has 0 health, and use the Twinned Spell Metamagic option to target another PC with the same spell.

Would the second PC also have its healing from the spell maximized by the Grave cleric’s Circle of Mortality feature (XGtE, p. 20), even if the second PC is not also at 0 HP?

Boyer-Moore majority vote algorithm second iteration

There’s a problem in one of my textbooks that goes as follows.

You are given the results of a presidential election. Each ballot is presented one by one, and on each ballot the name of a candindate is written(Let’s assume candidates name’s are represented by numbers). Before announcement of the result, the total number of candidates and the number of people who voted, are unknown.All valid ballots are presented on by one as input, and this process repeats 2 times total. We only have 2 simple varibles we can use for the whole process. You have to design an algorithm which can decide if there is a candidate that has gathered the majority of the votes(meaning more than 50%) of the people who voted, or not. If such a candidate exists, print the candidates name otherwise print "blah blah blah"

Now what first got into my mind, is to use the Boyer-Moore majority algorithm and keep updating the majority and the counter variables as soon as the next result comes in. In case i haven’t made that clear, the results aren’t stored in an array or anywhere else. You get informed of one ballot, then you calculate(and this goes on until all the ballots have been used, meaning i don’t have access to any previous information). Whether this information is stored in array or not, i know i can still run the first iteration of this algorithm to get a "possible" majority result, since the algorithm always produces one. My problem lies in the second iteration.I see the results one more time one by one. How am i supposed to verify if my original result is indeed the majority or not? Is there any other way i can get around it with only 2 variables?

Can a Totem Warrior Barbarian choose a second Totem Spirit in place of an Aspect of the Beast?

Is it possible for a Totem Warrior Barbarian to select another totem from level 3 instead of the Aspect of the Beast at level 6?

At 6th level, you gain a magical benefit based on the totem animal of your choice. You can choose the same animal you selected at 3rd level or a different one. (Player’s Handbook)

This means that it’s possible for a Barbarian who selected the bear on level 3 (resistance) to e.g. select the eagle on level 6 (eyesight).

However, is it possible to select the eagle level 3 upgrade (Dash bonus action) on the Barbarian level 6 upgrade, when the bear was selected on the level 3 upgrade? As the Totem Spirit of level 3 is "lower" in some terms, I wouldn’t mind to allow it. This would create a level 6 Barbarian with resistance and Dash as a bonus action, a pretty fast tank character (for example).

And is this also valid for level 14 Totemic Attunement, thus allowing to select another (not yet selected) totem from the previous levels?

Do 10 second turns/60 second rounds make spellcasters horrible?

My DM insists on the combat being 10 seconds per turn and the round time to be the sum of all turn times (so a minute for 6 participants, for example). I am aware that this is not how turn/round time normally works.

This makes many spells with 1 minute durations like Hold Monster last at most a round.

I am playing a Fiend Warlock and I am worried it’ll seriously underpower my character compared to non-spellcasters. Many spells available to me are supposed to last up to encounter-long (Hold Monster, Hunger of Hadar, Vampiric Touch, Hold Monster, Eyebite to name a few). Am I rightly worried, or overreacting? Are other spells sufficient for me to carry my weight?

AnyDice — efficiency of code calculating rolls hitting a target with mixed pools; hitting the 5 second barrier

I have some code that is hitting the 5 second barrier;

function: target N:n of A:s B:s C:s {     result: [count {1..N, 1..(N/2)} in [sort {A, B, C}]] } output [target 7 of 4d12 0d20 0d8] output [target 7 of 4d12 2d20 0d8] output [target 7 of 4d12 4d20 0d8] 

Even if I remove the final output line, it still fails.

I believe the code does what I want it to – calculate the number of dice rolling at or under the target from mixed pools (it runs when using other pools: d20s seem to be a problem).

Is there anyway I can improve it so that at least the first two of these output lines will run (or better yet, all three of them)?

N.b. from my perspective these were some of the simplest pools I wanted to look at.

What are the sales figures for Pathfinder 2e between launch year and second year to date?

Pathfinder 2nd edition officially hit gaming tables almost a full year ago. Since then, I’ve noticed quite a lack of questions on this site with the pathfinder-2e tag compared to other systems, and I doubt it’s because of a corresponding lack of rules ambiguity.

I know that 5th edition is Dungeons & Dragons’ most successful edition yet; has Paizo released any information about the financial reception of 2nd edition?

How is the company doing compared to last year at this time?