foundryvtt-wh4-lang-fr-fr/reference_scripts/j98hvy6r9G2Vjmid.js

12 lines
445 B
JavaScript

if (args.totalWoundLoss > 0)
{
args.opposedTest.result.other.push(
`@Corruption[minor]{Minor Exposure to Corruption}`
)
this.script.scriptMessage(
`<strong>${this.effect.name}</strong>:
@Corruption[minor]{Minor Exposure to Corruption} <br/>
<strong>${args.actor.prototypeToken.name}</strong> must take an
<strong>Average (+20%) Corruption (Minor) Test</strong>`,
{whisper: ChatMessage.getWhisperRecipients("GM")})
}