Posted by SpaceMouse
in Anti-Heal (Started by SpaceMouse March 18, 2014, 08:06:23 pmBoard: M.U.G.E.N Development Help
You forgot the Movetype = A
that was remarkably simple. thanks!
Posted by SpaceMouse
in Anti-Heal (Started by SpaceMouse March 18, 2014, 08:06:23 pmYou forgot the Movetype = A
Posted by SpaceMouse
in Anti-Heal (Started by SpaceMouse March 18, 2014, 08:06:23 pm;the anti-heal helper
[Statedef 8030]
type = S
movetype= I
physics = N
juggle = 0
velset = 0,0
poweradd = 0
sprpriority = 2
anim = 8002
[State 8030, 1]
type = NotHitBy
trigger1 = 1
value = SCA
[State 8030, 2]
type = AssertSpecial
trigger1 = 1
flag = Invisible
[State 8030, 1] ; set the variable the first time.
type = Varset
trigger1 = !fvar(30)
fv = 30
value = enemy, life
[State 4051, 0]
type = HitDef
trigger1 = fvar(30) < enemy, life ; the enemy life is > than what we saw last tick.
trigger1 = time%2 = 1 ; when not updating life
attr = S, HA
animtype = Medium
damage = abs(3*(enemy,life - var(30))),abs(3*(enemy,life - var(30))) ; deal three times the damage
guardflag =
givepower = -5000 ; drain their super bar too (temporary effect)
pausetime = 0,5
sparkno = S6410
sparkxy = 20,0
hitsound = S14,0
guardsound = S15,0
ground.type = high
ground.slidetime = 22
ground.hittime = 11
ground.velocity = -1
air.velocity = -1,-1
airfall = 1
persist = 1
[State 8030, 1] ; update the variable. the variable should always be the enemy life.
type = Varset
trigger1 = fvar(30) ; the variable exists.
trigger1 = fvar(30) > enemy, life ; the enemy life is < than what we saw last tick.
trigger1 = time%2 = 0 ; update every other tick.
fv = 30
value = enemy, life