Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 01:07:37 +02:00
parent 0b286ac994
commit 7b97578bd7
191 changed files with 379 additions and 381 deletions

View File

@ -1,12 +1,12 @@
// Imbibing this substance grants the user the Painless Creature Trait.
const hasColdBlooded = this.actor.has("Cold Blooded")
const hasColdBlooded = this.actor.has("A Sang Froid")
if (hasColdBlooded === undefined)
{
let item = await fromUuid("Compendium.wfrp4e-core.items.mCh1KK9jomwFZcLB")
let data = item.toObject()
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect: this.effect.id})
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> has gained the Cold Blooded Creature Trait and may reverse any failed Willpower based Tests.</p>
<p>If they gain a Surprised Condition, this Condition is not lost the first time it should be (which is typically at the end of the Round or if they victim is attacked).</p>`,
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> reçoit le Trait de Créatuer A Sang Froid et peut inverser n'importe quel test de Force Mentale échoué.</p>
<p>Si il reçoit un état Surpris, cet état n'est pas perdu la première fois (typiquement à la fin du Round ou si il est attaqué).</p>`,
{whisper: ChatMessage.getWhisperRecipients("GM"), blind: true })
}