universal damage = getpower toggle possible? (Read 834 times)

Started by Carmell, January 21, 2020, 02:30:30 PM
Share this topic:
universal damage = getpower toggle possible?
#1  January 21, 2020, 02:30:30 PM
  • **
    • USA
Okay, so I understand the getpower and givepower triggers.

But is there a way to code into a character a universal getpower percentage ratio increase from damage?

So for example no matter what computer character is doing the damage the player character just receives a natural 20% more poweradd than normal?
Re: universal damage = getpower toggle possible?
#2  January 21, 2020, 02:58:56 PM
  • *****
  • Shame on you!
    • USA
Sounds like super armor except power instead of life.
Look up basic armor stuff, but ignore things for knock back. Just focus on how the life is being affected.
vVv Mauru Mauru Released vVv
Re: universal damage = getpower toggle possible?
#3  January 22, 2020, 06:01:27 AM
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
If all you want is additional power when p2 hits you gethitvar is probably your friend. Otherwise you can use a variable that looks at your power value. Checks it against another variable. Does the math for the difference and then adds 20% based on that difference.

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.