fix: add missing pactAffinity prestige upgrade to PRESTIGE_DEF
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m18s
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-08T08:12:33.305Z
|
||||
Generated: 2026-06-08T08:31:14.048Z
|
||||
Found: 1 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_meta": {
|
||||
"generated": "2026-06-08T08:12:31.358Z",
|
||||
"generated": "2026-06-08T08:31:12.188Z",
|
||||
"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."
|
||||
},
|
||||
|
||||
@@ -28,9 +28,9 @@ describe('Tab barrel export', () => {
|
||||
// ─── Test: Prestige upgrade definitions ────────────────────────────────────────
|
||||
|
||||
describe('Prestige upgrade definitions', () => {
|
||||
it('has exactly 15 prestige upgrades', async () => {
|
||||
it('has exactly 16 prestige upgrades', async () => {
|
||||
const { PRESTIGE_DEF } = await import('@/lib/game/constants/prestige');
|
||||
expect(Object.keys(PRESTIGE_DEF).length).toBe(15);
|
||||
expect(Object.keys(PRESTIGE_DEF).length).toBe(16);
|
||||
});
|
||||
|
||||
it('all upgrades have required fields', async () => {
|
||||
@@ -43,13 +43,14 @@ describe('Prestige upgrade definitions', () => {
|
||||
}
|
||||
});
|
||||
|
||||
it('all 15 expected upgrade IDs are present', async () => {
|
||||
it('all 16 expected upgrade IDs are present', async () => {
|
||||
const { PRESTIGE_DEF } = await import('@/lib/game/constants/prestige');
|
||||
const expectedIds = [
|
||||
'manaWell', 'manaFlow', 'insightAmp', 'spireKey',
|
||||
'temporalEcho', 'steadyHand', 'ancientKnowledge', 'elementalAttune',
|
||||
'spellMemory', 'guardianPact', 'quickStart', 'elemStart',
|
||||
'unlockedManaTypeCapacity', 'pactBinding', 'pactInterferenceMitigation',
|
||||
'pactAffinity',
|
||||
];
|
||||
for (const id of expectedIds) {
|
||||
expect(PRESTIGE_DEF[id]).toBeDefined();
|
||||
|
||||
@@ -17,4 +17,5 @@ export const PRESTIGE_DEF: Record<string, PrestigeDef> = {
|
||||
unlockedManaTypeCapacity: { name: "Mana Type Capacity", desc: "+10 capacity for selected mana type", max: 5, cost: 1000 },
|
||||
pactBinding: { name: "Pact Binding", desc: "+1 pact slot per level", max: 5, cost: 2000 },
|
||||
pactInterferenceMitigation: { name: "Pact Interference Mitigation", desc: "Reduces pact interference penalty", max: 10, cost: 1500 },
|
||||
pactAffinity: { name: "Pact Affinity", desc: "+10% pact ritual speed per level", max: 9, cost: 2500 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user