2024-05-16 17:57:51 +02:00
|
|
|
let fatigued = this.actor.hasCondition("fatigued")
|
|
|
|
if (fatigued)
|
|
|
|
{
|
2024-05-17 12:46:44 +02:00
|
|
|
this.script.scriptNotification(`Suppression de ${fatigued.conditionValue} états Fatigué`)
|
2024-05-16 17:57:51 +02:00
|
|
|
fatigued.delete();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2024-05-17 12:46:44 +02:00
|
|
|
this.script.scriptNotification(`Aucun état Fatigué`)
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|