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

10 lines
253 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(`Suppression de ${fatigued.conditionValue} états Fatigué`)
2024-05-16 17:57:51 +02:00
fatigued.delete();
}
else
{
this.script.scriptNotification(`Aucun état Fatigué`)
2024-05-16 17:57:51 +02:00
}