How to make a mob inflict effects when they deal damage?

So I'm trying to make a Creeper variant where they don't deal any damage BUT instead they deal blindness for 30 seconds. How would I do that in mcstacker.net?

Continue to help post