#38 - Gestion des armes 1/2mains

This commit is contained in:
2020-11-23 21:59:35 +01:00
parent 11bca6fc23
commit 3f73c6fec8
3 changed files with 20 additions and 18 deletions

View File

@ -25,21 +25,21 @@ export class RdDRollDialog extends Dialog {
// Common conf
let dialogConf = { content: html, title: "Test", buttons: myButtons, default: "rollButton" }
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 400, 'z-index': 99999 }
let dialogOptions = { classes: ["rdddialog"], width: 600, height: 460, 'z-index': 99999 }
// Select proper roll dialog template and stuff
if (mode == "competence") {
dialogConf.title = "Test de compétence"
dialogConf.height = 400
dialogOptions.height = 420
} else if (mode == "arme") {
dialogConf.title = "Test de combat/arme"
dialogConf.height = 430
dialogOptions.height = 440
} else if (mode == "carac") {
dialogConf.title = "Test de caractéristique"
dialogOptions.height = 350
dialogOptions.height = 400
} else if (mode == "sort") {
dialogConf.title = "Lancer un sort"
dialogConf.height = 490
dialogOptions.height = 460
}
super(dialogConf, dialogOptions)