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

5 lines
377 B
JavaScript
Raw Permalink 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(`Becomes lodged in the armour or flesh of the opponent. See @UUID[${this.item.uuid}]{${this.item.name}}.`, {alias : this.item.name}, {blind: true, whisper : ChatMessage.getWhisperRecipients("GM")})
2024-05-16 17:57:51 +02:00
}