Commit Graph

17 Commits

Author SHA1 Message Date
uberwald 25648aa2a3 refactor: remove D30 choice dialog, extract defense reaction buttons, fix bugs
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
2026-06-29 11:44:46 +02:00
uberwald 3df46b5848 refactor: extract inline HTML to templates, split oversized files, fix bugs
- Extract all inline HTML from JS into 21 Handlebars templates (chat/, dialogs/, ui/)
- Split utils.mjs (1507) into barrel + helpers.mjs, combat.mjs, d30.mjs
- Split roll.mjs (1632) into barrel + roll-base.mjs, roll-prompt.mjs, roll-combat.mjs, roll-damage.mjs
- Split lethal-fantasy.mjs (1426) into bootstrap + chat-reaction.mjs
- Fix: missing async on injectDiceTray (free-roll.mjs:29 SyntaxError)
- Fix: weapon._id fallback for deserialized chat-message weapon objects
- Fix: missing await on rollModifier.evaluate() calls in roll-combat.mjs
- Fix: choices→choicesList ReferenceError in utils.mjs
- Fix: add 12 missing i18n keys (chooseWeapon, chooseSave, attackRoll, etc.)
- Fix: restore sideLabel in bonus-die-select.hbs
- Clean: remove dead messageContent param, console.log→log()
- Style: barrel files preserve existing import paths
2026-06-28 19:13:05 +02:00
uberwald cbeaaeec99 Final fixes and code review checks
Release Creation / build (release) Successful in 39s
2026-06-12 08:19:42 +02:00
uberwald 96306623e5 UPdate and fixes for roll in combats
Release Creation / build (release) Successful in 43s
2026-05-18 20:26:39 +02:00
uberwald 7279cd752d Fix initiative again
Release Creation / build (release) Successful in 43s
2026-05-18 07:58:28 +02:00
uberwald db3e8b5d35 Improve init for monsters and some fixwes around shields
Release Creation / build (release) Successful in 48s
2026-05-17 13:22:29 +02:00
uberwald c37d92af25 Various initiative fixes + shield management messages
Release Creation / build (release) Successful in 46s
2026-04-12 01:07:58 +02:00
uberwald 7a06e8a5c9 Combat tab for v13
Release Creation / build (release) Successful in 1m20s
2025-05-29 18:48:33 +02:00
uberwald b4d6616cb4 Foundry v13 migration
Release Creation / build (release) Successful in 58s
2025-05-14 10:02:08 +02:00
uberwald d961e130e0 Fix actions again
Release Creation / build (release) Successful in 58s
2025-04-22 08:42:01 +02:00
uberwald cb60bb6027 Fix lethargy/cast again
Release Creation / build (release) Successful in 43s
2025-04-16 08:33:18 +02:00
uberwald fdd72e9375 Fix reset progression roll
Release Creation / build (release) Successful in 1m12s
2025-04-15 20:29:56 +02:00
uberwald 72ef2dbe1b Reset progression button
Release Creation / build (release) Successful in 1m31s
2025-02-25 07:13:59 +01:00
uberwald b0d61ef626 Update sheet again... 2025-01-20 18:53:23 +01:00
uberwald 4198bf82be Combat initiativ 2025-01-18 19:26:14 +01:00
uberwald 4e673913a1 Init/progression dice 2025-01-18 00:00:25 +01:00
uberwald 4e70cbfaf8 Start combat management 2025-01-12 15:46:36 +01:00