Add all systems effects scripts + translations
This commit is contained in:
@ -5,8 +5,8 @@ await test.roll()
|
||||
if (test.failed)
|
||||
{
|
||||
this.actor.addCondition("poisoned", 2)
|
||||
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> has gained 2 @Condition[Poisoned] Conditions.</p>
|
||||
<p>Any being with the Bestial Creature Trait that bites them and takes damage will not bite them again during a hostile encounter, though the creature may still attack them in other ways.</p>`,
|
||||
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> reçoit 2 états @Condition[Empoisonné].</p>
|
||||
<p>Toute créature avec le Trait Bestial qui le mord et provoque des dégats ne le mordra pas à nouveau durant un combat, la créature pouvant toutefois attaquer avec d'autres méthodes si disponibles..</p>`,
|
||||
{
|
||||
whisper: ChatMessage.getWhisperRecipients("GM"),
|
||||
blind: true
|
||||
@ -16,7 +16,7 @@ if (test.failed)
|
||||
else if (test.succeeded)
|
||||
{
|
||||
// Don't attempt to add Corrosive Blood if actor already has it
|
||||
const hasCorrosiveBlood = this.actor.has("Corrosive Blood")
|
||||
const hasCorrosiveBlood = this.actor.has("Sang corrosif")
|
||||
if (hasCorrosiveBlood !== undefined) return
|
||||
|
||||
let item = await fromUuid("Compendium.wfrp4e-core.items.M5QSWOYt2Rbv2yxW")
|
||||
@ -24,6 +24,6 @@ else if (test.succeeded)
|
||||
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect: this.effect.id})
|
||||
|
||||
const duration = 3 + parseInt(test.result.SL)
|
||||
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> gains the Corrosive Blood Trait for ${duration} rounds.</p>`,
|
||||
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> gagne le Trait Sang Corrosif pour ${duration} rounds.</p>`,
|
||||
{ whisper: ChatMessage.getWhisperRecipients("GM"), blind: true })
|
||||
}
|
Reference in New Issue
Block a user