## The Bard wants to convert a Goblin

Upfront: I DMed a lot from 1990 to 2005, but not D&D. So I’m decent quality and experienced, but rusty and a total novice with the 5e rules. I do believe that fun trumps rules, and that alignment describes actions rather than defines them. I also hold that Evil can be extremely selfish, not always vicious & cruel.

Lost Mine of Phandelver: Redbrand Hideout. The PCs find Bugbears playing kickball with Droop, the pathetic runt Goblin, who screeches, soils himself and passes out when the party busts in to kill.

The Bard is a pro (15-year) RPer and is written as naive & optimistic. He defends the unconscious Goblin as a victim. I made Droop exceedingly weak and pathetic (by Goblin standards) thinking that they’d send him into the wild to die. Nope, healed him up and bought him a human child’s church clothes, with the intent of converting his alignment.

I found some precedent (besides Drizzt), there’s some Orc hero that rejected his heritage, the DMG (p.287) refers to “However, some aasimar fall into evil, rejecting their heritage.” To top it off, I realized this morning that the Bard had put in his back story that his Circus was run by a civilized Goblin (can’t believe I missed that).

So I’m planning on pushing some epic role-playing to have the Bard work with his former Ringleader to bring Droop over to the light; well, the dimness – Neutral for starters.

Is there a RAW or RAI that prohibits this?

Anyone who also throws in some ideas on how to pull this off with minimum cheese will roll their next Natural 20 because of the Karma from their generosity. So, you know, there’s that.

## How to convert a character from AD&D 2E to D&D 5E? [closed]

Could anyone help me in finding an instruction on how to convert a character from AD&D 2E to D&D 5E?

I need to know details like: THAC0, attack and damage bonus, bonus on skills, saving throws, etc. (basically all the important details to be considered for converting). E.g. AD&D Longsword +4 to hit / +6 to damage with THAC0 10. How does it convert to 5E? (the +4/+6 values are related to the strength and dexterity of the character, it’s not a magic weapon) Or attribute value: strength 18/76-90. What is it in 5E?

What I’ve already found is a conversion table for armor class. Also I came across the PDF “Conversions to 5th Edition D&D” which unfortunately was not very helpful in my case.

## Can I convert my SMTShowMesh Object into a mathematica graphics object in AceFem?

My question is related to a string of questions Ive asked in the last few days. I’m trying to superimpose a vectorplot on a3D plot that I’ve produced on AceFem using the SMTShowMesh Command. I’m trying to get the vector field on the surface of the block to describe fibre directions at each node. I keep getting a “Could not combine the graphics objects in ” and . “Skeleton is not a Graphics3D primitive or directive.” the following graphics:

I’m just trying to superimpose the graphics so that the vector field plot is on top the block. Without putting my whole code up, this command and a few other things is what I have tried so far.

SCnodes = StratumCorneumNodes; info = SMTNodeData[SCnodes, "X"]; Show[SMTShowMesh["BoundaryConditions" -> True] (*this is the command I used to produce the main block*),   Epilog \[RightArrow]    Inset[VectorPlot3D[{Cos[41], Sin[41], 0}, {x, MeshXmin,        MeshXmax}, {y, MeshYmin, MeshYmax}, {z, MeshZmin, MeshZmax},       Boxed -> False, Axes -> None, VectorPoints -> info,       VectorStyle -> Black, VectorScale -> Small] /.      Arrow[x_] :> Arrow[{Mean[x], Mean[x] + Last[x] - First[x]}],     StratumCorneumMastermesh[     "Wireframe"[      "MeshElementStyle" ->        Directive[{EdgeForm[], FaceForm[LightGray]}]]]]] 

I agree that the object I have produced in AceFem is not recognized as a £D graphics object in Mathematica. Is there any way I can convert it to an object? Any help would be much appreciated. Thank you

## How can I convert this wolfram language into C language?

Here is my code for this in Mathematica.

f[x_] := x^2 + 4 x + 4; Solve[f[x] == 9, x]

I tried to convert it but failed.

Here is the code for conversion

CForm[f[x_] := x^2 + 4 x + 4]

and this

CForm[f[x_] := x^2 + 4 x + 4; Solve[f[x] == 9, x]]

The former one just outputs Null, the latter one just converts the final result in the below

List(List(Rule(x,-5)),    List(Rule(x,1))) 

## SQL: How to convert rows to column for every n’th row by ID

I’m trying to convert rows to columns.

I have the following columns: user_id, meta_key, meta_value

i have the following rows: 'first_name', 'last_name', 'stillingsbetegnelse'

Right now i can generate the rows and coloumns sorted and from a sepcific user_id. In my case it’s from 15. This is with the following querery

> SELECT user_id, meta_key, meta_value FROM clk_f76242643e_wp_usermeta > ORDER BY user_id DESC; where meta_key IN ('first_name', 'last_name', > 'stillingsbetegnelse') AND user_id > 15; 

And the result is:

