Status that make it so when I attack I take damage

Today I was making a weapon and I thought of a cool idea, whenever you attack with the weapon it damages you. Kinda like paying a price for power, but i'm not sure how to accomplish this.


any help is appreciated! 

Screenshot (17).png
If you want it as a weapon-based option, you'll need a script - I think one of yanfly's lunatic scripts can do that.


The easier way would be a skill-based effect, that could be done with code in the damage formula, but it would happen whenever that skill is used instead of weapon dependent.
What Lunatic script would i use?

Original thread: https://forums.rpgmakerweb.com/threads/status-that-make-it-so-when-i-attack-i-take-damage.59470/