forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
12
reference_scripts/pNPjXEoQGHLKzq0r.js
Normal file
12
reference_scripts/pNPjXEoQGHLKzq0r.js
Normal file
@ -0,0 +1,12 @@
|
||||
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")
|
||||
}
|
Reference in New Issue
Block a user