foundryvtt-wh4-lang-fr-fr/scripts/yzN7ZNlgCiSVJqsU.js

7 lines
198 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let sourceItem = this.effect.sourceItem;
if (sourceItem)
{
this.actor.applyEffect({effectUuids : [sourceItem.effects.contents[1].uuid]})
this.script.scriptNotification("Applied after effects");
}