forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
5
scripts/0hgTyeaEhMBLwzUn.js
Normal file
5
scripts/0hgTyeaEhMBLwzUn.js
Normal file
@@ -0,0 +1,5 @@
|
||||
let fearCounter = this.item.effects.filter(i => i.name == this.effect.name).length;
|
||||
|
||||
fearCounter += Number(this.actor.has("Peur")?.system.specification.value) || 0
|
||||
|
||||
game.wfrp4e.utility.postPeur(fearCounter || 1, this.effect.name)
|
||||
Reference in New Issue
Block a user