forked from public/foundryvtt-reve-de-dragon
Fix calendrier et potions enchantees
This commit is contained in:
committed by
Vincent Vandemeulebrouck
parent
30b4881151
commit
b4778f7488
@ -382,7 +382,7 @@ export class RdDActor extends Actor {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async verifierPotionsEnchantees() {
|
||||
let potionsEnchantees = this.filterItemsData(it => it.type == 'potion' && it.data.magique);
|
||||
let potionsEnchantees = this.filterItemsData(it => it.type == 'potion' && it.data.categorie.toLowerCase().includes('enchant') );
|
||||
for (let potion of potionsEnchantees) {
|
||||
if (!potion.prpermanent) {
|
||||
console.log(potion);
|
||||
|
Reference in New Issue
Block a user