feat: implement Room Enchantments system for Enchanter attunement
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m23s
- Add roomEnchantment field to FloorState (coverage meter 0-100) - Add 8 room enchantment effect definitions (fire/frost/death/lightning/dark/earth/transference) - Add room-enchanting discipline with perks (room-coverage-rate capped, resonant-stamps once, 8 unlock perks) - Add room enchantment combat tick phase (after DoT) with coverage growth and effect application - Add coverage carryover between rooms via resonant-stamps perk - Add RoomDisplay coverage bar and effect magnitude UI - Add room-enchantments-utils.ts for coverage/effect computation - Extract combat-room-enchantments.ts to keep combat-actions.ts under 400 lines - Add 25 tests covering all acceptance criteria (AC-1 through AC-22)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-13T17:47:24.953Z
|
||||
Generated: 2026-06-14T19:56:38.228Z
|
||||
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_meta": {
|
||||
"generated": "2026-06-13T17:47:22.745Z",
|
||||
"generated": "2026-06-14T19:56:35.928Z",
|
||||
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
|
||||
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
|
||||
},
|
||||
@@ -554,6 +554,7 @@
|
||||
"constants.ts",
|
||||
"data/guardian-encounters.ts",
|
||||
"effects/discipline-effects.ts",
|
||||
"stores/combat-channel.ts",
|
||||
"stores/combat-damage.ts",
|
||||
"stores/combat-invocation.ts",
|
||||
"stores/combat-melee.ts",
|
||||
@@ -564,6 +565,14 @@
|
||||
"types.ts",
|
||||
"utils/index.ts"
|
||||
],
|
||||
"stores/combat-channel-actions.ts": [
|
||||
"stores/combat-state.types.ts"
|
||||
],
|
||||
"stores/combat-channel.ts": [
|
||||
"effects/discipline-effects.ts",
|
||||
"stores/combat-state.types.ts",
|
||||
"stores/manaStore.ts"
|
||||
],
|
||||
"stores/combat-damage.ts": [
|
||||
"constants/spells.ts",
|
||||
"data/enchantment-effects.ts",
|
||||
@@ -596,6 +605,7 @@
|
||||
"stores/combat-melee.ts": [
|
||||
"constants.ts",
|
||||
"data/guardian-encounters.ts",
|
||||
"stores/combat-channel.ts",
|
||||
"stores/combat-damage.ts",
|
||||
"stores/combat-state.types.ts",
|
||||
"types.ts",
|
||||
@@ -615,6 +625,7 @@
|
||||
"stores/combatStore.ts": [
|
||||
"data/guardian-encounters.ts",
|
||||
"stores/combat-actions.ts",
|
||||
"stores/combat-channel-actions.ts",
|
||||
"stores/combat-descent-actions.ts",
|
||||
"stores/combat-reset.ts",
|
||||
"stores/combat-state.types.ts",
|
||||
|
||||
@@ -249,6 +249,7 @@ Mana-Loop/
|
||||
│ │ │ │ ├── persistence.test.ts
|
||||
│ │ │ │ ├── regression-fixes.test.ts
|
||||
│ │ │ │ ├── reset-game-comprehensive.test.ts
|
||||
│ │ │ │ ├── room-enchantments.test.ts
|
||||
│ │ │ │ ├── room-utils-floor-state.test.ts
|
||||
│ │ │ │ ├── room-utils.test.ts
|
||||
│ │ │ │ ├── spell-cast-floorhp-guard.test.ts
|
||||
@@ -301,6 +302,7 @@ Mana-Loop/
|
||||
│ │ │ │ │ ├── elemental-regen-advanced.ts
|
||||
│ │ │ │ │ ├── elemental-regen.ts
|
||||
│ │ │ │ │ ├── elemental.ts
|
||||
│ │ │ │ │ ├── enchanter-combat.ts
|
||||
│ │ │ │ │ ├── enchanter-special.ts
|
||||
│ │ │ │ │ ├── enchanter-spells.ts
|
||||
│ │ │ │ │ ├── enchanter-utility.ts
|
||||
@@ -394,6 +396,7 @@ Mana-Loop/
|
||||
│ │ │ │ ├── combat-invocation.ts
|
||||
│ │ │ │ ├── combat-melee.ts
|
||||
│ │ │ │ ├── combat-reset.ts
|
||||
│ │ │ │ ├── combat-room-enchantments.ts
|
||||
│ │ │ │ ├── combat-state.types.ts
|
||||
│ │ │ │ ├── combatStore.ts
|
||||
│ │ │ │ ├── crafting-equipment-tick.ts
|
||||
@@ -448,6 +451,7 @@ Mana-Loop/
|
||||
│ │ │ │ ├── mana-utils.ts
|
||||
│ │ │ │ ├── pact-utils.ts
|
||||
│ │ │ │ ├── result.ts
|
||||
│ │ │ │ ├── room-enchantments-utils.ts
|
||||
│ │ │ │ ├── room-utils.ts
|
||||
│ │ │ │ ├── safe-persist.ts
|
||||
│ │ │ │ └── spire-utils.ts
|
||||
|
||||
Reference in New Issue
Block a user