Fix calendrier

This commit is contained in:
sladecraven 2021-06-09 07:29:36 +02:00
parent 395092558f
commit 144abe1ddf
2 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,7 @@ export class RdDCalendrier extends Application {
indexJour: index, indexJour: index,
annee: Math.floor(index / (28 * 12)), annee: Math.floor(index / (28 * 12)),
moisRdD: Math.floor(index / 28) % 12, moisRdD: Math.floor(index / 28) % 12,
jour: (index % 28), jour: (index % 28) // Le calendrier stocke le jour en 0-27, mais en 1-28 à l'affichage
} }
return calendrier; return calendrier;
} }

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.4.28", "version": "1.4.29",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.8.0", "minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "0.8.99", "compatibleCoreVersion": "0.8.99",
@ -24,6 +24,9 @@
{ {
"name": "Mandar" "name": "Mandar"
}, },
{
"name": "Marafal"
},
{ {
"name": "Fred" "name": "Fred"
}, },