Which spell save DC do you use when casting with warlock slots?

So I have found a few questions that are closely related, but I can’t find exactly the answer I am looking for. Say you are multiclassed warlock and wizard. You can cast either class’s spells through any of the spell slots. But which stat is used for the spell DCs? If you cast a warlock spell with a wizard spell slot, should the DC be calculated with Int or Cha? (or vice versa, if you cast a wizard spell with a warlock spell slot)

Essentially, is the ability used to calculate DC based on the class that the spell is originally from, or the slot it is being cast with?

save xevent target file in specific folder dynamically in sql server

i need to create an xevent in sql server to capture all the executed queries while my server is running and to save them in a file under a folder with the database name.

so my problem is i need to save the file in a dynamic path ( with variables..etc) :

here is the code : DECLARE @file varchar(50); declare @path nvarchar(250); SET @file = ‘D:\XE\’+DB_NAME() set @path = ‘D:\XE\’+DB_NAME()+’day’; EXECUTE master.dbo.xp_create_subdir @file CREATE EVENT SESSION newSession1 ON SERVER ADD EVENT sqlserver.sql_statement_completed ( ACTION (sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.client_app_name, sqlserver.client_hostname, sqlserver.username ) WHERE ( sqlserver.database_name = ‘School’ ) ), ADD EVENT sqlserver.sql_statement_starting ( ACTION (sqlserver.sql_text, sqlserver.tsql_stack, sqlserver.client_app_name, sqlserver.client_hostname, sqlserver.username ) WHERE ( sqlserver.database_name = ‘School’)

this code shows an error in set Filename = @path.

any help please ?

PS: i need to do with the code because iam going to include it in c# project method. thanks in advance

Can a fighter use Indomitable multiple times on the same save?

Our fighter, Fred, is a high level fighter with multiple uses of the Indomitable feature:

Beginning at 9th level, you can reroll a saving throw that you fail. If you do so, you must use the new roll, and you can’t use this feature again until you finish a long rest.

You can use this feature twice between long rests starting at 13th level and three times between long rests starting at 17th level.

Let’s suppose Fred is targeted by the Hold Person spell. Fred rolls a 5 and fails the save. Fred uses one use of his Indomitable feature, to reroll the save, but still fails. Can Fred expend a second use of his Indomitable feature to reroll the save again?

Also, does this answer hold for the Champion and Warlord NPCs?

Indomitable (2/Day). The champion rerolls a failed saving throw.

Indomitable (3/Day). The warlord can reroll a saving throw it fails. It must use the new roll.

Can the knowledge of whether a creature failed their save penetrate the effect of an antimagic field?

Suppose a Paladin casts a Zone of Truth on a space 60ft away.

Then, suppose a Wizard casts Antimagic Field and stands next to the Paladin, including them both in its area, but the Zone of Truth remains because it is outside the area.

Finally, suppose a Rogue then enters the Zone of Truth.

Zone of Truth states that the Paladin knows whether or not the Rogue failed their save, but the Paladin is in an Antimagic Field and thus cannot be affected by spells.

Is this transfer of knowledge blocked by the Antimagic Field?

Does the Paladin know whether or not the Rogue failed their save?

After a creature makes a Dex save from Wall of Fire, does it end up inside or outside the ring?

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

An enemy is in one of the squares on the edge of the ring (ie. one of the 8 squares on the outside of the template for a 20′ diameter circle, and not the 4 inner squares). Therefore, the enemy must make a Dex save and might take 5d8 damage.

If it makes the save, is it inside the ring?

If it fails the save, is it inside the ring?

Here is a good reference for the way the damage works: Ringed Wall of Fire: How does the damage sequence go?

How Online Cell Phone Number Listings Can Save You Precious Time and Money

If you have a cell phone number and you want to find out who the owner of it is, there are a number of things that you can do to identify the person in question. Firstly, you could go to a private investigator to do some leg work on your behalf. Secondly, you could turn to the White Pages and search the owner with your finger. Thirdly, you could go to one of the many online databases.
The problem with the first and second options is that they either cost time or money. Private investigators will have their expenses and their basic fee, and it’s not realistic to spend at least a few hundred dollars to get the name behind a phone number list.
The fact is that the White Pages don’t list cell phone numbers, only residential and business numbers. In fact, cell phone numbers are considered personal information and details surrounding them are protected from public display by law.
That leaves the online databases. These databases are leased from the cell phone service providers, like Sprint and Verizon, and are available to the public for a small fee usually (though there are some free databases also). These reverse cell phone lookup services are completely confidential and are fast in delivering the information you require. Just enter the number and soon you’ll know who that mystery caller is.
But there are some things to keep in mind before choosing one of the many sites that are online. Only the best will have 200 million or more numbers on their databases (that’s 90% of the total phones in the US). Also, be sure that the details are up-to-date; the site should publicize how frequently they update their database.

.jpg   USA-Business-Phone-List.jpg (Size: 65.53 KB / Downloads: 0)

Is there a way to have Shadow Hand save DCs based on Charisma?

I am playing a Spellthief/Rogue and just picked up the Martial Study feat to gain access to Shadow Hand maneuvers. Shadow Hand is a Swordsage-exclusive school and its maneuvers key off Wisdom for their save DCs, but as a Spellthief, I boosted my Charisma and my Wisdom is pretty low.

Is there any way to change my Shadow Hand maneuver’s save DCs to key off Charisma instead of Wisdom?

How to save new comment as custom comment type?

My previous plugin was saving the comments as type=”wp_review_comment”. I handled the previous fields as below. But I’m having difficulty saving the comments as a custom comment type.

// Add default fields  add_filter('comment_form_default_fields','custom_fields'); function custom_fields($  fields) {          $  commenter = wp_get_current_commenter();         $  req = get_option( 'require_name_email' );         $  aria_req = ( $  req ? " aria-required='true'" : '' );          $  fields[ 'author' ] = '<p class="comment-form-author">'.             '<label for="author">' . __( 'Name' ) . '</label>'.             ( $  req ? '<span class="required">*</span>' : '' ).             '<input id="author" name="author" type="text" value="'. esc_attr( $  commenter['comment_author'] ) .              '" size="30" tabindex="1"' . $  aria_req . ' /></p>';          $  fields[ 'email' ] = '<p class="comment-form-email">'.             '<label for="email">' . __( 'Email' ) . '</label>'.             ( $  req ? '<span class="required">*</span>' : '' ).             '<input id="email" name="email" type="text" value="'. esc_attr( $  commenter['comment_author_email'] ) .              '" size="30"  tabindex="2"' . $  aria_req . ' /></p>';          $  fields[ 'url' ] = '<p class="comment-form-url">'.             '<label for="url">' . __( 'Website' ) . '</label>'.             '<input id="url" name="url" type="text" value="'. esc_attr( $  commenter['comment_author_url'] ) .              '" size="30"  tabindex="3" /></p>';      return $  fields; }  // Add fields.  add_action( 'comment_form_logged_in_after', 'additional_fields' ); add_action( 'comment_form_after_fields', 'additional_fields' );  function additional_fields () {     echo '<p class="comment-form-title">'.     '<label for="wp_review_comment_title">' . __( 'Titley' ) . '</label>'.     '<input id="wp_review_comment_title" name="wp_review_comment_title" type="text" size="30"  tabindex="5" /></p>';      echo '<p class="comment-form-rating">'.     '<label for="wp_review_comment_rating">'. __('Ratingy: ') . '<span class="required">*</span></label>     <span class="commentratingbox">';      for( $  i=1; $  i <= 5; $  i++ )     echo '<span class="commentrating"><input type="radio" name="wp_review_comment_rating" id="rating" value="'. $  i .'"/>'. $  i .'</span>';      echo'</span></p>';  }  // Save the comment meta data along with comment.  add_action( 'comment_post', 'save_comment_meta_data' ); function save_comment_meta_data( $  comment_id ) {      if ( ( isset( $  _POST['wp_review_comment_title'] ) ) && ( $  _POST['wp_review_comment_title'] != '') )     $  title = wp_filter_nohtml_kses($  _POST['wp_review_comment_title']);     add_comment_meta( $  comment_id, 'wp_review_comment_title', $  title );      if ( ( isset( $  _POST['wp_review_comment_rating'] ) ) && ( $  _POST['wp_review_comment_rating'] != '') )     $  rating = wp_filter_nohtml_kses($  _POST['wp_review_comment_rating']);     add_comment_meta( $  comment_id, 'wp_review_comment_rating', $  rating ); }   // Check if the comment meta data has been filled or not  add_filter( 'preprocess_comment', 'verify_comment_meta_data' ); function verify_comment_meta_data( $  commentdata ) {     if ( ! isset( $  _POST['wp_review_comment_rating'] ) )     wp_die( __( 'A rating is requird. Hit the BACK button and resubmit your review with a rating.' ) );     return $  commentdata; } 

Now, my comments are saved as comments. How do I save the comment as a custom comment type “wp_review_comment”?

Can target of Dissonant Whispers move if it succeed on the save?

The description of dissonant whispers say:

On a successful save, the target takes half as much damage and doesn’t have to move away.

Does this mean that the target can still choose to use this opportunity to use its reaction to move away?

This is especially important if the target has feature that prevents opportunity attack and prefer to attack at range.

Plugin settings won’t save changes

I’m creating a plugin which have few settings, I’ve created a settings page for it. Here’s the code:

function sswc_register_settings() {   echo "---------------------------------------------register_settings function called!";      add_option('sswc_color_option', '#A18DC6');     add_option('sswc_top_option', '400');     add_option('sswc_left_option', '100');      register_setting('sswc_options_group', 'sswc_color_option');     register_setting('sswc_options_group', 'sswc_top_option');     register_setting('sswc_options_group', 'sswc_left_option'); }  add_action('admin_init', 'sswc_register_settings');  function sswc_register_settings_page() {     add_options_page('Social Sharing with Claps', 'SSWC Settings', 'manage_options', 'sswc', 'sswc_options_page'); }  //Content for settings page will go here function sswc_options_page() {     ?>         <div class='settings-page-container'>             <h1>Social Sharing with Claps</h1>             <h2>Settings</h2>              <form method='post' action='options-general.php?page=sswc'>                 <?php settings_fields('sswc_options_page');?>                 <table>                     <tr valign='top'>                         <th scope='row'><label class="form-label" for='sswc_color_option'>Color Value</label></th>                         <td><input type='text' id='sswc_color_option' name='sswc_color_option' value=<?php echo get_option('sswc_color_option');?>></td>                     </tr>                     <tr valign='top'>                         <th scope='row'><label class="form-label" for='sswc_top_option'>Top Offset</label></th>                         <td><input type='text' id='sswc_top_option' name='sswc_top_option' value=<?php echo get_option('sswc_top_option');?>></td>                     </tr>                     <tr valign='top'>                         <th scope='row'><label class="form-label" for='sswc_left_option'>Left Offset</label></th>                         <td><input type='text' id='sswc_left_option' name='sswc_left_option' value=<?php echo get_option('sswc_left_option');?>></td>                     </tr>                 </table>                 <?php do_settings_sections( 'sswc_options_page' ); submit_button(); ?>             </form>          </div>     <?php }  add_action('admin_menu', 'sswc_register_settings_page'); ?> 

The problem is that it won’t save any changes I make in settings page. I’m suspicious its because the sswc_register_settings() get called everytime an resets the values? Please help.