Commit Graph

36 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 cc92f5a418 Fix: Complete correction of image paths and item types in all compendium packs
Corrige TOUS les problèmes de chemins d'images et de types d'items :

1. Chemins d'images incorrects (3 variantes) :
   - systems/fvtt-mournblade/assets/icons/ → systems/fvtt-mournblade-cyd-2-0/assets/icons/
   - systems/fvtt-mournblade-cyd2/assets/icons/ → systems/fvtt-mournblade-cyd-2-0/assets/icons/

2. Type d'item invalide :
   - 4 boucliers (Écu d'acier, Pavois, Bouclier d'Infanterie, Targe)
     avaient le type 'bouclier' → corrigé en 'protection'

Packs corrigés : armes, protections, equipement, dons, runes, tendances,
 traits-chaotiques, historiques, profils, talents, skills, skills-creatures, pnj-creatures

Total: 1136+ items corrigés

Cela corrige l'erreur: 'Cannot convert undefined or null to object'
lors de l'ouverture des items dans les compendiums.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-05-24 16:11:21 +02:00
uberwald b877262283 Minor fixes from v14 feedback
Release Creation / build (release) Successful in 8m22s
14.0.1
2026-05-23 23:07:10 +02:00
uberwald d120da6718 Ready for release
Release Creation / build (release) Successful in 11m34s
14.0.0
2026-04-04 19:08:22 +02:00
uberwald ef609136e2 Ready for release
Release Creation / build (release) Failing after 11m26s
2026-04-04 18:50:36 +02:00
uberwald d9e770a250 Ready for release 2026-04-04 18:50:33 +02:00
uberwald 7c500f3ef4 Ready for release 2026-04-04 18:46:55 +02:00
uberwald 56b58565d1 Derniers fix de sécurité et assimilé 2026-04-04 09:40:30 +02:00
uberwald 1fb80f6abe Rework fiches, jets de dés et CSS 2026-04-03 16:22:51 +02:00
uberwald e001ec0dc9 fix: améliore lisibilité des short-label dans les headers de listes
Change la couleur des labels de colonnes (Allégeance, Haut Parler, Difficulté...)
de l'or #c0a870 vers un crème clair #ddd0b8, plus lisible sur le fond sombre
des rangées items-title-bg.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 09:44:42 +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 f0969c9eb4 Aesthetic overhaul: all 6 PJ sheet tabs styled with Mournblade theme
- Section boxes, item lists with alternating rows and hover effects
- Dark header rows (CentaurMT font, uppercase, gold text)
- 28x28px item icons with brown border
- Roll buttons: warm dark gradient with hover glow
- Chat/action buttons: blue gradient
- Predilection text: small italic muted gold
- Defense values in blue, gold argent banners
- Bio grid fields styled, description section header with accent
- Rich text editor area styled

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 09:15:29 +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 28cab15b37 Fix select text clipping in header stat cards
Use height:auto + padding:1px instead of fixed 20px height so browser
renders select text without vertical clipping.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-03 07:57:12 +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 23b105a47e Prepare for v14 2026-04-02 22:22:42 +02:00
uberwald faf452f797 Prepare for v14 2026-04-02 22:22:26 +02:00
uberwald 9fd13b2615 DAtaModels + Appv2 migration : OK 2026-04-02 22:14:30 +02:00
uberwald 7a2a3df391 DAtaModels + Appv2 migration : OK 2026-04-02 21:39:33 +02:00
uberwald a11b3495a5 DAtaModels + Appv2 migration : OK 2026-04-02 21:34:33 +02:00
uberwald a37ad2cc82 DAtaModels + Appv2 migration : OK 2026-04-02 21:33:56 +02:00
uberwald 4def580296 Fix wrong sheets 2025-10-26 14:46:58 +01:00
uberwald f5a5c25533 Fix wrong sheets fvtt-mournblade-cyd2-13.0.0 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 0ca408b79b New logo 2025-10-26 00:42:48 +02:00
uberwald 7107516a28 Initial import 2025-10-26 00:31:32 +02:00