fix: correct ENCHANTMENT_SPELLS import path in combat-damage.ts
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Circular Dependencies
|
# Circular Dependencies
|
||||||
Generated: 2026-06-11T10:10:52.183Z
|
Generated: 2026-06-11T10:27:32.937Z
|
||||||
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||||
|
|
||||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"generated": "2026-06-11T10:10:50.083Z",
|
"generated": "2026-06-11T10:27:30.856Z",
|
||||||
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
|
"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."
|
"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."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
// ─── Per-Enemy Damage Application (spec §3.2) ─────────────────────────────────
|
// ─── Per-Enemy Damage Application (spec §3.2) ─────────────────────────────────
|
||||||
// Extracted from combat-actions.ts to stay under the 400-line file limit.
|
// Extracted from combat-actions.ts to stay under the 400-line file limit.
|
||||||
|
|
||||||
import { ENCHANTMENT_EFFECTS, ENCHANTMENT_SPELLS } from '../data/enchantment-effects';
|
import { ENCHANTMENT_EFFECTS } from '../data/enchantment-effects';
|
||||||
|
import { ENCHANTMENT_SPELLS } from '../constants/spells';
|
||||||
import { canAffordSpellCost, deductSpellCost } from '../utils';
|
import { canAffordSpellCost, deductSpellCost } from '../utils';
|
||||||
import type { CombatStore, CombatState } from './combat-state.types';
|
import type { CombatStore, CombatState } from './combat-state.types';
|
||||||
import type { EnemyState, EquipmentInstance } from '../types';
|
import type { EnemyState, EquipmentInstance } from '../types';
|
||||||
|
|||||||
Reference in New Issue
Block a user