foundryvtt-wh4-lang-fr-fr/scripts/DhZqJso1JWYtGrKk.js

3 lines
279 B
JavaScript

this.actor.addCondition("ablaze")
let damage = this.effect.sourceTest.result.damage + this.effect.sourceTest.result.additionalDamage
this.script.scriptMessage(await this.actor.applyBasicDamage(damage, {damageType : game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg : true}))