Does the Necromancy Wizard’s lvl 10 feature, Inured to Undeath, prevent losing maximum hit points as a result of losing attunement to a magic item?

Inured To Undeath (bolding mine):

Beginning at 10th level, you have resistance to necrotic damage, and your hit point maximum can’t be reduced. You have spent so much time dealing with undead and the forces that animate them that you have become inured to some of their worst effects.

How does this feature interact with items that temporarily or conditionally improve your maximum HP, either through increasing the character’s CON score or by directly influencing maximum HP?

A similar question was posed with regards to the Aid spell, which had some interesting discussion.

Does the Aid spell permanently increase HP for Necromancy wizards with the Inured to Undeath feature?

But I’m specifically curious on how the feature interacts with Amulet of Health, Belt of Dwarvenkind, and other features that modify the CON score of the user.

Amulet of Health:

Your Constitution score is 19 while you wear this amulet. It has no effect on you if your Constitution score is already 19 or higher without it.

If a lvl 10 Necromancer with a CON modifier of 2 attuned to the Amulet of Health, then later in their adventuring career unattuned to the item, would their maximum HP stay at the level of the Amulet or return to its unaltered state?

Elan Aegis total power points

An Elan gains:

Naturally Psionic: Elans gain the Wild Talent feat as a bonus feat at 1st level. If an elan takes levels in a psionic class, she instead gains the Psionic Talent feat.

Then she takes level in Aegis so Wild Talent became (or change with) Psionic Talent. (In this personal case the DM asked she to spend 1 feat to take Psionic Talent, not automatic.)

Then she would like to take the 1st-level power: Empty Mind and so she uses 1 feat to take Wild Talent feat (again) and 1 more feat to take Unlocked Talent feat (Prerequisite: Wild Talent).

Now she can choose one 1st-level power: Empty Mind

The question is: this is a correct path? And if is correct, how many power points she can add to the normal amount (Aegis level progression + Int modifier + psionic aptitude choice) coming from psionic features? Wild Talent: +2, Psionic Talent +2, Unlocked Talent +2 = 6 or 8 (Wild Talent 2 times)?

How to change color of the points and remove the joined line in the given code?

I use this code

{data1, data2} = Transpose[Table[{2 n, 3 n + 100}, {n, 20}]]; a = ListPlot[{data1, data2}, Joined -> True,    PlotStyle -> {Directive[Red, Thickness[Scaled[10^-2]]],      Directive[Blue, Thickness[Scaled[10^-2]]]}, Mesh -> All,    MeshStyle -> Directive[PointSize[Large], Red],   ClippingStyle -> False] 

and I get this picture

enter image description here

Now, I have two questions:

  1. How can I ask Mathematica to change the color (red to blue) and shape (circle to diamond) of the plotmarker in the upper curve?
  2. How can I remove the joined line for the upper curve?

NMinimize differential evolution: how do search points and initial points really work?

I am puzzled by the settings of a specific method for NMinimize called DifferentialEvolution, given for example here. The settings include both "SearchPoints", or the size of the population of evolving points, and "InitialPoints", or the initial population(?). What I don’t quite understand is that "SearchPoints" can be set to a value different from the number of specified "InitialPoints" and NMinimize will often happily proceed, and sometimes it won’t.

What might be happening under the hood? If there are less "InitialPoints" than there are "SearchPoints", will the population be filled up with random points to meet the specified number of "SearchPoints" before evolution begins or does it proceed with a population that is in fact smaller than "SearchPoints"? What about the opposite case?

Here is an example where we give much less "InitialPoints" than there are "SearchPoints".

Clear[f, c, v, x1, x2, y1, y2, y3]; f = 2 x1 + 3 x2 + 3 y1/2 + 2 y2 - y3/2; c = {x1^2 + y1 == 5/4, x2^(3/2) + 3 y2/2 == 3, x1 + y1 <= 8/5,     4 x2/3 + y2 <= 3, y3 <= y1 + y2, 0 <= x1 <= 10, 0 <= x2 <= 10,     0 <= y1 <= 1, 0 <= y2 <= 1,     0 <= y3 <= 1, {y1, y2, y3} \[Element] Integers}; v = {x1, x2, y1, y2, y3};  NMinimize[{f, c}, v, Method -> "DifferentialEvolution"] (*{7.66718, {x1 -> 1.11803, x2 -> 1.31037, y1 -> 0, y2 -> 1, y3 -> 1}}*)  points = 5; searchpoints = 50; listpoints = {RandomReal[{0, 10}, points],  RandomReal[{0, 10}, points], RandomReal[{0, 1}, points],  RandomReal[{0, 1}, points],  RandomReal[{0, 1}, points]}\[Transpose];  NMinimize[{f, c}, v,   Method -> {"DifferentialEvolution", "SearchPoints" -> searchpoints,  "InitialPoints" -> listpoints}] (*{7.66718, {x1 -> 1.11803, x2 -> 1.31037, y1 -> 0, y2 -> 1, y3 -> 1}}*) 

