feat: endurance tickets — coûts visibles partout + budget dashboard
All checks were successful
CI/CD — Build & Deploy / Build & Deploy (push) Successful in 31s

Combat: coût 5 affiché, compteur "X combats possibles", bouton disabled
Forge: coût 10 + or affiché (baissé de 15 à 10), bouton disabled
Dashboard: indicateur budget "X combats · Y forges · Z repos"
Repos: coût 10 affiché, disabled si insuffisant
This commit is contained in:
2026-03-24 17:09:06 +01:00
parent cfdc5c9b02
commit eafac3d8c7
4 changed files with 98 additions and 36 deletions

View File

@@ -18,7 +18,7 @@ const FORGE_GOLD_COST: Record<number, number> = {
5: 1000,
};
const FORGE_ENDURANCE_COST = 15;
const FORGE_ENDURANCE_COST = 10;
// Risque d'échec par niveau cible (GDD exact)
const FORGE_FAIL_CHANCE: Record<number, number> = {