Fix bonus case
This commit is contained in:
parent
b0a28c2666
commit
5315c591c1
@ -114,7 +114,7 @@ export class RdDItemSort extends Item {
|
||||
let bonusCaseList = this.buildBonusCaseList(sort.data.bonuscase, false);
|
||||
for( let bc of bonusCaseList) {
|
||||
if (bc.case == coordTMR) { // Case existante
|
||||
return bc.bonus;
|
||||
return Number(bc.bonus);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "foundryvtt-reve-de-dragon",
|
||||
"title": "Rêve de Dragon",
|
||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||
"version": "1.2.30",
|
||||
"version": "1.2.31",
|
||||
"manifestPlusVersion": "1.0.0",
|
||||
"minimumCoreVersion": "0.7.5",
|
||||
"compatibleCoreVersion": "0.7.8",
|
||||
|
Loading…
Reference in New Issue
Block a user