Add all systems effects scripts + translations
This commit is contained in:
7
reference_scripts/0mrUnxzufYgsR0Ph.js
Normal file
7
reference_scripts/0mrUnxzufYgsR0Ph.js
Normal file
@ -0,0 +1,7 @@
|
||||
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