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

8 lines
255 B
JavaScript

let poisoned = args.actor.hasCondition("poisoned")
if (poisoned)
{
this.script.scriptNotification(`Suppression de ${poisoned.conditionValue} états Empoisonné`)
poisoned.delete();
}
else
this.script.scriptNotification(`Aucun état Empoisonné`)