YesNoOk
avatar

Crazy HitDef problem (Read 1038 times)

Started by Odb718, July 14, 2018, 12:20:34 am
Share this topic:
Crazy HitDef problem
#1  July 14, 2018, 12:20:34 am
  • *****
  • Shame on you!
    • USA
I'm not exactly sure what the problem is. I've tried and tried.
This hitdef's damage wont work on the hit, but it will chip block...

Code:
[State 200, HitDef]
type = HitDef
trigger1 = time = 1
attr = A, SA
animtype = Heavy
air.animtype  = Back
damage = 20,10
priority = 7, Hit
hitflag = MAF
guardflag = M
pausetime = 10,10
guard.sparkno = S8015
sparkno = S8003
sparkxy = -10,-45
hitsound = S10,4
guardsound = S13,0
ground.type = High
ground.slidetime = 7
ground.hittime  = 15
ground.velocity = -12,-6.2
air.velocity = -12,-6.2
fall = 1
air.fall = 1
fall.recover = 0
yaccel = .5


Does anyone know why this will only chip block and not cause 20 damage on the hit?? I've tried adjusting the values of damage to see if it was being scaled some how. It's not. I've adjusted the trigger, that's not it.
I think it has to be something small but I can't see it.
vVv Ryuko718 Updated 10/31/22 vVv
Re: Crazy HitDef problem
#2  July 14, 2018, 06:21:43 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
If its not something else interfering. Delete the statedef completely. Put it into word or something then pull it back elsewhere in the file.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Crazy HitDef problem
#3  July 14, 2018, 09:13:04 am
  • *****
  • Shame on you!
    • USA
Like most of my crazy problems I used state 200 to solve this problem. I copied the hitdef to state 200. I got the same results. No damage but chip block was there.
So I commented out the bottom half of the hitdef and I got both damages but no hit reaction. So obviously the problem was the lower half.

LOOOONG story short.

ground.type = Trip
fixed the hitdef.

I guess if someone wants these same results you could not use trip. But obviously you could just put 0 for the damage... so....
vVv Ryuko718 Updated 10/31/22 vVv