#171 - Gestion des potions de repos

This commit is contained in:
2021-04-09 15:23:48 +02:00
parent 38b58cd4b0
commit 31d2c01ebb
8 changed files with 141 additions and 25 deletions

View File

@ -60,6 +60,11 @@ export class RdDHerbes extends Item {
}
}
/* -------------------------------------------- */
static calculePointsRepos( data ) {
return data.herbebonus * data.pr;
}
/* -------------------------------------------- */
static calculePointsGuerison( data ){
return data.herbebonus * data.pr;