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

5 lines
205 B
JavaScript

if (this.actor.status.advantage.value && !this.actor.sameSideAs(this.effect.sourceActor))
{
this.actor.modifyAdvantage(-1);
this.script.scriptNotification(`${this.actor.name} loses 1 Advantage`);
}