Skip to content

Commit

Permalink
second Part of the 20.05.2023 patch
Browse files Browse the repository at this point in the history
second Part of the 20.05.2023 patch
  • Loading branch information
romaniac01 committed May 20, 2023
1 parent 076c2ab commit ee95fa8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/upgrades/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function buildUpgrades() {
const upgrades = await convertEquipmentToUpgrades({
civ: extra.civ,
reward: { rank: [{ tech: extra.techName }] },
unlocked: true
unlocked: extra.techName === "TechTowerS" ? false : true
})
results[extra.civ] = results[extra.civ].concat(
upgrades.filter(u => !results[extra.civ].some(up => up.id === u.id))
Expand Down
24 changes: 24 additions & 0 deletions src/components/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,30 @@ export default {
affectedStats.push("Servilia_CSpeedRange")
affectedStats.push("Servilia_CSpeed")
break
case "Theode_E":
affectedStats.push("Theode_EMaxHPRange")
affectedStats.push("Theode_EMaxHP")
delete stats["HealthAuraMaxHPRange"]
delete stats["HealthAuraMaxHP"]
break
case "Theode_R":
affectedStats.push("Theode_RMaxHPRange")
affectedStats.push("Theode_RMaxHP")
delete stats["HealthAuraMaxHPRange"]
delete stats["HealthAuraMaxHP"]
break
case "Theode_U":
affectedStats.push("Theode_UMaxHPRange")
affectedStats.push("Theode_UMaxHP")
delete stats["HealthAuraMaxHPRange"]
delete stats["HealthAuraMaxHP"]
break
case "Theode_C":
affectedStats.push("Theode_CMaxHPRange")
affectedStats.push("Theode_CMaxHP")
delete stats["HealthAuraMaxHPRange"]
delete stats["HealthAuraMaxHP"]
break
default:
affectedStats.push(actionName)
}
Expand Down
2 changes: 1 addition & 1 deletion src/data/upgrades.json

Large diffs are not rendered by default.

0 comments on commit ee95fa8

Please sign in to comment.