I tried the code but it seems that code sets the limit to attack. Like in the begining everything works well but when I need to do that attack again the character passes through p2.
I coded like this:
[state 1000]
type = varadd
trigger1 = moveguarded = 1
v = 14
value = 1
[State 200, 1]
type = HitDef
trigger1 = anim = 3009 && (var(14) + hitcount) <= 9 ; it doesn't work with >=
;triggerall = Anim = 3009 && HitCount < 10
;trigger1 = TimeMod = 2,0
attr = A, HA
damage = 45,8
animtype = heavy
guardflag =
hitflag = MAF
getpower = 0
priority = 4, Hit
pausetime = 5, 0
sparkno = 3
sparkxy = -8, -35
hitsound = 5, 4
guardsound = 6, 0
guard.sparkno = 40
ground.type = High
guard.velocity = -5
airguard.velocity = 0,-1
ground.slidetime = 20
ground.hittime = 25
ground.velocity = -2.5,-1.5
air.type = high
air.velocity = -2.5,-1.5
air.cornerpush.veloff = 0
ground.cornerpush.veloff = 0
air.hittime = 25
Air.fall = 1
fall.recover = 0
fall = 1
ID = 1021
envshake.time = 16
envshake.freq = 60
envshake.ampl = 8
What I'm mistaking?
Also the attack is like m.bison's psycho crusher.