foundryvtt-wh4-lang-fr-fr/scripts/7WR2hJjHPhHhHxAq.js

8 lines
255 B
JavaScript
Raw Permalink Normal View History

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