Fixes around D30 managemen

This commit is contained in:
2026-04-16 21:39:51 +02:00
parent 6c6c473147
commit 8c9a13faf1
27 changed files with 95 additions and 87 deletions

View File

@@ -235,6 +235,8 @@ export default class LethalFantasyUtils {
const isMonster = defender.type === "monster"
console.log(`[LF] showDefenseRequest | attackRollType=${attackRollType} isMonster=${isMonster} defender=${defender?.name}`)
// Spell/miracle attacks use saving throws instead of weapon defense
const isSpellAttack = attackRollType === "spell-attack" || attackRollType === "miracle-attack"
if (isSpellAttack) {
@@ -266,6 +268,7 @@ export default class LethalFantasyUtils {
content,
buttons: [
{
action: "rollSave",
label: "Roll Save",
icon: "fa-solid fa-person-running",
callback: (event, button) => button.form.elements.saveKey.value,