Hey all,
Looking for a plugin or other method that would allow a state to affect random stats each turn. Basically, I'll have a Venom skill and when the character is afflicted with that in battle, every turn a random stat would be affected. So turn 1, HP goes down, turn 2, AGI goes down, turn 3, MP goes down and so on and so forth.
Any help is appreciated!
<Custom Turn Start Effect>
code
code
</Custom Turn Start Effect>
This requires YEP_BattleEngineCore. This effect will run at the start of
each of the battler's turns. The code will process after all the other
turn start effects have taken course.
use a random number generator in there, and then some ifs for each number. this is where we'd diverge a little. i'm sure there's a formulaic way to temporarily change a stat, but in states i have that do this, i actually apply different states that affect stats. you could choose not to use icons, and those won't show, but i'm not certain what all plugins you use that display stuff. obviously, as it says, need YEP_BattleEngineCore, and Buffs&StatesCore.
So this is one of the Lunatic Mode notetags. Coding is not something I know how to do, how would I code RNG in those tags?
Actually, i got ahead of myself, I think I still need help with this myself xD
see, i have this skill that's supposed to add random states, and i guess i never actually tested it. i swear this SHOULD be working, which is essentially what you're looking for in the way i stated, but this isn't actually adding states. so... maybe someone else can help us both xD
<Pre-Damage Eval>
var rr = Math.floor(1 + Math.random() * 3);
if(rr==1){
target.addState(1);
}
if(rr==2){
target.addState(1);
}
if(rr==3){
target.addState(1);
}
</Pre-Damage Eval>
Hmm...I don't want to actually add additional states, I just want the state they have to do random stat damage. But I could go your way too I think, if we find a workable solution.
that was just the only way i could think of, there's another type, in buffs and states core that adds custom states, i was just trying to get the random part, but that doesn't seem to be doing anything atm lol
If it's a Lunatic Mode part, I'm out on that. I'll take a closer look at that plugin though and see what I can come up with.
Bump as it looks like the Buffs and States plugin can't do what I'm asking for. I've checked Hime's Progressive States plugin as well and that doesn't seem to be able to do it either (and is apparently incompatible now with Yanfly's Battle Engine Core).