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
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m1s
This commit is contained in:
@@ -134,7 +134,7 @@ function getTier4Guardian(floor: number): GuardianDef {
|
||||
{ type: `${el2}_boost`, value: 0.15 },
|
||||
],
|
||||
signingCost: {
|
||||
mana: Math.floor(hpVal * 0.3),
|
||||
mana: Math.floor(hpVal * 0.3 + hpVal * armor * 0.5),
|
||||
time: 20 + Math.floor((floor - 250) / 10),
|
||||
},
|
||||
unlocksMana: resolveMultiUnlockChain(elements),
|
||||
@@ -181,7 +181,7 @@ function getTier5Guardian(floor: number): GuardianDef {
|
||||
{ type: 'chain', value: 1 },
|
||||
],
|
||||
signingCost: {
|
||||
mana: Math.floor(hpVal * 0.35),
|
||||
mana: Math.floor(hpVal * 0.3 + hpVal * armor * 0.5),
|
||||
time: 24 + Math.floor((floor - 290) / 10),
|
||||
},
|
||||
unlocksMana: resolveMultiUnlockChain(elements),
|
||||
@@ -219,7 +219,7 @@ function getTier6Guardian(floor: number): GuardianDef {
|
||||
{ type: 'reflect', value: 0.1 },
|
||||
],
|
||||
signingCost: {
|
||||
mana: Math.floor(hpVal * 0.35),
|
||||
mana: Math.floor(hpVal * 0.35 + hpVal * armor * 0.5),
|
||||
time: 28 + Math.floor((floor - 340) / 10),
|
||||
},
|
||||
unlocksMana: chain,
|
||||
@@ -260,7 +260,7 @@ function getTier7Guardian(floor: number): GuardianDef {
|
||||
{ type: 'chain', value: 1 },
|
||||
],
|
||||
signingCost: {
|
||||
mana: Math.floor(hpVal * 0.4),
|
||||
mana: Math.floor(hpVal * 0.4 + hpVal * armor * 0.5),
|
||||
time: 32 + Math.floor((floor - 390) / 10),
|
||||
},
|
||||
unlocksMana: elements,
|
||||
@@ -302,7 +302,7 @@ function getTier8Guardian(floor: number): GuardianDef {
|
||||
{ type: 'reflect', value: 0.1 },
|
||||
],
|
||||
signingCost: {
|
||||
mana: Math.floor(hpVal * 0.45),
|
||||
mana: Math.floor(hpVal * 0.45 + hpVal * armor * 0.5),
|
||||
time: 36 + Math.floor((floor - 440) / 10),
|
||||
},
|
||||
unlocksMana: elements,
|
||||
|
||||
Reference in New Issue
Block a user