forked from public/foundryvtt-wh4-lang-fr-fr
Nombreuses corections de scripts...
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
// Imbibing this substance grants the user the utilisateur d Creature Trait.
|
||||
const hasutilisateur d = this.actor.has("Insensible à la douleur");
|
||||
if (hasutilisateur d === undefined)
|
||||
// Imbibing this substance grants the user the Painless Creature Trait.
|
||||
const hasPainless = this.actor.has("Insensible à la douleur");
|
||||
if (hasPainless === undefined)
|
||||
{
|
||||
let item = await fromUuid("Compendium.wfrp4e-core.items.wMwSRDmgiF2IdCJr");
|
||||
let data = item.toObject()
|
||||
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect: this.effect.id})
|
||||
|
||||
this.script.message(
|
||||
this.script.scriptMessage(
|
||||
`<p><strong>${this.actor.prototypeToken.name}</strong> a acquis le Trait de Créature Insensible à la douleur. Cet
|
||||
effet dure une heure, après quoi il se dissipe et l'effet complet
|
||||
de toutes les blessures du buveur s'abat d'un coup.</p>
|
||||
|
||||
Reference in New Issue
Block a user