Fix caracXP, chance, /payer
This commit is contained in:
parent
3582fa9c8a
commit
2972504640
@ -553,7 +553,10 @@ export class RdDUtility {
|
|||||||
// Gestion du bouton payer
|
// Gestion du bouton payer
|
||||||
html.on("click", '#payer-button', event => {
|
html.on("click", '#payer-button', event => {
|
||||||
let sumdenier = event.currentTarget.attributes['data-somme-denier'].value;
|
let sumdenier = event.currentTarget.attributes['data-somme-denier'].value;
|
||||||
let quantite = event.currentTarget.attributes['data-quantite'].value;
|
let quantite = 1;
|
||||||
|
if ( event.currentTarget.attributes['data-quantite'] ) {
|
||||||
|
quantite = event.currentTarget.attributes['data-quantite'].value;
|
||||||
|
}
|
||||||
let jsondata = event.currentTarget.attributes['data-jsondata']
|
let jsondata = event.currentTarget.attributes['data-jsondata']
|
||||||
let objData
|
let objData
|
||||||
if (jsondata) {
|
if (jsondata) {
|
||||||
|
@ -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.3.39",
|
"version": "1.3.40",
|
||||||
"manifestPlusVersion": "1.0.0",
|
"manifestPlusVersion": "1.0.0",
|
||||||
"minimumCoreVersion": "0.7.5",
|
"minimumCoreVersion": "0.7.5",
|
||||||
"compatibleCoreVersion": "0.7.9",
|
"compatibleCoreVersion": "0.7.9",
|
||||||
|
Loading…
Reference in New Issue
Block a user