20 Commits

Author SHA1 Message Date
uberwald 2e14c70a02 Feat: Add 'Coût en Pouvoir' field to Rune items
Ajoute un champ numérique 'coutAme' (entier, défaut=0) pour les runes :
- DataModel: Ajout du champ dans modules/models/rune.mjs
- Template fiche: Ajout du champ 'Coût en Pouvoir' dans templates/item-rune-sheet.hbs
- Template post: Ajout de l'affichage dans templates/post-item.hbs

Ce champ permet de spécifier le coût en Pouvoir pour chaque rune,
et s'affiche à la fois dans la fiche et dans le chat.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-24 16:44:45 +02:00
uberwald 2d5b844796 Fix: Add predilections and description to competence post-item template
Améliore l'affichage des compétences dans le chat en ajoutant :
- La liste des prédilections avec leurs propriétés (nom, description, maîtrisée, acquise, utilisée)
- La description est déjà affichée (déjà présente dans le template)

Cela permet aux joueurs de voir toutes les informations importantes
lorsqu'une compétence est postée dans le chat.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-24 16:25:46 +02:00
uberwald c62131ac97 Fix: Add missing data-action attributes to competence sheet predilection buttons
Corrige le bouton 'Ajouter une prédilection' qui ne fonctionnait pas
à cause de l'absence de l'attribut data-action requis par AppV2.

Modifications:
- Ajout de data-action="addPredilection" au bouton d'ajout
- Ajout de data-action="deletePredilection" au bouton de suppression
- Ajout des attributs name= aux champs de prédilection pour la sauvegarde automatique

Cela corrige le problème: le bouton 'Ajouter une prédilection' ne répondait pas
lorsqu'on cliquait dessus dans la fiche de compétence.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-24 16:20:32 +02:00
uberwald b877262283 Minor fixes from v14 feedback
Release Creation / build (release) Successful in 8m22s
2026-05-23 23:07:10 +02:00
uberwald 1fb80f6abe Rework fiches, jets de dés et CSS 2026-04-03 16:22:51 +02:00
uberwald b255a628fe Fix creature sheet: complete TECHNIQUE tab + copper theme
- Fix tabGroups 'stats'→'principal' (tab content was invisible)
- Add 'creature' CSS class to distinguish from personnage sheet
- New header layout: stat cards (Ressources, Vigueur, Combat)
- Rewrite creature template with full TECHNIQUE tab content:
  * Attributes with icons and level dropdowns (0-35)
  * Vitesse input
  * Santé section (Vigueur seuil)
  * Actions de combat (Initiative, Monté/Déf. totale, Assommer,
    Coup bas, Immobiliser, Repousser, Désengager)
  * Adversités section (reuses personnage CSS classes)
- Copper/orange CSS theme for .creature class overrides
- Add .stat-derived-value CSS for non-editable derived stats

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 09:35:12 +02:00
uberwald e67ecd9238 Add adversité total malus display
Show 'MALUS JETS -X' below adversité cards. Highlights in red when non-zero.
Value = bleue + rouge + noire (same as nbAdversites used in roll formula).
Tooltip explains it's subtracted from all rolls.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 08:15:30 +02:00
uberwald 21c3c5b88b Homogenize header: VIGUEUR threshold as subtitle like AME
Move vigueur value from standalone big number to inline subtitle (X)
in the card title, matching AME's (Seuil X) pattern.
Remove stat-big-value block from VIGUEUR card.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 08:09:08 +02:00
uberwald 0ce42d0fe3 Redesign adversité section: 3 colored cards layout
Replace vertical list with horizontal card layout matching header style:
- BLEUE (blue), ROUGE (red), NOIRE (dark) cards with top-colored borders
- Gem image 52px with drop-shadow + hover scale
- Large numeric counter (Signika font)
- Colored -/+ buttons (red minus, green plus)
- Modifier fields compact row below cards
- Section title with amber letterhead style

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 08:04:45 +02:00
uberwald c28414dd22 Refactor header: card-based layout with colored stat cards
- Replace flat ul/li header with .header-banner + .header-stat-cards
- 5 colored stat cards: LOI (amber), CHAOS (red), BONNE AVENTURE (green),
  VIGUEUR (maroon), ÂME (navy)
- Profile image: 90px with golden border + hover glow
- Character name: large serif font (CentaurMT) with transparent bg
- Fix overflow: visible on .stat-card to prevent select dropdown clipping
- Fix label colors: dark (#1a1008) instead of white for readability
- VIGUEUR big value: Signika/sans-serif font (avoids CentaurMT 1/I confusion)
- Consistent font sizes and alignment across all stat fields

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 07:53:44 +02:00
uberwald 9754bbc3a8 Update CSS/Look & feel 2026-04-03 00:39:39 +02:00
uberwald a37ad2cc82 DAtaModels + Appv2 migration : OK 2026-04-02 21:33:56 +02:00
uberwald f5a5c25533 Fix wrong sheets 2025-10-26 14:44:06 +01:00
uberwald a39d214f1b Ame/Ame max 2025-10-26 13:47:59 +01:00
uberwald 2fac292459 Ame/Ame max 2025-10-26 13:18:03 +01:00
uberwald 3c776f85fd Ame/Ame max 2025-10-26 12:29:34 +01:00
uberwald 40e11aca1b Ame/Ame max 2025-10-26 11:41:18 +01:00
uberwald 2dc7665a25 Ame/Ame max 2025-10-26 08:49:38 +01:00
uberwald cddc4ce48a New logo 2025-10-26 00:50:45 +02:00
uberwald 7107516a28 Initial import 2025-10-26 00:31:32 +02:00