This commit is contained in:
+3
-2
@@ -324,7 +324,7 @@ export default class LethalFantasyUtils {
|
||||
<p>Attack roll: <strong>${attackRoll}</strong></p>
|
||||
</div>
|
||||
<div class="weapon-selection">
|
||||
<label for="defense-attack">Choose your defense attack:</label>
|
||||
<label for="defense-attack">Choose your defense weapon:</label>
|
||||
<select id="defense-attack" name="attackKey" style="width: 100%; margin-top: 8px;">
|
||||
${attacksHTML}
|
||||
</select>
|
||||
@@ -711,6 +711,7 @@ export default class LethalFantasyUtils {
|
||||
${totalBonus > 0 ? `<p class="bonus-info">Bonus already added: +${totalBonus}</p>` : ''}
|
||||
</div>
|
||||
<p class="offer-text">You are losing! Spend Grit or Luck to add 1D6 to your defense?</p>
|
||||
<p class="shield-warning"><i class="fa-solid fa-triangle-exclamation"></i> If you intend to use a shield, you must spend Grit or Luck <strong>first</strong> — the shield roll comes after.</p>
|
||||
</div>
|
||||
`
|
||||
|
||||
@@ -861,7 +862,7 @@ export default class LethalFantasyUtils {
|
||||
`
|
||||
} else if (data.attackRollType === "spell-attack" || data.attackRollType === "miracle-attack") {
|
||||
const attacker = game.actors.get(data.attackerId)
|
||||
const spell = attacker?.items.get(data.attackWeaponId)
|
||||
const spell = attacker?.items.get(data.attackWeaponId || data.attackRollKey)
|
||||
const tiers = [
|
||||
{ formula: spell?.system?.damageDice, label: "Standard" },
|
||||
{ formula: spell?.system?.damageDiceOverpowered, label: "Overpowered" },
|
||||
|
||||
Reference in New Issue
Block a user