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

5 lines
372 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.opposedTest.result.differenceSL >= 0 && args.opposedTest.result.differenceSL <= 3 && args.opposedTest.result.winner == "attacker")
{
this.script.scriptMessage(`Everyone within 20 feet loses 1 Wound and makes a <strong>Difficult (-10) Endurance</strong> or gains @Condition[Deafened]`, {blind : true, whisper : ChatMessage.getWhisperRecipients("GM")})
}