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

8 lines
248 B
JavaScript
Raw Normal View History

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`)