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

10 lines
252 B
JavaScript

let fatigued = this.actor.hasCondition("fatigued")
if (fatigued)
{
this.script.scriptNotification(`Cleared ${fatigued.conditionValue} Fatigued Conditions`)
fatigued.delete();
}
else
{
this.script.scriptNotification(`No Fatigued Conditions`)
}