diff --git a/app/src/Components/Character/CharacterCard.tsx b/app/src/Components/Character/CharacterCard.tsx index a769d6aef..b346d8696 100644 --- a/app/src/Components/Character/CharacterCard.tsx +++ b/app/src/Components/Character/CharacterCard.tsx @@ -66,6 +66,8 @@ function statKeyToIcon(key: string): JSX.Element { return ; case 'heal': return ; + case 'dendro': + return ; // TODO: fix dendro icon default: return ; } diff --git a/app/src/Components/Character/Stats.ts b/app/src/Components/Character/Stats.ts index c7982fd8e..4f04a734c 100644 --- a/app/src/Components/Character/Stats.ts +++ b/app/src/Components/Character/Stats.ts @@ -142,6 +142,14 @@ export function ConsolidateCharStats(chars: Character[]): { count: 0, t: '%', }, + dendro: { + name: 'dendro%', + flatIndex: -1, + percentIndex: StatToIndexMap['DendroP'], + val: {}, + count: 0, + t: '%', + }, heal: { name: 'heal', flatIndex: -1, diff --git a/app/src/Pages/Sim/helper.ts b/app/src/Pages/Sim/helper.ts index 4e629de81..f991a05c1 100644 --- a/app/src/Pages/Sim/helper.ts +++ b/app/src/Pages/Sim/helper.ts @@ -19,8 +19,8 @@ const statKeys = [ 'electro%', 'anemo%', 'geo%', - 'phys%', 'dendro%', + 'phys%', 'atkspd%', 'dmg%', ]; diff --git a/app/src/util.ts b/app/src/util.ts index b5c514d55..263565b9f 100644 --- a/app/src/util.ts +++ b/app/src/util.ts @@ -92,6 +92,6 @@ export const StatToIndexMap: { [key in string]: number } = { ElectroP: 15, AnemoP: 16, GeoP: 17, - PhyP: 18, - DendroP: 19, + DendroP: 18, + PhyP: 19, }; diff --git a/pkg/core/attributes/stats.go b/pkg/core/attributes/stats.go index 29e7657e5..ceee42d90 100644 --- a/pkg/core/attributes/stats.go +++ b/pkg/core/attributes/stats.go @@ -87,9 +87,8 @@ var StatTypeString = [...]string{ "electro%", "anemo%", "geo%", - "phys%", - // "ele%", "dendro%", + "phys%", "atkspd%", "dmg%", }