forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
7
reference_scripts/obIXhQXKFyyQoNNV.js
Normal file
7
reference_scripts/obIXhQXKFyyQoNNV.js
Normal file
@ -0,0 +1,7 @@
|
||||
this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle: ` - ${this.effect.name}`, fields: { difficulty: "average" } }).then(async test => {
|
||||
await test.roll()
|
||||
if (test.failed) {
|
||||
this.actor.modifyWounds(-1);
|
||||
this.script.scriptMessage("Takes 1 Damage")
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user