Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
No way this is actually working
  • Loading branch information
YoctoProductions committed Dec 26, 2024
1 parent 309e7ea commit 8933818
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 2 additions & 1 deletion client/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export function calculateGemsXP(coins: number, kills: number) {
const xp = Math.floor(coins / 20) + kills
return {
xp,
gems: Math.floor(xp / 5)
gems: Math.floor(xp / 5),
ultimacy: 1
}
}

Expand Down
7 changes: 7 additions & 0 deletions client/src/ui/game/GameResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ function GameResults({ onHome, results, game, isLoggedIn, adElement }: any) {
duration={3}
/>
</div>
<div className="info">
<div className="title">TEST TEST TEST</div>
<CountUp
end={calculateGemsXP(results.coins, results.kills).ultimacy}
duration={3}
/>
</div>
</>
)}
</div>
Expand Down
6 changes: 5 additions & 1 deletion client/src/ui/modals/ChangelogModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
}

.important {
font-size: 45px;
font-size: 33px;
}

.announcement {
color: red
}

.primary-link {
Expand Down

0 comments on commit 8933818

Please sign in to comment.