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

15 lines
571 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
// Victims that take at least 1 Wound from a Fell Dagger
// immediately take a Poisoned Condition
// resisted with a Difficult (-10) Endurance Test.
// TODO: Add Venom strength to message
if (args.totalWoundLoss > 0)
{
args.actor.addCondition("poisoned")
this.script.scriptMessage(`
<strong>${this.effect.name}</strong>:<br>
<strong>${args.actor.name}</strong> has been given a @Condition[Poisoned] Condition, which can be resisted with a <strong>Difficult (-10) Endurance</strong> Test.`,
{whisper: ChatMessage.getWhisperRecipients("GM")})
}