Skip to content

Commit

Permalink
1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Nov 8, 2022
1 parent a042b83 commit 3605580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ Hooks.on("renderChatMessage", (chatMessage, html, messageData) => {
Hooks.on("renderChatMessage", (chatMessage, html, messageData) => {
if (!game.settings.get("pf2e-dorako-ui", "remove-attack-info-from-damage-roll-messages")) return;

if (chatMessage?.isDamageRoll) {
if (chatMessage?.isDamageRoll && chatMessage?._strike) {
html[0].classList.add("dorako-damage-roll");
let flavor = html.find(".flavor-text");
flavor.each(function () {
Expand Down

0 comments on commit 3605580

Please sign in to comment.