If there are more "InitialPoints" than there are "SearchPoints", NMinimize sometimes works and sometimes doesn’t, depending on the value of the random seed for instance.

How does metamagic adept interact with flexible casting and the sorcery points cap?


You gain 2 sorcery points to spend on Metamagic (these points are added to any sorcery points you have from another source but can be used only on Metamagic). You regain all spent sorcery points when you finish a long rest.

Assume a level 3 variant human sorcerer has 3 sorcery points from their class and 2 from metamagic adept.

They spend 2 sorcery points from their class to make a 1rst level slot with flexible casting. Now they have 1 from their class and 2 from metamagic adept.

Are they able to convert a spell slot to sorcery points? Or can they not go over 3 sorcery points because they are level 3? In effect forcing them to spend the points from the feat before they can make more.

How does metamagic adept interact with flexible casting and the sorcery points cap?

Artificer Eldritch Cannon Protector temp hit points and Wildshape

I’m trying to understand how wild shape interacts with the temp hit points provided by eldritch cannon’s protector feature.

Here is the scenario:

  1. Artificer puts out eldritch cannon and gives temp hit points to the party
  2. Druid wild shapes
  3. Druid takes damage
  4. Artifcer re-applies temp hit points in the next round

My question is more or less order of operations with hit points. Does the druid wild shape carry those hit points and we remove that damage first? In this scenario every time the artificer applies temp hit points it buffs the wild shape form and allows for the druid to stay in wild shape much longer.

Or do we exhaust the wild shape hit points first and apply the temp hit points to the druid’s form that will be waiting for them after the druid breaks wild shape.

Essentially I need to know if temp hit points provided by the artificer allows for the druid to stay in wild shape longer.

Cyberpunk RED – Increase STATS with improvement points

Just checking the new Cyberpunk RED rules, and looking the improvement points section (page 411) it says the way to improve your character skills (normal and x2) and your Role Ability Rank, but, since you are limited to a maximum of 8 in your stats (INT,REF,DEX…) I suppossed that there will be a cost for raising your base STATS, but can’t find any mention.

I don’t know if I missed something, its only intented to achieve such levels with cyberimplants (I doubt it) or another reason.

Maybe a STAT has the same cost as Role Ability Rank and is mentioned somewhere?

How can I make a best fit curve from a dataset from specific data columns in order to display it with their respective points?

