Skip to content

Commit

Permalink
Merge pull request #1221 from dmportella/description-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kakaroto authored Jan 10, 2025
2 parents 04856bd + ca8e89c commit 243694d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dndbeyond/content-scripts/character.js
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ async function rollAction(paneClass, force_to_hit_only = false, force_damages_on
//console.log("Properties are : " + String(properties));
const action_name = $(".ct-sidebar__heading").text();
const action_parent = $(".ct-sidebar__header-parent").text();
const description = descriptionToString(".ct-action-detail__description");
const description = descriptionToString(".ct-action-detail__description, .${paneClass} div[class*='styles_description']");
let to_hit = properties["To Hit"] !== undefined && properties["To Hit"] !== "--" ? properties["To Hit"] : null;

if (action_name == "Superiority Dice" || action_parent == "Maneuvers") {
Expand Down

0 comments on commit 243694d

Please sign in to comment.