How do I make thorns armor effect in MZ?

I saw some solutions for MV, but how do I make one in MZ? (with free plugins).
I want it to do a set amount of damage.
Thanks for help in advance.

Make const damage a fixed number.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-thorns-armor-effect-in-mz.175944/