(SOLVED)
Working on a custom Chun-Li. Based on the masterpiece by JMorphman.
Right now, I try to restore her Tenshokyaku as a Normal Chun-Li move.
Giving a dragon punch motion + Kick.
But the move cannot be done.
I already removed the mode detect variable for this move var40
But there is still a problem.
(I already managed to restore her Super : Hanzan Tenshokyaku, but I cannot restore the special move)
This is the edited code : (What's wrong ?)
[State -1, Tenshokyaku ajout]
type = ChangeState
value = 1400
triggerAll = !AILevel
;command = "dragon punch"
triggerAll = (ifElse(P2dist x < 0, Facing = -1, Facing = 1) && NumExplod(90010203)) || (ifElse(P2dist x < 0, Facing = 1, Facing = -1) && NumExplod(90010301))
;a / b / c
triggerAll = NumExplod(90000230) || NumExplod(90000235) || NumExplod(90000240) || NumExplod(90000245) || NumExplod(90000250) || NumExplod(90000255)
triggerAll = RoundState = 2 && StateType != A && !NumProjID(131035)
trigger1 = ctrl || StateNo = 40 || StateNo = 52 || (StateNo = [100,101])
trigger2 = var(6)
Seems like an input problem, because the AI can do it. (with this code)
[State -1, Tenshokyaku]
type = ChangeState
value = ifElse(Power >= 500 && Random < 133 && var(20) <= 60, 1430, 1400)
triggerAll = AILevel && NumEnemy;;;;;;;;;;;;;;;;;; && var(40)
triggerAll = RoundState = 2 && StateType != A && !NumProjID(131035)
triggerAll = !var(16) && (var(15) < 1 || var(20))
triggerAll = P2StateType != L && (P2Dist y = [-120,0])
triggerAll = ((P2BodyDist x = [-30,30]) && P2StateType != A) || ((P2BodyDist x = [0,120]) && P2StateType = A)
trigger1 = (ctrl || StateNo = 52 || (StateNo = [100,101])) && Random < (25 * (AILevel ** 2 / 64.0))
trigger2 = var(6) && MoveHit && Random < (100 * (AILevel ** 2 / 64.0))
trigger2 = EnemyNear, GetHitVar(HitTime) >= 3
trigger3 = (StateNo = 5120 || StateNo = 5201) && !AnimTime && Random < (50 * (AILevel ** 2 / 64.0))
I'm pretty sure it's a stupid thing I didn't noticed... But I have no clue right now.