forked from public/foundryvtt-reve-de-dragon
#171 - Gestion potion de soins (WIP)
This commit is contained in:
@ -3049,6 +3049,13 @@ export class RdDActor extends Actor {
|
||||
await this.update({ 'data.subacteurs.suivants': newSuivants });
|
||||
await this.update({ 'data.subacteurs.montures': newMontures });
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
consommerPotion( potion ) {
|
||||
const potionData = Misc.data(potion);
|
||||
console.log("Potion consommée", potionData);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async onUpdateActor(update, options, actorId) {
|
||||
const updatedEndurance = update?.data?.sante?.endurance;
|
||||
|
Reference in New Issue
Block a user