Fix: static DiceTerm.getResultLabel
La méthode n'est plus statique
This commit is contained in:
parent
80629d4a07
commit
2ebd70827b
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user