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

7 lines
371 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
if (this.actor.flags.holed.half !== true) return;
if (this.actor.flags.holed.reminded === true) return;
const speaker = ChatMessage.getSpeaker({actor: this.actor});
this.script.scriptMessage(`<p><b>${speaker.alias}</b> tombe lourdements dans l'eau. A moins que la cargaison soit étanche, elle perd [[d10]]% de sa valeur.</p>`);
this.actor.flags.holed.reminded = true;