Files
foundryvtt-wh4-lang-fr-fr/scripts/XSbQKrrbjsN15Zp9.js

7 lines
250 B
JavaScript

if (!args.messageSent)
{
args.messageSent = true;
let advantage = this.item.effects.filter(i => i.name == this.effect.name).length;
this.actor.setAdvantage(advantage)
this.script.message(`Allies within 12 yards gain ${advantage} Advantage`)
}