Commit Graph

35 Commits

Author SHA1 Message Date
uberwald f9f07cbc7e fix: migrate combat system from d6 to d10 to match official rules
- Change all dice rolls in fight.mjs from d6 to d10
- Implement success counting system (dice >= difficulty) as per Vermine2047 rules
- Add d10 success class to dice that meet or exceed difficulty
- Display success count in confrontation UI
- Update chat message handler to count successes instead of summing dice
- Add comprehensive JSDoc documentation to performTest method
- Add missing French translations for fight tool terms

This corrects a critical inconsistency where fight.mjs was using d6
while the official Vermine2047 rules and the rest of the system (roll.mjs)
use d10 with success counting.

Compatibility: FoundryVTT v11-v14

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-04 16:48:57 +02:00
uberwald 386d80639c code review: fix critical issues and improve code quality
- Fix constructor in rollDialog.mjs (spread operator for options)
- Remove all console.log statements from production code
- Add comprehensive JSDoc comments for all public APIs
- Convert French comments to English for consistency
- Use parseInt with radix parameter (10) throughout
- Replace let with const where appropriate
- Use Set for O(1) lookups in group-link.mjs methods
- Use spread operators for array cloning
- Optimize removeActorFromAllGroups with Set lookups
- Improve registerHooks with better comments and Set usage
- Simplify roll-message.hbs template logic
- Fix duplicate VERMINE key in lang/fr.json
- Add missing error translations
- Add .eslintrc.js with FoundryVTT-compatible linting config

Compatibility: FoundryVTT v11-v14

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-04 13:33:58 +02:00
uberwald 716c1b49ae Finalisation complète du système Vermine2047 pour FoundryVTT v14
Implémentations majeures:
- Classe GroupLink pour synchronisation bidirectionnelle acteurs↔groupes
- Configuration complète des totems, PNJ et créatures
- Redesign du RollDialog avec interface compacte et sélecteurs
- Bonus/malus par domaine de totem
- Réussites automatiques et seuils auto basés sur niveau de maîtrise
- Choix du totem à garder avec recalcul des réussites
- Conversion tous templates chat cards en .hbs
- Fiches PNJ et Créature avec sélecteurs pour tous les niveaux
- Documentation technique (ARCHITECTURE.md) et utilisateur (GUIDE_UTILISATEUR.md)
- Mise à jour system.json pour compatibilité v14
- Tous les TODOs du README.md complétés

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-04 11:46:40 +02:00
rwanoux 15bb1756ef fixe de la categorie machine 2024-11-22 18:14:52 +01:00
rwanoux 74e11d439c plein de truc 2024-04-21 16:51:13 +02:00
François-Xavier Guillois f483a219c1 v0.1.13 2023-09-07 17:53:00 +02:00
François-Xavier Guillois fddb054160 effacement des packs pour mettre les binaires 2023-09-07 12:23:31 +02:00
François-Xavier Guillois 55c3d09490 v0.1.9 2023-09-06 17:18:58 +02:00
François-Xavier Guillois 848366e05c basis of wound system 2023-09-05 15:04:06 +02:00
François-Xavier Guillois 983f856187 v0.1.6 2023-09-05 12:06:22 +02:00
François-Xavier Guillois e1238a1ad1 v0.1.5 2023-09-04 11:17:46 +02:00
François-Xavier Guillois 5600e37991 npc sheet 2023-09-04 09:44:41 +02:00
François-Xavier Guillois 7677c79582 v0.1.3 2023-09-03 16:02:30 +02:00
François-Xavier Guillois 918b7c0b0c totem abilities 2023-09-01 12:07:59 +02:00
François-Xavier Guillois 39c984156b group header 2023-09-01 09:49:46 +02:00
François-Xavier Guillois ff6be3989e totem picker done 2023-08-31 19:18:37 +02:00
François-Xavier Guillois 987bb9fd6e application choose totem 2023-08-30 22:48:31 +02:00
François-Xavier Guillois f605cd14d6 gestion de l'age 2023-08-30 10:33:26 +02:00
François-Xavier Guillois 9f760deee0 difficultés 2023-08-25 16:15:04 +02:00
François-Xavier Guillois c57c355066 attitudes 2023-08-25 15:35:43 +02:00
François-Xavier Guillois 641d2a892a v.0.0.16 2023-08-25 10:36:25 +02:00
François-Xavier Guillois e5396b6991 vehicules pour la feuille de groupe - v0.0.14 2023-06-06 16:02:39 +02:00
François-Xavier Guillois aed892e4d4 totems - v0.0.13 2023-06-06 14:22:00 +02:00
François-Xavier Guillois 2b5e639e9e from totem to vermine - v0.0.12 2023-06-06 11:06:04 +02:00
François-Xavier Guillois d388c3ba4b page histoire - v0.0.11 2023-06-05 21:27:34 +02:00
François-Xavier Guillois af5ce9efcd v0.0.9 2023-06-05 14:00:04 +02:00
François-Xavier Guillois 4421e4de2e header + template 0.0.8 2023-06-05 11:48:50 +02:00
François-Xavier Guillois 731f94dbb0 new item types - 0.0.7 2023-06-05 10:06:11 +02:00
François-Xavier Guillois 411c8f9bce sheet terms 2023-05-30 15:42:33 +02:00
François-Xavier Guillois cb71f649f1 copy from gods 2023-05-30 15:01:27 +02:00
François-Xavier Guillois 2dacf17369 roll dice 2023-05-18 23:19:05 +02:00
François-Xavier Guillois 03d71ecd3c underscore 2023-05-18 19:54:32 +02:00
François-Xavier Guillois 8e2e3d1ebf rolling 2023-05-17 17:39:50 +02:00
François-Xavier Guillois 5761587649 first page 2023-04-20 18:27:54 +02:00
François-Xavier Guillois fa8e32f4dd boilerplate 2023-04-19 17:10:01 +02:00