Add all systems effects scripts + translations
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
// Imbibing this substance grants the user the Painless Creature Trait.
|
||||
const hasPainless = this.actor.has("Painless");
|
||||
const hasPainless = this.actor.has("Insensible à la douleur");
|
||||
if (hasPainless === undefined)
|
||||
{
|
||||
let item = await fromUuid("Compendium.wfrp4e-core.items.wMwSRDmgiF2IdCJr");
|
||||
@ -7,11 +7,7 @@ if (hasPainless === undefined)
|
||||
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect: this.effect.id})
|
||||
|
||||
this.script.scriptMessage(
|
||||
`<p><strong>${this.actor.prototypeToken.name}</strong> has gained the Painless Creature Trait. This
|
||||
effect lasts for one hour, after which it dissipates and the full effect
|
||||
of all the imbiber's wounds come crashing down at once.</p>
|
||||
<p>Note that this does not prevent the user from acquiring a Critical
|
||||
Wound or dying from one. It merely allows them to ignore most
|
||||
of their effects.</p>`,
|
||||
`<p><strong>${this.actor.prototypeToken.name}</strong> gagne le Trait de Creature Insensible à la Douleur. Cet effet dure 1 heure, après quoi il disparait et le total des Blessures encaissés par le buveur sont encaissés d'un coup.</p>
|
||||
<p>Notez que cela n'empêche pas le buveur de recevoir une Blessure Critique ou de mourrir. Cela permet par contre d'éviter la majorité de leur effets.</p>`,
|
||||
{ whisper: ChatMessage.getWhisperRecipients("GM"), blind: true})
|
||||
}
|
Reference in New Issue
Block a user