Add all systems effects scripts
This commit is contained in:
7
scripts/3IGO7xEjRjat937X.js
Normal file
7
scripts/3IGO7xEjRjat937X.js
Normal file
@ -0,0 +1,7 @@
|
||||
let fatigue = this.actor.hasCondition("fatigued")
|
||||
if (fatigue)
|
||||
{
|
||||
this.script.scriptNotification("Removing Fatigued Condition, disabled effect")
|
||||
this.effect.update({disabled : true})
|
||||
await this.actor.removeCondition("fatigued")
|
||||
}
|
Reference in New Issue
Block a user