25648aa2a3
Release Creation / build (release) Successful in 45s
- Remove D30 choice dialog — auto-roll bonus dice, flag special effects - Fix d30ChangedAttack infinite loop in defense do-while (missing reset) - Fix chat button dataset attributes (rollType/rollTarget/rollAvantage) - Extract buildDefenseReactionButtons from both defense loops - Merge Aether/Grace deduction via _deductResourceOnCast helper - Extract HP HUD toggling (_toggleHudWraps/_disableHudWraps) - Fix SYSTEM.EQUIPMENT_CATEGORIES typo in equipment model - Add missing imports to combat.mjs - Remove dead d30Auto branches, _buildSpecialLabel, d30-special-choice.hbs
33 lines
1.8 KiB
JavaScript
33 lines
1.8 KiB
JavaScript
import { log, loadCompendiumData, loadCompendium, pushCombatOptions, setHookListeners, registerHandlebarsHelpers, getLethargyDice } from "./utils/helpers.mjs"
|
|
import { hasD30Reroll, processD30BonusDice, _rollD30BonusDie, _buildSpecialName } from "./utils/d30.mjs"
|
|
import { handleSocketEvent, handleAttackerGritOffer, handleAttackBoosted, showDefenseRequest, compareAttackDefense, applyDamage, offerAttackerGritBonus, getCombatBonusDiceChoices, getShieldReactionData, buildDefenseReactionButtons, promptCombatBonusDie, promptAdHocShield, rollBonusDie, rerollConfiguredRoll } from "./utils/combat.mjs"
|
|
|
|
export { log }
|
|
|
|
export default class LethalFantasyUtils {
|
|
static loadCompendiumData = loadCompendiumData
|
|
static loadCompendium = loadCompendium
|
|
static pushCombatOptions = pushCombatOptions
|
|
static setHookListeners = setHookListeners
|
|
static registerHandlebarsHelpers = registerHandlebarsHelpers
|
|
static getLethargyDice = getLethargyDice
|
|
static hasD30Reroll = hasD30Reroll
|
|
static processD30BonusDice = processD30BonusDice
|
|
static _rollD30BonusDie = _rollD30BonusDie
|
|
static _buildSpecialName = _buildSpecialName
|
|
static handleSocketEvent = handleSocketEvent
|
|
static handleAttackerGritOffer = handleAttackerGritOffer
|
|
static handleAttackBoosted = handleAttackBoosted
|
|
static showDefenseRequest = showDefenseRequest
|
|
static compareAttackDefense = compareAttackDefense
|
|
static applyDamage = applyDamage
|
|
static offerAttackerGritBonus = offerAttackerGritBonus
|
|
static getCombatBonusDiceChoices = getCombatBonusDiceChoices
|
|
static getShieldReactionData = getShieldReactionData
|
|
static buildDefenseReactionButtons = buildDefenseReactionButtons
|
|
static promptCombatBonusDie = promptCombatBonusDie
|
|
static promptAdHocShield = promptAdHocShield
|
|
static rollBonusDie = rollBonusDie
|
|
static rerollConfiguredRoll = rerollConfiguredRoll
|
|
}
|