Skip to content

Commit

Permalink
holy and blight damage res in combat stats
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Aug 5, 2024
1 parent 810b413 commit 1458ac2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/admin/account.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ query AdminAccount($id: ID!) {
fireResistance
iceResistance
lightningResistance
holyResistance
blightResistance
}
outgoingTrades {
gold
Expand Down
6 changes: 6 additions & 0 deletions src/game/combat-stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ export function CombatStats({
<Grid item xs={6} sm={3} md={2} lg={2}>
<b>Lightning</b>: {formatPercentage(stats.lightningResistance, 1)}
</Grid>
<Grid item xs={6} sm={3} md={2} lg={2}>
<b>Holy</b>: {formatPercentage(stats.holyResistance, 1)}
</Grid>
<Grid item xs={6} sm={3} md={2} lg={2}>
<b>Blight</b>: {formatPercentage(stats.blightResistance, 1)}
</Grid>

<Grid item xs={6}>
<Divider />
Expand Down
2 changes: 2 additions & 0 deletions src/me.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,8 @@ query Me {
fireResistance
iceResistance
lightningResistance
holyResistance
blightResistance
}
outgoingTrades {
gold
Expand Down

0 comments on commit 1458ac2

Please sign in to comment.