Fix: static DiceTerm.getResultLabel

La méthode n'est plus statique
This commit is contained in:
Vincent Vandemeulebrouck 2021-05-27 19:43:08 +02:00
parent 80629d4a07
commit 2ebd70827b

View File

@ -46,7 +46,7 @@ export class De7 extends Die {
return this.values.filter(it => it != 8).reduce(Misc.sum(), 0);
}
static getResultLabel(result) {
getResultLabel(result) {
switch (result) {
case 7: return imgSigneDragon;
}
@ -112,7 +112,7 @@ export class DeHeure extends Die {
super(termData);
}
static getResultLabel(result) {
getResultLabel(result) {
return img(imagesHeures[result - 1]);
}
}