I’ve got the next dataset:

 ArstreYSust = Dataset[{ <|"Velocidad [m/s]" -> 8,   "Fuerza de arrastre \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.06,   "Fuerza de sustentación \[Theta]=2\[Degree] SIN FLAP [N]" ->    0.19, "Fuerza de arrastre \[Theta]=14\[Degree] SIN FLAP [N]" ->    0.14, "Fuerza de sustentación \[Theta]=14\[Degree] SIN FLAP \   [N]" -> 0.38,   "Fuerza de arrastre \[Theta]=20\[Degree] SIN FLAP [N]" -> 0.21,   "Fuerza de sustentación \[Theta]=20\[Degree] SIN FLAP [N]" ->    0.4, "Fuerza de arrastre \[Theta]=8\[Degree] CON FLAP [N]" ->    0.24, "Fuerza de sustentación \[Theta]=8\[Degree] CON FLAP [N]" \   -> 0.75|>,   <|"Velocidad [m/s]" -> 10,    "Fuerza de arrastre \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.08,    "Fuerza de sustentación \[Theta]=2\[Degree] SIN FLAP [N]" ->    0.31, "Fuerza de arrastre \[Theta]=14\[Degree] SIN FLAP [N]" ->    0.2, "Fuerza de sustentación \[Theta]=14\[Degree] SIN FLAP [N]" \   -> 0.5, "Fuerza de arrastre \[Theta]=20\[Degree] SIN FLAP [N]" -> 0.3,   "Fuerza de sustentación \[Theta]=20\[Degree] SIN FLAP [N]" ->    0.68, "Fuerza de arrastre \[Theta]=8\[Degree] CON FLAP [N]" ->    0.35, "Fuerza de sustentación \[Theta]=8\[Degree] CON FLAP [N]" \   -> 1.36|>, <|"Velocidad [m/s]" -> 12,   "Fuerza de arrastre \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.11,   "Fuerza de sustentación \[Theta]=2\[Degree] SIN FLAP [N]" ->    0.49, "Fuerza de arrastre \[Theta]=14\[Degree] SIN FLAP [N]" ->    0.28, "Fuerza de sustentación \[Theta]=14\[Degree] SIN FLAP \  [N]" -> 0.79,   "Fuerza de arrastre \[Theta]=20\[Degree] SIN FLAP [N]" -> 0.46,   "Fuerza de sustentación \[Theta]=20\[Degree] SIN FLAP [N]" ->    0.86, "Fuerza de arrastre \[Theta]=8\[Degree] CON FLAP [N]" ->    0.44, "Fuerza de sustentación \[Theta]=8\[Degree] CON FLAP [N]" \  -> 1.96|>, <|"Velocidad [m/s]" -> 14,   "Fuerza de arrastre \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.15,   "Fuerza de sustentación \[Theta]=2\[Degree] SIN FLAP [N]" ->    0.72,   "Fuerza de arrastre \[Theta]=14\[Degree] SIN FLAP [N]" -> 0.4,   "Fuerza de sustentación \[Theta]=14\[Degree] SIN FLAP [N]" ->    1.12, "Fuerza de arrastre \[Theta]=20\[Degree] SIN FLAP [N]" ->    0.69, "Fuerza de sustentación \[Theta]=20\[Degree] SIN FLAP \  [N]" -> 1.32,   "Fuerza de arrastre \[Theta]=8\[Degree] CON FLAP [N]" -> 0.6,   "Fuerza de sustentación \[Theta]=8\[Degree] CON FLAP [N]" ->    3.17|>, <|"Velocidad [m/s]" -> 16,   "Fuerza de arrastre \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.18,   "Fuerza de sustentación \[Theta]=2\[Degree] SIN FLAP [N]" -> 0.8,   "Fuerza de arrastre \[Theta]=14\[Degree] SIN FLAP [N]" -> 0.45,   "Fuerza de sustentación \[Theta]=14\[Degree] SIN FLAP [N]" ->    1.29, "Fuerza de arrastre \[Theta]=20\[Degree] SIN FLAP [N]" ->    0.78, "Fuerza de sustentación \[Theta]=20\[Degree] SIN FLAP \  [N]" -> 1.53,   "Fuerza de arrastre \[Theta]=8\[Degree] CON FLAP [N]" -> 0.71,   "Fuerza de sustentación \[Theta]=8\[Degree] CON FLAP [N]" ->    3.48|>}]; 

I’ve had already build my list plot.

BUt I don’t know how to build a fit curve directly from my dataset in order to include it in the show command. I need to do it this way for different columns.

Thanks for reading and for your help.

WP_List_Table $current_url points to my actual host rather than the reverse proxy host

I am a novice on the wordpress framework and I am currently using wordpress behind a reverse proxy. Like follows.

Reverse Proxy Domain = https://example.com
My actual Domain = https://example-herokuapp.com

Issue :

  • In wp-admin dashboard when i try to filter posts like orderby date or comments etc in the admin panel. I get a 404 page.
  • Thats because the links are pointing to my actual host ie https://example-herokuapp.com rather than my reverse proxy which is https://example.com

Reason :

  • This seems to be because of the $ current_url attribute wp_list_table which is called from wp-admin/edit.php

  • The current url is defined as follows

    $  current_url = set_url_scheme( 'http://' . $  _SERVER['HTTP_HOST'] . $  _SERVER['REQUEST_URI'] );
  • I came across a very old bug/issue from wordpress https://core.trac.wordpress.org/ticket/16858 , which seems to address this very same problem.

  • It essentially uses a self_admin_url to overcome this issue.

  • The above mentioned patch (https://core.trac.wordpress.org/attachment/ticket/16858/16858.patch) is not available on 5.5.3 (LTS).However the self_admin_url method is available under wp-admin/includes.

Question :

  • How do i change this $ current_url to use self_admin_url().? Should i override $ _Server[‘HTTP_HOST’] in wp-config ? or what is the best practise to change things like this .

  • Or is there a better way to ensure my admin links point to my proxy host rather than my actual host ?

Thanks in advance.