The only way I can think of is a common event triggered when the status is gained, but that doesn't quite work for my purposes.
Create status effect that temporarily switches stats (max HP and max MP, defense and attack, etc)
RPG Maker MV SupportAre you using Buffs & States Core?
Yes I am
You can do is in a <Custom Apply Effect> then.
I tried adding this to the note for it and it doesn't do anything:
It doesn't work when I use
<Custom Apply Effect>
a.mhp = a.agi;
<\Custom Apply Effect>It doesn't work when I use
user.mhp = user.agi either.You can't do it like that; mhp as a property just references the internal value. And that's taken directly from the class data. So you need to change the data value (these changes aren't saved, which is a good thing for your purposes)
I don't understand. Do you mind giving me an example?
Original thread: https://forums.rpgmakerweb.com/threads/create-status-effect-that-temporarily-switches-stats-max-hp-and-max-mp-defense-and-attack-etc.137123/