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

10 lines
259 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let bleeding = this.actor.hasCondition("bleeding")
if (bleeding)
{
this.script.scriptNotification(`Suppression de ${bleeding.conditionValue} états Hémorragiques`)
2024-05-16 17:57:51 +02:00
bleeding.delete();
}
else
{
this.script.scriptNotification(`Aucune Hémorragie`)
2024-05-16 17:57:51 +02:00
}