fix: Crystal-Steel Hybrid frame unlock now only requires Fabricator 5 (was incorrectly dual-gated with Enchanter 5)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s
This commit is contained in:
@@ -126,9 +126,9 @@ const CRYSTAL_STEEL_HYBRID_FRAME: FrameDefinition = {
|
||||
specialEffect: 'guardianConstruct',
|
||||
summonCost: [elemCost('crystal', 20), elemCost('metal', 15), rawCost(15)],
|
||||
unlockRequirement: {
|
||||
type: 'dual_attunement',
|
||||
attunements: ['fabricator', 'enchanter'],
|
||||
levels: [5, 5],
|
||||
type: 'attunement_level',
|
||||
attunement: 'fabricator',
|
||||
level: 5,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -98,11 +98,11 @@ describe('Unlock requirements', () => {
|
||||
expect(isComponentUnlocked(req, { invoker: { active: true, level: 5 }, fabricator: { active: true, level: 5 } }, [], [])).toBe(false);
|
||||
});
|
||||
|
||||
it('crystalSteelHybrid frame requires Fabricator 5 + Enchanter 5', () => {
|
||||
it('crystalSteelHybrid frame requires Fabricator 5 only', () => {
|
||||
const req = FRAMES.crystalSteelHybrid.unlockRequirement;
|
||||
expect(req.type).toBe('dual_attunement');
|
||||
expect(isComponentUnlocked(req, { fabricator: { active: true, level: 5 }, enchanter: { active: true, level: 5 } }, [], [])).toBe(true);
|
||||
expect(isComponentUnlocked(req, { fabricator: { active: true, level: 5 }, enchanter: { active: true, level: 4 } }, [], [])).toBe(false);
|
||||
expect(req.type).toBe('attunement_level');
|
||||
expect(isComponentUnlocked(req, { fabricator: { active: true, level: 5 } }, [], [])).toBe(true);
|
||||
expect(isComponentUnlocked(req, { fabricator: { active: true, level: 4 } }, [], [])).toBe(false);
|
||||
});
|
||||
|
||||
it('sand frame requires sand mana unlocked', () => {
|
||||
|
||||
Reference in New Issue
Block a user