Add all systems effects scripts + translations
This commit is contained in:
10
reference_scripts/b2Kb4IuD22RhKhR0.js
Normal file
10
reference_scripts/b2Kb4IuD22RhKhR0.js
Normal file
@ -0,0 +1,10 @@
|
||||
let actor = Array.from(game.user.targets)[0]?.actor;
|
||||
|
||||
if (actor)
|
||||
{
|
||||
actor.applyEffect({effectUuids : this.effect.sourceItem.effects.contents[0].uuid})
|
||||
}
|
||||
else
|
||||
{
|
||||
this.script.scriptNotification("No target!", "error")
|
||||
}
|
Reference in New Issue
Block a user