Item/skill that permanently decrease a character's stat?

For the record, I'm 99% sure this doesn't work with events, since the only option to change a player's stat from inside an item/skill is to increase it; there's no option to make it negative to decrease it unless it's temporary in-battle. Correct me if I'm wrong though.

Anyway, I want to make reviving a character from death more "realistic," in the sense that when they're brought back to life they're weaker than they were before.

I want to do that by permanently decreasing one of their stats by a given amount any time a skill or item brings them to life.

So for example, one item might revive them but decrease their max health by 10. Or another might revive them but decrease it by 5. Or decrease their attack by 1 or luck by 20, etc.

I don't know how much scripting has changed since VXA but if it still mostly works the same, I was thinking an item or skill could have a tag in the notes section to mark it, then below it would specify which stat it would decrease and how much it would decrease.

I couldn't find anything like this for MV and personally hate Javascript, so I'd really appreciate if someone would make this... It seems simple enough.
Can't you have the item call a common event which decreases the stat of the one it was used on? You'll have to get cute to make it work, usually done by having the item apply an invisible state with no icon to the player, then the common event does it's stuff to all actors with that state. Might not require a plug-in if you can get that to work.
Can't you have the item call a common event which decreases the stat of the one it was used on? You'll have to get cute to make it work, usually done by having the item apply an invisible state with no icon to the player, then the common event does it's stuff to all actors with that state. Might not require a plug-in if you can get that to work.
That's not exactly doable. I'd have to have a conditional branch for each actor, with another conditional branch for each stat inside each one, and then copy and paste and edit the comment event for every single increment I want. That's like hundreds of branches in total. I feel like a script would be significantly easier.....
Hmm.. [Untested]..

You could try using Yanfly's State's Core+Expansions, etc., have the item apply an invisible state of say "-1 Luck"..
And in that State's notetags, you can set it so that remains after battle/KO, and can stack an unlimited amount of times, and has no restriction, etc. etc., and debuff -1 Luck..

That way, all you'd have to do is create one state for each perma-debuff you want to apply, copy paste the notes to all the states, and simply change the parameters.

** Again, this is UNTESTED. This advice is given in THEORY based on a basic understanding of how Yanfly's Plugin's work **

Would love to hear if this solves the problem.. 🙂
-MIA
You might try this as a script call:

$gameActors.actor(actorId).addParam(paramId, n);

Where n is set to a negative integer. Hasn't been minutely tested but it seems to function as desired for the minute or so I did test it. In my test I chose to subtract ten defense from actor 1 so the script call becomes:

$gameActors.actor(1).addParam(3, -10);

I do have to wonder as I'm thinking on how to do this though what the point is? If you aren't careful this kind of mechanic can easily alienate players because essentially what you are doing is de-leveling the player as a punishment for failure...thus making further attempts at success even more difficult than they were the first time; that the player has already failed.

Just my two cents but a better alternative for 'realism' might be to do something like have reviving from knock out apply a random status effect such as 'concussed', 'fractured' and 'ptsd' each of which severely hamper certain abilities (maybe concussed causes -% hit and crit rate, fractured halves attack/agility depending on the limb and ptsd drops all states by a fixed percent as examples) and can snowball on top of each other if you get knocked out multiple times without treatment. Maybe each knock out state requires a specific, somewhat costly medical item to attempt to cure in the field, otherwise you have to pull out and go see a doctor/sleep it off at the inn. That way getting knocked out to often in battle can require players to adjust their strategy and even outright abandon the field in certain situations, but the player doesn't feel as if they are being permanently punished for getting their characters knocked around to many times either.
Me, I would personally avoid a thoroughly permanent debuff like this.

I would make it to where these debuffs can be recovered and/or be aided with skills/items.

Like, a drop in Vigor (ATK) by 0.2 (20%) is a big deal...

If Vigor == 112
* 0.2
now 90

If Boost == 0.8 (80%)

Vigor == (112 * 0.2) * 0.8 + 90
now 162 (90 + 72)

Excuse my sloppy math, but this is the method I'd go for is to be able to boost a lowered stat at the very minimum.
I agree with the above. If you set it as the effect is 100% permanent, then you would set your player up for failure. One step forward and two steps back, as the saying goes. Adding in an item that is able to reverse those effects would still give you that effect, but would allow the player to recover.

Alternatively, you could have it so that the player has to visit a Temple or some such place and pay to have the ailments removed. If this ends up being the case you would want to add a way for a player to get back to the Temple at least in a semi-quick way or they could get stuck in a sort of death loop; Dying = reduced stats = increased chance of dying = reduced stats, etc.

Original thread: https://forums.rpgmakerweb.com/threads/item-skill-that-permanently-decrease-a-characters-stat.76469/