The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: Carmell on January 21, 2020, 02:30:30 PM

Title: universal damage = getpower toggle possible?
Post by: Carmell on January 21, 2020, 02:30:30 PM
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?
Title: Re: universal damage = getpower toggle possible?
Post by: Odb718 on January 21, 2020, 02:58:56 PM
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.
Title: Re: universal damage = getpower toggle possible?
Post by: Cyanide on January 22, 2020, 06:01:27 AM
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.