Exsponge ability?

All right.

I'm trying to make an ability called "Exsponge"; the idea of this ability is that it will

do 500 damage for each debuff state the enemy has, and dispel them.

How do I do this?
I've moved this thread to VX Ace Support (you are not posting a tutorial, you are asking for help). Please be sure to post your threads in the correct forum next time. Thank you.
Custom Formulae 1 and 2

Give them a read, pretty sure you'd need what is aught in 2 for this if there is more than a few...
Sorry about the wrong thread post, Shaz.

Alright, got the formulae thing! Problem is, the formula I want is too long for the box.

Any solutions?
That's what the link number 2 is for.

Original thread: https://forums.rpgmakerweb.com/threads/exsponge-ability.28928/