Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: solar5star on September 12, 2012, 01:03:08 pm

Title: [RESOLVED] HP/SP Regen
Post by: solar5star on September 12, 2012, 01:03:08 pm
I've seen scripts for this before, but that was ages ago. I've recently picked up RPG Maker XP, and I've got almost everything set to start making my game, but I can't seem to figure out health/mana regen. And I've scoured the internet for it. Closest I could find was a post with a lot of different demos, and I couldnt figure out which one to download and what not. I ended up downloading them all and trying to figure it out, but still came up shorthanded. Any help?
Title: Re: HP/SP Regen
Post by: Blizzard on September 12, 2012, 01:21:26 pm
Have you checked out this yet? http://database.chaos-project.com/
Title: Re: HP/SP Regen
Post by: solar5star on September 12, 2012, 02:19:42 pm
aboslutely! LOVE that page XD  im currently trying Shdwlink1993's HoT/DoT system, but no matter what integers I use(negative or positive), it ALWAYS ends up doing damage instead of healing?

also, is applying a state the only way that has been found to properly do this? It'd be nice if I didn't have to have a state always applied to the player so that they are regnerating health/mana. I dunno, I'm tinkering around and trying different things but I'm still pretty newbish with scripting. Any help or advice is greatly appreciated.   
Title: Re: HP/SP Regen
Post by: Memor-X on September 12, 2012, 06:28:50 pm
Quote from: solar5star on September 12, 2012, 02:19:42 pm
aboslutely! LOVE that page XD  im currently trying Shdwlink1993's HoT/DoT system, but no matter what integers I use(negative or positive), it ALWAYS ends up doing damage instead of healing?

also, is applying a state the only way that has been found to properly do this? It'd be nice if I didn't have to have a state always applied to the player so that they are regnerating health/mana. I dunno, I'm tinkering around and trying different things but I'm still pretty newbish with scripting. Any help or advice is greatly appreciated.   


try Ton's of Addons, provided you fixed it up correctly then you should have you HP and SP Regen,

also, i don't get why you would have Regen as anything else but a state, sure, you might want a regen which is apart of a persons genetics (like a Krogan in Mass Effect) and as such it shouldn't be visible that they have a regen effect but for that you would just script something that hides the regen state from being displayed on the character, you could fix up a script (or Parallel Process) which add X HP and/or X SP every X Frames/Turns but it would depend on the system, if your using a battle system which is always activate (like Blizz-ABS, an Active Time Battle system with no wait option) then it would be coded for every x frames (whihc would really stuff thing up if it was a Parallel Process) but if it was a turn based battle system (the default one or something similar) it would work every x turns

if you just looking for a regen which the player can not tell that it's just like any other state, it be easier to get Tons and see if anyone knows how to hide a status for certain characters
Title: Re: HP/SP Regen
Post by: solar5star on September 12, 2012, 09:49:17 pm
The tons of add ons gave me what I needed, thanks a lot! =D I just decided to make regen potions that move at different speeds.