How to return the total damage given by a combo ?

Started by Skyro, January 30, 2022, 01:33:04 AM

Previous topic - Next topic

Skyro

Please. I want to know how to return the total damage given by a combo.
I used gethitvar(damage) but it return damage given by one hit. I want for total combo.

PotS

You're going to need a variable to store the opponent's life before the combo.

[State -2, Damage]
type = varset
trigger1 = p2movetype != H
var(1) = p2life
ignorehitpause = 1


Then the combo damage is "var(1) - p2life".
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.