foundryvtt-wh4-lang-fr-fr/reference_scripts/9WZa63lr0K3SsP4G.js

7 lines
198 B
JavaScript

let sourceItem = this.effect.sourceItem;
if (sourceItem)
{
this.actor.applyEffect({effectUuids : [sourceItem.effects.contents[2].uuid]})
this.script.scriptNotification("Applied after effects");
}