Altering state turn count in a common event.

KeenWolf

Amateur Game Creator
Member
Joined
Mar 14, 2014
Messages
18
Reaction score
0
First Language
English
Primarily Uses
I have an difficult situation regarding the turn count of states in my game.

I have several of yanflys plugins including Buffs and States core, but I needed state stacking so I got MrTS_States EX. The problem is when I added MrTS_States EX it allowed me to stack state, but now I cannot reset the turn count of states when they are reapplied.

I really want to keep the state stacking in my game, but the inability to refresh DOT effects before expiration feels cheap and unfair to the player. I was wondering if anyone knew how to reset turn count without using yanfly's plugin commands (EX. <Reapply Reset Turns> does not work.) or if there is a way to use the loophole I thought using <State x Turns: +y> but at the end of the turn check how many turns are on the state and if the turn count exceeds a maximum it will <State x Turns: -y> to equal the proper amount.

I am at a loss as to how to fix this bug and have been working on trying to fix it for 3 days.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Easy solution. Instead of making the states stack, simply make a skill give different states based on which you already have.
You have a state Buff 1: You take away buff 1, give buff 2.
You have buff 2: YOu take away buff 2, give buff 3.
And so on.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top