Fix over mastery display in hovercard
This commit is contained in:
parent
d9a7703f2c
commit
f8d1c94b94
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ const CharacterHovercard = (props: Props) => {
|
|||
{[...Array(4)].map((e, i) => {
|
||||
const ringIndex = i + 1
|
||||
const ringStat: ExtendedMastery =
|
||||
props.gridCharacter.over_mastery[i]
|
||||
props.gridCharacter.over_mastery[ringIndex]
|
||||
|
||||
if (ringStat && ringStat.modifier && ringStat.modifier > 0) {
|
||||
if (ringIndex === 1 || ringIndex === 2) {
|
||||
return masteryElement(overMastery.a, ringStat)
|
||||
|
|
|
|||
Loading…
Reference in a new issue