user_id     meta_key                meta_value 16          first_name              Laxgdfds 16          last_name               Narentdsaa 16          stillingsbetegnelse     Andet 18          first_name              Riedsa 18          last_name               Joe 18          stillingsbetegnelse     Andet 

(all information is anonymized)

How do i get the following output

first_name    last_name         stillingsbetegnelse Laxgdfds      Narentdsaa        Andet Riedsa        Joe               Andet 

I have tried methods with Pivot, but i’m getting an error

    select         p.*     from clk_f76242643e_wp_usermeta     pivot(         max([meta_value])         for [meta_key] in ([first_name], [last_name], [stillingsbetegnelse]) ) as p 

## Gutenberg, convert RichText to InnerBlocks

I have custom Gutenberg block with MediaUpload, PlainText and RichText blocks. I need to enable option to add list to RichText block without losing or updating content in blocks. I think that I need to convert RichText to InnerBlocks or core freeform block. Here is a code from this article:

deprecated: [     {         attributes,         migrate(attributes, innerBlocks) {             return [                 omit( attributes, 'body' ),                 [                     createBlock( 'core/paragraph', {                         content: attributes.body,                     } ),                     ...innerBlocks,                 ]             ];         },         save() {              .....          }     } ] 

The code converts RichText to paragraph, but it’s not working when I try to convert to freeform. So I am not able to add lists for posts already created. I don’t know where is the mistake. Or someone knows better solutions?

## How can I convert characters from Basic D&D to D&D 5E?

I’ve been DM for some adventures using the Holmes Dungeons & Dragons Basic Set (1978 printing), and players created characters using those rules. How would I convert these characters to 5E?

As discussed in this answer, Holmes has very stripped-down rules, no weapon proficiency, no skills, four classes, and a lot of OD&D is still in place. My reason for asking is to take these characters to a local gaming session, since no one is going to use Basic Set rules. Holmes plays very fast compared to AD&D 2E or D&D 5E, so I will need to adjust player expectations.

The characters are 1st through 3rd level depending on how much XP they’ve earned. It’s important to note that the 3rd level cleric in Holmes has only 1st level spells so the character’s relative strengths are somewhat different from later editions. Converting XP is another issue since level advancement in Holmes is different from D&D 5E.

## Convert a polygon mesh into a b-spline surface

$$\textbf{Problem:}$$

Getting a $$\textit{polygon-mesh}$$ as input, I have to construct a surface that looks exactly to the given input. My task is to generate a $$\textit{b-spline}$$ surface that exactly looks like the connected polygon mesh. It is obvious that my $$\textit{b-spline}$$ surface has to have a degree of one in both directions $$\textit{u}$$ and $$\textit{v}$$.

$$\textbf{Output:}$$

As an output for my solution. I have to generate a matrix of $$\textit{control point}$$ that represent that generated surface.

One property of this matrix is that each elements of each row and column are connected with each others. If our control points matrix is a $$n \times m$$ matrix, then let $$C_i$$ a column of this matrix with $$C_i = $$ then there must exist path in the polygon from $$e_{1i}$$ to $$e_{mi}$$.

One thing to consider if there is no edge between $$e_{ji}$$ to $$e_{(j+1)i}$$, we can construct one as long as this edge lies inside the polygon.

$$\textbf{my trivial idea}$$

Assuming that the polygon has $$n$$ nodes. I create $$n$$ other nodes inside the polygon near each original node. I create then a $$2 \times n$$ matrix. The first row contains all the points constructing the polygon. Second row contains the corresponding additional inserted node. In order to connect two additional inserted nodes, i have to make sure that the line between two nodes is kept inside the polygon.

This idea works only for simple structure and the complexer is the polygon the hard to find these additional points.

Any good solutions maybe ?.

## Does quantum computing convert any O(2^n) algorithm into a polynomial running time and how?

For example, if it is a $$O(2^n)$$ algorithm that loops through 0 to $$2^n – 1$$ and check whether the number of 1 bits is divisible by 3, 5, 7, 9, 11, does quantum computing reduce it to non-exponential time and how?

## Is this homebrew feat allowing casters to convert hp to spell slots balanced?

Is this feat balanced?

Prerequisite: The ability to cast at least one spell.

You can sacrifice hit points to regain spell slots.

When you cast a spell slot created by this, roll 1d20. On a 13 or lower, the spell does nothing.

You may expend:

• 10 hp for a level 1 slot.
• 25 hp for a level 2 slot.
• 45 hp for a level 3 slot.
• 70 hp for a level 4 slot.
• 100 hp for a level 5 slot.

You can spend additional hp when regaining a slot to add a modifier to your roll to see if the spell is cast.

• You gain +1 to the roll for every 2 additional hit points you spend to cast a level 1 or 2 spell.
• You gain a +1 to the roll for every 4 additional hit points you spend to cast a level 3 or 4 spell.
• You gain a +1 to the roll for every 6 additional hit points you spend to cast a level 5 spell.