forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
5
scripts/oQI06eh8mJ9UqETO.js
Normal file
5
scripts/oQI06eh8mJ9UqETO.js
Normal file
@@ -0,0 +1,5 @@
|
||||
if (this.item.system.disabled) {
|
||||
await this.effect.deleteCreatedItems();
|
||||
} else if (!this.actor.items.find(i => i.name === "Furtif")) {
|
||||
await this.actor.addEffectItems("Compendium.wfrp4e-core.items.Item.OzwDT6kzoLYeeR2d", this.effect);
|
||||
}
|
||||
Reference in New Issue
Block a user