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

5 lines
205 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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`);
}