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

6 lines
362 B
JavaScript
Raw Permalink Normal View History

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