YesNoOk
avatar

attack counts too many hits (Read 614 times)

Started by mugenfan89, March 05, 2021, 05:23:30 pm
Share this topic:
attack counts too many hits
New #1  March 05, 2021, 05:23:30 pm
  • avatar
  • *
    • USA
Like it says whenever I do a certain special move it will usually show me 20+ hits while I barely hit him only a couple of times, so my question is what could be the issue and how am I supposed to fix it?

Here is the special move

;----------------------spear loop
[Statedef 2070]
type    = S
movetype= A
physics = N
juggle  = 0
ctrl = 0
anim = 1488
velset = 1,0;

[State 2100]
type = PlaySnd
trigger1 = TimeMod = 24,1
value = 40,0
channel = 0;

[State 1200, 2at]  ;
type = Explod
trigger1 = time = 0
anim = 1489
pos = 0,0
postype = p1
ID = 2070
sprpriority  = 2
removetime = -1
bindtime = -1
ownpal = 1
removeongethit = 1


[State 1200, 2at]  ;
type = Explod
trigger1 = time = 0
anim = 1490
pos = 0,0
postype = p1
ID = 2070
sprpriority  = 2
removetime = -1
bindtime = -1
ownpal = 1
removeongethit = 1

[State 0, Explod]
type = Explod
trigger1 = movecontact
anim = 888
ID = 2080
removetime = 160
removeongethit = 1
ignorehitpause = 1
persistent = 0

[State 430, 2]
type = HitDef
trigger1 = 1
attr = S, NA
damage    = 14, 7
animtype  = Back
hitflag = MAF ;
guardflag = HL
pausetime = 1,3
sparkno = -1
sparkxy = -18,-100
guard.sparkno = -1
hitsound   = s20,4
p2facing = 1
guardsound = 89,0
ground.cornerpush.veloff = -30
ground.type = High
guard.ctrltime = 20
guard.slidetime = 20
ground.slidetime = 20
ground.hittime  = 20
ground.velocity = 2.8,-3;
air.velocity = 2.8,-3 ;
yaccel = 0.37
envshake.time = 15
envshake.freq = 70
envshake.ampl = 7
fall.recover = 0
kill       = (Var(9) = 0)
fall.kill  = (Var(9) = 0)
guard.kill = (Var(9) = 0)
priority = 1, Miss;

[State 2100]
type = StateTypeSet
trigger1 = movecontact
physics = S
persistent = 0;

[State 1200, 2at]  ;
type = RemoveExplod
trigger1 = time = 48
ID = 2070;

[State 2, blood111] ;
type = Helper
trigger1 = movehit
ID = 27
stateno = 27
pos = p2dist X,-abs(p2dist Y)-100  ;
postype = p1
ignorehitpause = 1
ownpal = 1;

[State -1, more]
type = ChangeState
value = 2070
triggerall = command = "holdx"
trigger1 = time >= 12
trigger1 = !movecontact

[State 430, 4]
type = ChangeState
trigger1 = time = 48 ;
value = 0
ctrl = 1;


     Posted: March 06, 2021, 04:20:33 pm
Come on nobody has an answer?????
Last Edit: March 06, 2021, 04:20:33 pm by mugenfan89