sci4me

Pop All Normal Wrinklers on an Interval

Dec 7th, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const INTERVAL = 5 * 60 * 1000
  2.  
  3. function availableForPopping() {
  4.     return Game.wrinklers
  5.         .filter(w => w.type == 0 && w.sucked > 0)
  6. }
  7.  
  8. setInterval(() => {
  9.     availableForPopping().forEach(w => w.hp = 0)
  10. }, INTERVAL)
Add Comment
Please, Sign In to add comment