buttonpushertv

FVTT-Remove Conditions

Jun 21st, 2021
570
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for ( let token of canvas.tokens.controlled ){
  2.   removal();
  3. }
  4.  
  5. async function removal() {
  6.   await game.cub.removeAllConditions();
  7.   await token.update({effects: [], overlayEffect: ""});
  8.   await token.update({"overlayEffect" : ''});
  9. }
RAW Paste Data