forked from public/foundryvtt-reve-de-dragon
#131 Commande astro ajoutée
This commit is contained in:
@ -84,6 +84,11 @@ export class RdDCalendrier extends Application {
|
||||
return day+" "+heuresList[month];
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getCurrentHeure() {
|
||||
return heuresList[this.calendrier.heureRdD];
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
getCurrentDayIndex( ) {
|
||||
return (this.calendrier.moisRdD * 28) + this.calendrier.jour;
|
||||
@ -283,7 +288,7 @@ export class RdDCalendrier extends Application {
|
||||
}
|
||||
}
|
||||
else {
|
||||
ui.notifications.warn(this.data.name + " n'a pas d'heure de naissance, ou elle est incorrecte");
|
||||
ui.notifications.warn(name + " n'a pas d'heure de naissance, ou elle est incorrecte : " + heureNaissance);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user