foundryvtt-wh4-lang-fr-fr/reference_scripts/pNPjXEoQGHLKzq0r.js

12 lines
248 B
JavaScript

let talent = this.actor.has("Arcane Magic (Light)", "talent")
let demon = this.actor.has(game.i18n.localize("NAME.Daemonic"))
if (!talent)
{
await this.actor.addCondition("blinded")
}
if (demon)
{
await this.actor.addCondition("stunned")
}