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

10 lines
252 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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`)
}