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

7 lines
359 B
JavaScript
Raw Permalink Normal View History

2024-06-06 21:09:27 +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> sits heavily in the water. Unless the cargo is waterproof, it loses [[d10]]% of its value.</p>`);
this.actor.flags.holed.reminded = true;