How to make a skill that decreases enemies stats by a flat number? (or formula)

I want to create a skill that decreases enemy stats...unfurtunately vx ace either gives you the options for debbufs that decrease stats by a percentage, or it only gives the option to increase it permanently, and not decreasing it...

I want to have the ability to decrease enemies stats by a flat number...it doesn't matter if it's permanent or temporary...
also, if possible I would like this stat to be decreased based on one of my stats...like a damage formula that would decrease enemies attack based on my luck for example...

thanks a lot =)
that is impossible without scripts - for good reasons, because it requires a bit more to be changed in the engine.
With an absolute number decreased it is possible to get into negative values for attributes - just substract 10 from an enemy that has only 5 attribute points.
with a percentage decrease you can never get a negative number.

there have been scripts that allow this, but you have to be carefull of their results. You can find such scripts on the master script list - although many of the links there are dead. I think one of yanfly's scripts does this, but you have to get them from the github as the dropbox download no longewr exists.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-skill-that-decreases-enemies-stats-by-a-flat-number-or-formula.147074/