forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
8
reference_scripts/ID8mCcjkl7PCQhDq.js
Normal file
8
reference_scripts/ID8mCcjkl7PCQhDq.js
Normal file
@ -0,0 +1,8 @@
|
||||
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Dodge"), {skipTargets: true, appendTitle : ` - ${this.effect.name}`})
|
||||
await test.roll();
|
||||
|
||||
if(test.failed)
|
||||
{
|
||||
let damage = this.effect.sourceItem.system.computeSpellDamage("3", true);
|
||||
this.script.scriptMessage(await this.actor.applyBasicDamage(damage, {suppressMsg: true, damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_AP}))
|
||||
}
|
Reference in New Issue
Block a user