The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Mikezoola on July 27, 2008, 09:16:14 AM

Title: Help with Regen...
Post by: Mikezoola on July 27, 2008, 09:16:14 AM
So I've been trying to make this skill Regen. You know where you cast it and your character constantly replenishes hp while the battle still goes on. I currently have it set up as such:
Created a regen state.
Created a regen skill that inflicts regen state and calls a common event.
Common event says Conditional branch: [Aluxes] is [regen] inflicted.
                                                      Change HP [Aluxes], +5
                                                      Wait 20 frames
                                                      Change HP [Aluxes], +5
and it continues alternating between change hp and wait.
The problem is is that when this happens the battle stops until the common event runs out. I want it so that the battle still takes place while regenerating hp. I've tried everything I can think of. Is this not possible? Do I have to event it a different way? Any help is greatly appreciated. 
Title: Re: Help with Regen...
Post by: ShadedKnight on July 30, 2008, 12:28:37 AM
i'm not sure if we're using the same rpg maker xp, but if i wanted regen, i would choose wait a turn instead of time frames, hope this helps
Title: Re: Help with Regen...
Post by: DARK_ETERNAL on August 27, 2009, 11:35:38 PM
I'm just doing this... As ShadedKnight, I'd "wait 1 turn", but it seems that we both have the same problem. Actually, I don't have this "Wait x turns", except for battle events spanning... So, should I reinforce your question an add 2 things more...

1. Then how can we make that turn flow control?
2. How can I control the scope? When I create the common event, it only lets me choose or an specific character or the whole party, but I need to make it dinamic for any battler. May you all help me with this?

Thanks in advance
Title: Re: Help with Regen...
Post by: shaz on August 28, 2009, 08:27:21 AM
It's a pity you can't use Slip Damage and set it to a -ve amount so it heals rather than depletes.  (without modding a script, that is)
Title: Re: Help with Regen...
Post by: Falcon on August 28, 2009, 10:10:49 AM
It needs a script, end of story. Search for one.