YesNoOk
avatar

How would you go about checking to see if P2 has Life Regen? (Read 779 times)

Started by Mastergeorgeify, November 05, 2019, 04:55:29 am
Share this topic:
How would you go about checking to see if P2 has Life Regen?
#1  November 05, 2019, 04:55:29 am
  • A New Guy
  • Still learning M.U.G.E.N!
    • USA
I'm having trouble and can't think of a way to do this efficiently.

Working on a char and I've noticed that a lot of stronger ones use Life Regen. Just as an example, the two famous ones being Rare Akuma and Dark Donald.

Was thinking of using a Helper and obtaining the Target through a Reversal. Problem is, I'm not really sure how to constantly check to see if P2 is regenerating HP. I don't really wanna use TargetLifeAdd unless they're actually regenerating.
Last Edit: November 05, 2019, 04:28:04 pm by Mastergeorgeify
Re: How would you go about checking to see if P2 has Life Regen?
#2  November 05, 2019, 09:06:18 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
If you have the helper and its looping between states this isnt too bad.

Target, life. Save it to a variable. Wait a tick then check if target, life is greater than the variable. If yes regen is happening. You can do this with enemy or enemynear redirects as well. You can also set things in the negative states and have the helper check them as well.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: How would you go about checking to see if P2 has Life Regen?
#3  November 05, 2019, 04:27:56 pm
  • A New Guy
  • Still learning M.U.G.E.N!
    • USA
Thanks Cyanide! I got it to work and this has made her a lot stronger.