Shop: XP kaufen oben, Refresh darunter

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
team3
2026-07-23 07:33:30 +02:00
parent 8458dd238a
commit 622ca942ca

View File

@@ -47,14 +47,6 @@ function owned(api) {
<div class="shoprow">
<div class="controls">
<button
class="ctrl"
:disabled="store.state.player.gold < store.state.reroll_cost"
@click="store.reroll()"
>
<span class="ctrl-label">Refresh</span>
<span class="ctrl-cost">🪙 {{ store.state.reroll_cost }} </span>
</button>
<button
class="ctrl"
:disabled="store.state.player.xp_needed === null || store.state.player.gold < store.state.xp_cost"
@@ -63,6 +55,14 @@ function owned(api) {
<span class="ctrl-label">XP kaufen</span>
<span class="ctrl-cost">🪙 {{ store.state.xp_cost }} </span>
</button>
<button
class="ctrl"
:disabled="store.state.player.gold < store.state.reroll_cost"
@click="store.reroll()"
>
<span class="ctrl-label">Refresh</span>
<span class="ctrl-cost">🪙 {{ store.state.reroll_cost }} </span>
</button>
</div>
<div class="cards">