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

8 lines
248 B
JavaScript

let poisoned = args.actor.hasCondition("poisoned")
if (poisoned)
{
this.script.scriptNotification(`Removed ${poisoned.conditionValue} Poisoned Conditions`)
poisoned.delete();
}
else
this.script.scriptNotification(`No Poisoned Conditions`)