// The imbiber immediately // takes 3 Poisoned Conditions that cannot be resisted at first, await this.actor.addCondition("poisoned", 3) // recovers a number of Wounds equal to their Toughness Bonus, await this.actor.modifyWounds(this.actor.system.characteristics.t.bonus) // and acquires the Regenerate Creature Trait. const hasRegenerate = this.actor.has("Regenerate") if (hasRegenerate === undefined) { fromUuid("Compendium.wfrp4e-core.items.SfUUdOGjdYpr3KSR").then(trait => { let traitItem = trait.toObject() this.actor.createEmbeddedDocuments("Item", [traitItem], {fromEffect: this.effect.id}) }) } this.script.scriptMessage(`
${this.actor.prototypeToken.name} has
When all Poisoned Conditions are lost, so too is Regenerate.
`, { whisper: ChatMessage.getWhisperRecipients("GM"), blind: true })