Daggerspell guardians – anyone ever seen or created stats for “The emerald knives of seven truths” (3.5)

In the ‘Complete Adventurer’ the Daggerspell Guardians are seeking a pair of daggers called the emerald knives of seven truths.

“Lore of the Guild: Many of the greatest treasures of the Daggerspell Guardians are daggers of great power. Two of the most treasured of these daggers, the emerald knives of seven truths, were lost years ago by a daggerspell shaper who fell in battle against a powerful vampire named Malkan Ry-Ul. Both the knives and the vampire have been missing for many years, but recently travelers from the east have reported that a great city there is haunted by a killer who leaves strange green cuts on the bodies of his victims – a signature side effect of the magic of the emerald knives”.

Has anyone seen or created (or have any advice) for their stats please?

For info: I’m playing a daggerspell shaper searching for them.

To qualify to become one a character must fulfill all the following criteria:

Alignment: Any nonevil.
Skills: Concentration 8 ranks.
Feats: Weapon Focus (dagger), Two-Weapon Fighting.
Special: Wild shape class feature.
Special: Either sneak attack +1d6 or skirmish +1d6.

This makes me wonder if the daggers either do some of these things (as they may have inspired the creation of said group in the first place)?!

Chrome Extension: document.querySelector(‘button’).click() is not working on button created on React

I want from extension to click the button but button click event is not working as if i use JS DOM Methods:

getElementsByClassName('button')[0].click(); // Not working //or document.querySelector('button').click(); // Not working   

The problem is that button is created either on “React.js“, so i think that causes not to happen the button click event.

Please suggest me any solution for this problem.

Thanks.

What happens to clones a deepspawn created if/when the deepspawn dies? (D&D mechanics and/or lore)

I am running a 5E homebrew campaign where a powerful creature akin to a deepspawn is consuming and creating spawn of powerful beings in various governments and organizations to puppet a growing portion of civilization.

My question is should my players succeed in finding and destroying this creature, what have past editions and/or D&D literature said about the fate of the spawn it had created?

Since this is homebrew I know I can pretty much do whatever I want, but I’m looking for insights into how to handle it so I have a plan in place.

I only have access to the Lost Empires of Faerun 4E book regarding them, and though it goes into detail about how the spawn are created and what the spawns’ capabilities are, it does not mention anything about the spawns’ existence after the deepspawn is slain.

Any examples from D&D literature or rulebooks would be greatly appreciated.

Thanks!

can I extend the WP_Query class to deal with ‘duplicate’ posts created by joining to wp_posts?

Based on the premise that one big database requests is better than many smaller ones, I’ve modified WP_Query for my custom post type ‘word’ and joined three tables to it. The resulting query looks more or less like this and works well.

SELECT wp_posts.*, verbs.*, nouns.*, definitions.* FROM wp_posts   LEFT JOIN verbs ON ( wp_posts.ID = verbs.word_id )   LEFT JOIN nouns ON ( wp_posts.ID = nouns.word_id )   LEFT JOIN definitions ON ( wp_posts.ID = definitions.word_id )   WHERE 1=1   AND wp_posts.post_type = 'word'  AND (wp_posts.post_status = 'publish' OR [...] )   ORDER BY wp_posts.post_title ASC  

I of course now have duplicate posts for each of the words’ respective definitions and I am rolling them back up into one post per word with an array of definitions instead.

