Add all systems effects scripts
This commit is contained in:
8
scripts/iT3C15fMyQrj1RmG.js
Normal file
8
scripts/iT3C15fMyQrj1RmG.js
Normal file
@ -0,0 +1,8 @@
|
||||
if (this.actor.has("Undead") && this.actor.has("Ethereal"))
|
||||
{
|
||||
this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {skipTargets: true, appendTitle : " - " + this.effect.name}).then(async test => {
|
||||
await test.roll();
|
||||
if(test.failed)
|
||||
this.actor.addCondition("stunned")
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user