RPG Maker VX Ace

RPG Maker VX Ace

Shared HP Battle System - v 0.1
16 Comments
Isometric Exercise May 20, 2015 @ 9:27pm 
That seems to have solved the problem nicely. Thanks! :)
Kiri  [author] May 20, 2015 @ 7:30am 
Oh, I just realized what I did wrong there.
Change
$game_party.partyhp(
to
$game_party.pthealth(

I'm not sure how I missed that this whole time!
Isometric Exercise May 20, 2015 @ 1:58am 
Hm, in the current demo, I'm getting the same Shared_HP error as before, except now it occurs on line 160. The only alteration I made from the demo was giving one party member a healing spell strong enough to always heal above the party's max HP for testing purposes.
Kiri  [author] May 19, 2015 @ 5:16pm 
About to update my pastebin, will also post a compatibility script for Yanfly's Command Party Script.

Sorry it took so long, life happened.
Kiri  [author] May 19, 2015 @ 3:43pm 
I can't seem to reproduce the first bug with Shared_HP.

As for the second thing you posted, I'm working on it. So far, it's updating when the turn starts, so I just gotta get it to update earlier than that.
Isometric Exercise May 4, 2015 @ 9:46pm 
Also, the shared HP total does not update if you change the party inside a battle. For example, I was using Yanfly's Command Party script and swapped one party member out for another with far higher HP. The shared HP total retained the same HP as before, as if the party member I swtiched out was still there.
Isometric Exercise May 4, 2015 @ 9:43pm 
I've discovered a new bug. If the player heals their party above the maximum shared HP total, it crashes with the following error:

Script "Shared_HP" line 145: ArgumentError occured.
wrong number of arguments (1 for 0)
Kiri  [author] Apr 29, 2015 @ 7:48am 
For those interested, you can now use this script with Neo Gauge Ultimate Ace. I just put up a compatibility patch for it.
Isometric Exercise Apr 28, 2015 @ 3:55am 
This is excellent news! Only after playing around with it did I notice that Yanfly's stuff had issues with this script. Well done on solving it!
Kiri  [author] Apr 20, 2015 @ 11:21am 
This isn't really an update, but for those of you that use the Ace Battle Engine by Yanfly, I've managed to whip up something to make this system compatible with it. WIll be updating the description shortly on how to use it with that.
Kiri  [author] Mar 24, 2015 @ 4:51pm 
Thanks for the feedback! I'm glad you enjoy it.

Also I done goofed, do change the one under remove_actor if you're wondering why you're magically losing HP removing a member not in the active party, although that's more of a rarer case.
Isometric Exercise Mar 23, 2015 @ 10:07pm 
Works fine now. Excellent script! :)
Kiri  [author] Mar 23, 2015 @ 8:05am 
Oh, nice catch!

I'm not entirely sure this is a complete fix but I got it working by changing all instances of $game_party.members to $game_party.battle_members in Shared_HP.

However, don't change the one under remove_actor.

Going to update the Dropbox and Steam Workshop files with this change.
Isometric Exercise Mar 22, 2015 @ 10:40pm 
Really cool! One problem though: It calculates health based on all of your party members, not just the ones in the active party. So if you have a fifth party member, their HP is added to the shared pool despite them not participating in the battle. Any way to make it only calculate the shared HP for the active party?
Kiri  [author] Mar 22, 2015 @ 5:42pm 
Ah, I've uploaded the demo and updated the description with a link. Let me know what you think!
Isometric Exercise Mar 22, 2015 @ 4:28pm 
Would you happen to have a link to download this script or a demo by any chance? I have RPG Maker VX Ace, but not on Steam, and I'd really like to try this feature out. :)