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

7 lines
198 B
JavaScript
Raw Permalink Normal View History

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