Fix initiative again
Release Creation / build (release) Successful in 43s

This commit is contained in:
2026-05-18 07:58:28 +02:00
parent db3e8b5d35
commit 7279cd752d
33 changed files with 120 additions and 95 deletions
+5
View File
@@ -356,6 +356,11 @@ export default class LethalFantasyCharacter extends foundry.abstract.TypeDataMod
}
}
if (weaponsChoices.length === 0) {
ui.notifications.warn(`${this.parent.name} has no weapons or spells available for combat. Add a weapon to the character sheet first.`)
return
}
let roll = await LethalFantasyRoll.promptCombatAction({
actorId: this.parent.id,
actorName: this.parent.name,
-1
View File
@@ -284,7 +284,6 @@ export default class LethalFantasyMonster extends foundry.abstract.TypeDataModel
// In all cases
if (rollTarget) {
rollTarget.tokenId = tokenId
console.log(rollTarget)
await this.roll(rollType, rollTarget, defenderId, defenderTokenId, extraShieldDr)
}
}