forked from public/foundryvtt-wh4-lang-fr-fr
Sync to latest WFRP release
This commit is contained in:
12
scripts/8Gan2EeGExBFSxmp.js
Normal file
12
scripts/8Gan2EeGExBFSxmp.js
Normal file
@@ -0,0 +1,12 @@
|
||||
let damage = this.effect.sourceTest.result.damage;
|
||||
|
||||
if (this.actor.sizeNum >= game.wfrp4e.config.actorSizeNums.lrg)
|
||||
damage += 7; // goes from +8 to +15;
|
||||
|
||||
if (this.actor.has(game.i18n.localize("NAME.Unstable")))
|
||||
damage *= 2;
|
||||
|
||||
this.actor.applyDamage(damage, {
|
||||
loc: "roll",
|
||||
createMessage: this.script.getChatData()
|
||||
});
|
||||
Reference in New Issue
Block a user