Enchanter des Potions
This commit is contained in:
@ -334,6 +334,12 @@ export class RdDTimestamp {
|
||||
return this.nouvelleHeure().addHeures((12 + heure - this.heure) % 12);
|
||||
}
|
||||
|
||||
debutJournee() {
|
||||
return RdDTimestamp.timestamp(this.timestamp.annee,
|
||||
this.timestamp.mois,
|
||||
this.timestamp.jour)
|
||||
}
|
||||
|
||||
async appliquerDuree(duree, actor) {
|
||||
const formule = FORMULES_DUREE.find(it => it.code == duree) ?? FORMULES_DUREE.find(it => it.code == "");
|
||||
return await formule.calcul(this, actor);
|
||||
|
Reference in New Issue
Block a user