Skip to content

Commit

Permalink
fix: changed description selector to match new styledcomponent css
Browse files Browse the repository at this point in the history
  • Loading branch information
dmportella committed Jan 10, 2025
1 parent 47198c9 commit ca8e89c
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 ca8e89c

Please sign in to comment.