This commit is contained in:
2022-08-31 23:00:41 +02:00
parent 36b905134e
commit fa8f9869a6
4 changed files with 7 additions and 6 deletions

View File

@ -125,6 +125,7 @@ export class BoLActorSheet extends ActorSheet {
formData.attributes = this.actor.attributes
formData.aptitudes = this.actor.aptitudes
formData.resources = this.actor.getResourcesFromType()
formData.xp = this.actor.system.xp
formData.equipment = this.actor.equipment
formData.equipmentCreature = this.actor.equipmentCreature
formData.weapons = this.actor.weapons

View File

@ -127,7 +127,7 @@ export class BoLRoll {
return;
}
alchemy = duplicate(alchemy)
let alchemyData = alchemy.data
let alchemyData = alchemy.system
if (alchemyData.properties.pccurrent < alchemyData.properties.pccost) {
ui.notifications.warn("Pas assez de Points de Cration investis dans la Préparation !")
return