Skip to content

Commit

Permalink
🍱 Update res
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Jun 9, 2024
1 parent 5a3d640 commit df81151
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 11 deletions.
6 changes: 3 additions & 3 deletions compiler/hsr-optimizer-api/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Represents the version of the latest info, which should be the beta leaks version
export const CURRENT_OPTIMIZER_VERSION = 'v2.3.3'
export const CURRENT_OPTIMIZER_VERSION = 'v2.3.5'

export const Stats = {
ATK_P: 'ATK%',
Expand Down Expand Up @@ -407,7 +407,7 @@ export const SetsRelics = {
PrisonerInDeepConfinement: 'Prisoner in Deep Confinement',
PioneerDiverOfDeadWaters: 'Pioneer Diver of Dead Waters',
WatchmakerMasterOfDreamMachinations: 'Watchmaker, Master of Dream Machinations',
IronCavalryAgainstScourge: 'Iron Cavalry Against Scourge',
IronCavalryAgainstTheScourge: 'Iron Cavalry Against the Scourge',
TheWindSoaringValorous: 'The Wind-Soaring Valorous',
}
export type SetsRelics = typeof SetsRelics[keyof typeof SetsRelics]
Expand Down Expand Up @@ -702,7 +702,7 @@ export const DamageKeys = ['BASIC', 'SKILL', 'ULT', 'FUA', 'DOT', 'BREAK']

export const DEFAULT_TEAM = 'Default'
export const CUSTOM_TEAM = 'Custom'
export const RESET_TEAM = 'Reset'
export const SETTINGS_TEAM = 'Settings'

export const SIMULATION_SCORE = 'Combat Simulation Score'
export const CHARACTER_SCORE = 'Character Score'
25 changes: 18 additions & 7 deletions compiler/hsr-optimizer-api/src/lib/dataParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ export function getScoringMetadata() {
SKILL: 2,
ULT: 1,
FUA: 2,
DOT: 6,
DOT: 8,
BREAK: 0,
},
relicSets: [
Expand Down Expand Up @@ -1421,7 +1421,7 @@ export function getScoringMetadata() {
SKILL: 3,
ULT: 1,
FUA: 0,
DOT: 30,
DOT: 60,
BREAK: 0,
},
relicSets: [
Expand Down Expand Up @@ -1681,7 +1681,7 @@ export function getScoringMetadata() {
SKILL: 1,
ULT: 1,
FUA: 0,
DOT: 2,
DOT: 5,
BREAK: 1,
},
relicSets: [
Expand Down Expand Up @@ -2321,7 +2321,7 @@ export function getScoringMetadata() {
},
relicSets: [
[Sets.ChampionOfStreetwiseBoxing, Sets.ChampionOfStreetwiseBoxing],
[Sets.IronCavalryAgainstScourge, Sets.IronCavalryAgainstScourge],
[Sets.IronCavalryAgainstTheScourge, Sets.IronCavalryAgainstTheScourge],
...SPREAD_RELICS_2P_GENERAL_CONDITIONALS,
],
ornamentSets: [
Expand Down Expand Up @@ -3229,15 +3229,26 @@ export function getScoringMetadata() {
},
parts: {
[Parts.Body]: [
Stats.DEF_P,
Stats.HP_P,
Stats.DEF_P,
Stats.ATK_P,
Stats.CR,
Stats.CD,
],
[Parts.Feet]: [
Stats.SPD,
],
[Parts.PlanarSphere]: [
Stats.HP_P,
Stats.DEF_P,
Stats.ATK_P,
Stats.Wind_DMG,
Stats.Physical_DMG,
Stats.Fire_DMG,
Stats.Ice_DMG,
Stats.Lightning_DMG,
Stats.Quantum_DMG,
Stats.Imaginary_DMG,
],
[Parts.LinkRope]: [
Stats.ERR,
Expand Down Expand Up @@ -3866,7 +3877,7 @@ export function getScoringMetadata() {
relicSets: [
[Sets.ThiefOfShootingMeteor, Sets.WatchmakerMasterOfDreamMachinations],
RELICS_2P_BREAK_EFFECT_SPEED,
[Sets.IronCavalryAgainstScourge, Sets.IronCavalryAgainstScourge],
[Sets.IronCavalryAgainstTheScourge, Sets.IronCavalryAgainstTheScourge],
...SPREAD_RELICS_2P_GENERAL_CONDITIONALS,
],
ornamentSets: [
Expand Down Expand Up @@ -4202,7 +4213,7 @@ export function getScoringMetadata() {
relicSets: [
[Sets.ThiefOfShootingMeteor, Sets.WatchmakerMasterOfDreamMachinations],
RELICS_2P_BREAK_EFFECT_SPEED,
[Sets.IronCavalryAgainstScourge, Sets.IronCavalryAgainstScourge],
[Sets.IronCavalryAgainstTheScourge, Sets.IronCavalryAgainstTheScourge],
...SPREAD_RELICS_2P_GENERAL_CONDITIONALS,
],
ornamentSets: [
Expand Down
2 changes: 1 addition & 1 deletion src/starrailrelicscore/data/metadata.json

Large diffs are not rendered by default.

0 comments on commit df81151

Please sign in to comment.