forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
6
reference_scripts/MnqQkXVp20Lw84I1.js
Normal file
6
reference_scripts/MnqQkXVp20Lw84I1.js
Normal file
@ -0,0 +1,6 @@
|
||||
let test = await this.actor.setupCharacteristic("t", {skipTargets: true, appendTitle : ` - ${this.effect.name}`, fields : {difficulty : "difficult"}})
|
||||
await test.roll();
|
||||
if (test.failed)
|
||||
{
|
||||
this.script.scriptMessage(await this.actor.applyBasicDamage(3, {damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg : true}))
|
||||
}
|
Reference in New Issue
Block a user