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

15 lines
573 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> reçoit un état @Condition[Empoisonné], qui peut être résisté avec un <strong>Test de Résistance Difficile (-10)</strong>.`,
2024-05-16 17:57:51 +02:00
{whisper: ChatMessage.getWhisperRecipients("GM")})
}