feat: separate skill value/max (transcendence pool vs level)
Release Creation / build (release) Successful in 58s
Release Creation / build (release) Successful in 58s
- skill.value = spendable transcendence pool (editable select) - skill.max = max level (locked by default, unlock btn) - computeRollFormula/computeResults/confront use skill.max - clamp transcendence spend to skill.value - resetTranscendence button in Bio&Notes - v14 compat: duplicate→deepClone, mergeObject→spread, socket fixes - Dialog v1 removed, DragDrop dedup, await fixes
This commit is contained in:
@@ -31,7 +31,7 @@ export class EcrymeCharacterSummary extends HandlebarsApplicationMixin(foundry.a
|
||||
/* -------------------------------------------- */
|
||||
static displayPCSummary() {
|
||||
if (game.user.isGM) {
|
||||
game.system.ecryme.charSummary.render(true)
|
||||
game.ecryme.charSummary.render(true)
|
||||
} else {
|
||||
ui.notifications.info("Commande /summary réservée au MJ !")
|
||||
}
|
||||
@@ -50,7 +50,7 @@ export class EcrymeCharacterSummary extends HandlebarsApplicationMixin(foundry.a
|
||||
return
|
||||
}
|
||||
let charSummary = new EcrymeCharacterSummary()
|
||||
game.system.ecryme.charSummary = charSummary
|
||||
game.ecryme.charSummary = charSummary
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@@ -75,7 +75,7 @@ export class EcrymeCharacterSummary extends HandlebarsApplicationMixin(foundry.a
|
||||
return {
|
||||
pcs,
|
||||
npcs,
|
||||
config: game.system.ecryme.config,
|
||||
config: game.ecryme.config,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user