News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

How to code a 3-hit superarmor?

Started by Solarflared, March 07, 2018, 08:18:10 PM

Previous topic - Next topic

Solarflared

There's a character I'm working on that has a move where, depending on how many times the command is inputted, can gain up to three hits of passive superarmor before flinching from normal attacks again. Problem is, when they have only one hit of superarmor left and the opponent damages them, the opponent effectively hits them twice, once in the superarmor helper and once in the character itself. I'm using Winane's superarmor coding, so that may have something to do with it.

Any ideas how I can fix this?

JustNoPoint

If it's a single move you can just use hitoverride change states. And a var that counts how many times the char cycles back through the states.

If the armor is over a lot of anims and movement then check my Gotenks or XGargoyle's Super Buu from HDBZ to see how we coded super armors.

Solarflared

The superarmor is passive once the command is used at least once. It's overlayed over the character's regular animations.

JustNoPoint

I'd check Buu his is similar. Depending on his emo lvl he can get from 1 to 4 hits of armor

Solarflared