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

10 lines
252 B
JavaScript
Raw Permalink Normal View History

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`)
}