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

10 lines
254 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let bleeding = this.actor.hasCondition("bleeding")
if (bleeding)
{
this.script.scriptNotification(`Cleared ${bleeding.conditionValue} Bleeding Conditions`)
bleeding.delete();
}
else
{
this.script.scriptNotification(`No Bleeding Conditions`)
}