12 lines
256 B
JavaScript
12 lines
256 B
JavaScript
let talent = this.actor.has("Magie des Arcanes (Lumière)", "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")
|
|
} |