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

4 lines
378 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.opposedTest.result.differenceSL >= 0 && args.opposedTest.result.differenceSL <= 2 && args.opposedTest.result.winner == "attacker")
{
this.script.scriptMessage(`Emits a cloud of foul-smelling blackpowder. Enable the <strong>Fellowship Penalty</strong> Active Effect on @UUID[${this.actor.uuid}].`, {blind : true, whisper : ChatMessage.getWhisperRecipients("GM")})
}