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

12 lines
256 B
JavaScript
Raw Permalink Normal View History

let talent = this.actor.has("Magie des Arcanes (Lumière)", "talent")
2024-05-16 17:57:51 +02:00
let demon = this.actor.has(game.i18n.localize("NAME.Daemonic"))
if (!talent)
{
await this.actor.addCondition("blinded")
}
if (demon)
{
await this.actor.addCondition("stunned")
}