AJout d'une aide pour les macros
This commit is contained in:
@@ -191,6 +191,11 @@ export class BoLRoll {
|
||||
return;
|
||||
}
|
||||
alchemy = foundry.utils.duplicate(alchemy)
|
||||
return this.alchemyCheckWithItem(actor, alchemy)
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static alchemyCheckWithItem(actor, alchemy) {
|
||||
let alchemyData = alchemy.system
|
||||
if (alchemyData.properties.pccurrent < alchemyData.properties.pccost) {
|
||||
ui.notifications.warn("Pas assez de Points de Création investis dans la Préparation !")
|
||||
|
||||
Reference in New Issue
Block a user