Fix bonus case

This commit is contained in:
sladecraven 2021-01-22 14:32:46 +01:00
parent b0a28c2666
commit 5315c591c1
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ export class RdDItemSort extends Item {
let bonusCaseList = this.buildBonusCaseList(sort.data.bonuscase, false); let bonusCaseList = this.buildBonusCaseList(sort.data.bonuscase, false);
for( let bc of bonusCaseList) { for( let bc of bonusCaseList) {
if (bc.case == coordTMR) { // Case existante if (bc.case == coordTMR) { // Case existante
return bc.bonus; return Number(bc.bonus);
} }
} }
return 0; return 0;

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.2.30", "version": "1.2.31",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5", "minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.8", "compatibleCoreVersion": "0.7.8",