But because these results are used in different ways all around the website, I’m having to write similar logic time and time again. Here, for example, I am using the data in an AJAX response.

    $  query = new WP_Query( $  args );      $  posts = $  query->get_posts();      if ( $  query->post_count ) > 0 )     {         $  prev_word = null;         foreach ( $  posts as $  key => &$  row )          {             if ( !property_exists( $  row, 'definitions' ) ) $  row->{'definitions'} = array();              $  definition = array(                 'definition_id' => $  row->definition_id,                 'definition' => $  row->definition,                 'note' => $  row->note,             );              if ( is_object( $  prev_word ) )             {                 if ( $  prev_word->post_id == $  row->post_id )                 {                     // update the previously inserted row                     $  prev_word->definitions[] = $  definition;                      // remove the current row                     unset( $  row );                      continue;                 }             }              $  row->definitions[] = $  definition;             $  prev_word = $  row;         }     }      echo json_encode( array_values( $  posts ) );     die();  

What I would like to do now is extend the WP_Query class to have this done automatically on construction.

class Words_Query extends WP_Query {     function __construct( $  args = array() )     {         $  args = array_merge( $  args, array(             'post_type' => 'word'         ) );          parent::__construct( $  args );          [insert magic here?]     }      public $  definitions = array(); } 

I don’t have any experience with OOP though so I am asking for some help/guidance. Is something like this possible?

Will I have to update a bunch of other properties to reflect the changes…? Like $ post_count

What other things might I need to be aware of?

Thanks

D&D 5E – Can Mimics be “created”?

Okay, obligatory “I’m a very new DM and may have missed information available to me/this might be a stupid question“.

Essentially, I want to know if it’s possible to create a mimic, say via a ritual or other magic. I’m thinking of creating an antagonist/villain that is experimenting with creating more and more powerful mimics to infest cities, attack travellers, sneak in to places to kill political figures or whatever.

From what I’ve gathered, mimics are intelligent enough that they can in theory be tamed (albeit with difficulty) provided you can feed them so I’m not too worried about that. However, I haven’t found an ‘official’ way that mimics reproduce or come into being. A lot of people have suggested something akin to mitosis provided a mimic eats enough to amass enough energy/power, but an ‘origin’ isn’t fully established (from what I’ve found).

Again, I’m very new to the game – would it be possible to kill someone and imbue their soul in to an object? Are there ways to give items life or sentience?

I don’t mind homebrewing and mine and players’ attitude so far has been fun/story over rules, but I like being able to back it up with some numbers and proper notes, so I’d really appreciate some thoughts and feedback. Thank you!

CSP: any way to prevent inline scripts dynamically created by a trusted external script?

Let’s say I have a simple web application which uses a single JavaScript (JS) file, loaded from its own domain, and has implemented the restrictive Content Security Policy (CSP) of default-src 'self'. There’s a stored XSS in it whereby the JS file will make an Ajax call to an API which would return some content stored in a database, and that content (which came from untrusted user input) has inline JavaScript in it. The JS file creates an element in the page’s document and sets its HTML content to the retrieved content. Let’s assume that this is the necessary way of doing what it needs to do, and let’s assume that sanitising/encoding the input is unfeasible. I know that user input should always be sanitised, just for the purposes of this question, skip this suggestion as a solution.

Is there any way to set a CSP such that this inline JavaScript, dynamically put onto the page by trusted JavaScript, is blocked?

Here’s a minimal working example (you may need to serve it from a simple HTTP server, e.g. php -S localhost:58000, rather than loading as an .html file)

csp-test.html:

<!DOCTYPE html> <html>   <head>     <meta charset="UTF-8" />     <meta http-equiv="Content-Security-Policy" content="default-src 'self'">     <script charset="utf-8">       console.log('script') // blocked, OK     </script>     <script src="csp-test.js" charset="utf-8"></script>   </head>   <body>     <img src="x" onerror="console.log('img')"/> <!-- blocked, OK -->   </body> </html> 

csp-test.js:

console.log('trusted ext script') // executed, OK i = document.createElement('img') i.src = 'y' i.addEventListener('error',   function(){ console.log('img by trusted ext script'); }) // executed, HOW TO BLOCK THIS? document.body.append(i) 

result:

enter image description here

How to deal with tension created between characters after role-play session?

I am the DM for a long running game, we are going on 2 years, and while there was a rough start and a few changed characters, we have been in a good place. There was a Tiefling Barbarian (original), Dragonborn Paladin, and Human Fighter/Warlock. About 2 months ago, we added a Dragonborn Wizard to the party, and it has been a welcome addition thusfar. Tonight we had a relatively long roleplay section, first a meeting with a prominent NPC who has been around for a while, and then the characters discussed stories and backstories around dinner in a tavern. During this roleplay session, the wizard, fully within his character, used suggestion to entice backstory from the Tiefling (who has given basically nothing up until this point). This has created tension within the party (in game only), and has the potential to completely derail the campaign. I want to respect player agency, and I trust the players to not blow this out of proportion, but I also don’t want to throw away an entire main quest due to this. I am conflicted, and thus am requesting some differing views on the matter. Thanks in advance. Please feel free to request any information, I am happy to help.

What would happen to a demiplane created by the Demiplane spell if you cast Earthquake inside it?

The demiplane spell creates a door (and a demiplane) that leads to an extradimensional room of a fixed size:

[…] When opened, the door leads to a demiplane that appears to be an empty room 30 feet in each dimension, made of wood or stone. […]

It seems to me that, at least by my understanding, that is the physical size limit of this pocket plane. It isn’t meant to be extended, or else the spell will have mentioned what happens when you dig through the wood or stone lining the demiplane.

However, the earthquake spell says:

You create a seismic disturbance at a point on the ground that you can see within range. […]

Fissures. Fissures open throughout the spell’s area at the start of your next turn after you cast the spell. A total of 1d6 such fissures open in locations chosen by the DM. Each is 1d10 x 10 feet deep, 10 feet wide, and extends from one edge of the spell’s area to the opposite side (emphasis mine). A creature standing on a spot where a fissure opens must succeed on a Dexterity saving throw or fall in. A creature that successfully saves moves with the fissure’s edge as it opens.

What would happen to a demiplane created by the demiplane spell if fissures opened on its floor due to the earthquake spell? Would the demiplane itself be destroyed? Or would it create a deeper floor in the demiplane? Is this a case where there isn’t enough RAW to say with certainty one way or the other, and that it rests solidly in DM fiat territory?

Select into query, insert fails, but the table is created

I am using SQL Server 2016

I tried to the following query.

SELECT CONVERT(BIGINT, ‘A’) col1 INTO #tmp This query is obviously in error. Because it does not convert. However, the temporary table (#tmp) is created even if the query fails.

Why? I think this is by design, but I want to know.

P.S. PDW (parallel datawarehouse) does not create temporary table.