The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Seiryuki on May 07, 2011, 11:11:39 PM

Title: [AVAILABLE] Damage Per Second States
Post by: Seiryuki on May 07, 2011, 11:11:39 PM
Damage Per Second States

States: (the following are examples of states' features that I'm requesting

As seen above, I'm hoping for the script to use tags. The tags would be placed in the State's notebox. The script must accept settings set in the State's database (that should be obvious though) e.g. if a State has been set to be released at the end of battle, then the script must accept that setting as well as the other settings.
Also, if the state is removed (by whatever means) the damaging stops.

Edit: The script should allow for both hpdmg & mpdmg tags in case the user would like for a state to inflict both hp and mp damage per second.

Note, I'm using Yanfly's BEM (ATB system), Deriru's Plenty States.
Thanks
Seiryuki


Optional
If simple to accomplish, it would be cool if other parameters can be damaged per second such as atk, def, spi, agi. Important to note that if these are being scripted, when the state is removed (by whatever means) the damaging stops and the values return to the victim's healthy value e.g. When AtkDmgPS state is removed, the victim's atk value must return to normal.
Title: Re: [REQUEST] Damage Per Second States
Post by: pacdiggity on May 07, 2011, 11:44:18 PM
This would actually be quite simple.
I'm quite sure I've seen something like it before, but I'll write it.

EDIT: Is the damage per turn or second?
Title: Re: [REQUEST] Damage Per Second States
Post by: Seiryuki on May 07, 2011, 11:53:29 PM
Thanks for taking note of the request.

The damage is per second.

EDIT: Yanfly's BEM has:
    # <hp regen: x>  or  <hp regen: x%>
    # <hp degen: x>  or  <hp degen: x%>
But it does the damage 'over time' and when I tested it, the frequency of degen seems to take forever and it doesn't apply per turn. I would've accepted if it worked per turn, but it didn't. But I really wanted a state that did damage per second and I saw none anywhere.
Title: Re: [RESERVED] Damage Per Second States
Post by: pacdiggity on May 08, 2011, 02:00:52 AM
Hmm...
BEM has 24518 lines of code in it, so it would take a while to find and edit that code >.<
The concept's pretty simple, but I can't figure out how to make the variable in the tag effect the state.
Title: Re: [AVAILABLE] Damage Per Second States
Post by: Seiryuki on May 08, 2011, 02:15:32 AM
@Pacman
That's okay. I hope someone can figure this out because I've recently played Chrono Trigger and I really like the states that degenerate hp/mp every second. It's surprising that I haven't seen a script to do that anywhere as yet.
Title: Re: [AVAILABLE] Damage Per Second States
Post by: modern algebra on May 08, 2011, 02:32:59 AM
Well, probably because such a system would be awful for a turn based system like the DBS and really only makes sense for real time battles. Obviously, BEM has a few options for that, but most battle addons are designed with the DBS in mind. It does sound like it would be a good feature though.
Title: Re: [AVAILABLE] Damage Per Second States
Post by: Seiryuki on May 08, 2011, 04:34:01 PM
Hmm, I guess I got way too accustomed to the ATB system. Makes sense now.

Anyways, I'll take a closer look at BEM's lunatic mode and see if I can do anything there, but if anybody has any suggestions to help me achieve such a feature I'll take note.