12 lines
248 B
JavaScript
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")
|
||
|
}
|