fix: align signingCost.mana with pactCost for procedural guardians (Tiers 4-8)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m1s

This commit is contained in:
2026-06-11 09:05:49 +02:00
parent e22c6cef65
commit 512fea8e31
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Circular Dependencies # Circular Dependencies
Generated: 2026-06-10T21:01:48.810Z Generated: 2026-06-11T07:03:04.914Z
Found: 3 circular chain(s) — these MUST be fixed before modifying involved files. Found: 3 circular chain(s) — these MUST be fixed before modifying involved files.
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts 1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"_meta": { "_meta": {
"generated": "2026-06-10T21:01:46.760Z", "generated": "2026-06-11T07:03:02.837Z",
"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."
}, },
+5 -5
View File
@@ -134,7 +134,7 @@ function getTier4Guardian(floor: number): GuardianDef {
{ type: `${el2}_boost`, value: 0.15 }, { type: `${el2}_boost`, value: 0.15 },
], ],
signingCost: { signingCost: {
mana: Math.floor(hpVal * 0.3), mana: Math.floor(hpVal * 0.3 + hpVal * armor * 0.5),
time: 20 + Math.floor((floor - 250) / 10), time: 20 + Math.floor((floor - 250) / 10),
}, },
unlocksMana: resolveMultiUnlockChain(elements), unlocksMana: resolveMultiUnlockChain(elements),
@@ -181,7 +181,7 @@ function getTier5Guardian(floor: number): GuardianDef {
{ type: 'chain', value: 1 }, { type: 'chain', value: 1 },
], ],
signingCost: { signingCost: {
mana: Math.floor(hpVal * 0.35), mana: Math.floor(hpVal * 0.3 + hpVal * armor * 0.5),
time: 24 + Math.floor((floor - 290) / 10), time: 24 + Math.floor((floor - 290) / 10),
}, },
unlocksMana: resolveMultiUnlockChain(elements), unlocksMana: resolveMultiUnlockChain(elements),
@@ -219,7 +219,7 @@ function getTier6Guardian(floor: number): GuardianDef {
{ type: 'reflect', value: 0.1 }, { type: 'reflect', value: 0.1 },
], ],
signingCost: { signingCost: {
mana: Math.floor(hpVal * 0.35), mana: Math.floor(hpVal * 0.35 + hpVal * armor * 0.5),
time: 28 + Math.floor((floor - 340) / 10), time: 28 + Math.floor((floor - 340) / 10),
}, },
unlocksMana: chain, unlocksMana: chain,
@@ -260,7 +260,7 @@ function getTier7Guardian(floor: number): GuardianDef {
{ type: 'chain', value: 1 }, { type: 'chain', value: 1 },
], ],
signingCost: { signingCost: {
mana: Math.floor(hpVal * 0.4), mana: Math.floor(hpVal * 0.4 + hpVal * armor * 0.5),
time: 32 + Math.floor((floor - 390) / 10), time: 32 + Math.floor((floor - 390) / 10),
}, },
unlocksMana: elements, unlocksMana: elements,
@@ -302,7 +302,7 @@ function getTier8Guardian(floor: number): GuardianDef {
{ type: 'reflect', value: 0.1 }, { type: 'reflect', value: 0.1 },
], ],
signingCost: { signingCost: {
mana: Math.floor(hpVal * 0.45), mana: Math.floor(hpVal * 0.45 + hpVal * armor * 0.5),
time: 36 + Math.floor((floor - 440) / 10), time: 36 + Math.floor((floor - 440) / 10),
}, },
unlocksMana: elements, unlocksMana: elements,