13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
|
import { RdDItem } from "../item.js";
|
||
|
|
||
|
export class RdDItemMaladie extends RdDItem {
|
||
|
|
||
|
static get defaultIcon() {
|
||
|
return "systems/foundryvtt-reve-de-dragon/icons/maladies_venins/maladie.webp";
|
||
|
}
|
||
|
|
||
|
async calculerFinPeriodeTemporel(debut) {
|
||
|
return await debut.addPeriode(this.system.periode.nombre, this.system.periode.unite) ;
|
||
|
}
|
||
|
|
||
|
}
|