Files
wfrp-4e-de/scripts/yAL0YwZWVm8o1nxa.js
2025-05-15 23:03:43 +02:00

6 lines
362 B
JavaScript

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
}