Other fixes for damage buttons from chat
This commit is contained in:
+2
-2
@@ -854,7 +854,7 @@ export default class LethalFantasyUtils {
|
||||
`
|
||||
} else if (data.attackRollType === "monster-attack") {
|
||||
damageButton = `
|
||||
<div class="attack-result-damage">
|
||||
<div class="attack-result-damage single-btn">
|
||||
<button class="roll-damage-btn" data-attacker-id="${data.attackerId}" data-defender-id="${data.defenderId}" data-defender-token-id="${data.defenderTokenId || ""}" data-extra-shield-dr="${data.shieldDamageReduction || 0}" data-attack-key="${data.attackRollKey}" data-damage-type="monster">
|
||||
<i class="fa-solid fa-burst"></i> Damage
|
||||
</button>
|
||||
@@ -881,7 +881,7 @@ export default class LethalFantasyUtils {
|
||||
<i class="fa-solid fa-wand-magic-sparkles"></i> ${t.label} (${escapedFormula})
|
||||
</button>`
|
||||
}).join("")
|
||||
damageButton = `<div class="attack-result-damage">${buttons}</div>`
|
||||
damageButton = `<div class="attack-result-damage spell-damage">${buttons}</div>`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user