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

6 lines
355 B
JavaScript

if (this.actor.hasCondition("dead") && !this.actor.gardenOfCorpses)
{
this.script.scriptMessage("[[3d10]] @UUID[Compendium.wfrp4e-core.actors.T79RqnDOAQLn3I1s]{zombies} sortent des décombres.", {whisper : ChatMessage.getWhisperRecipients("GM")})
this.actor.gardenOfCorpses = true;
// local storage is sufficient to prevent multiple messages
}