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

6 lines
355 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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")})
2024-05-16 17:57:51 +02:00
this.actor.gardenOfCorpses = true;
// local storage is sufficient to prevent multiple messages
}