輕拳腳的應用

輕攻擊是一切攻勢的開始, 雖然破壞力有限, 但出招及收招快, 可用作反擊, 攔截對手, 先說站立輕攻擊.
;Stand_A;一般站立攻擊的, 不用多說了.
[State -1]
type = ChangeState
value = 200
triggerall = !Var(59)
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl = 1

;Stand_A--AI
[State -1]
type = ChangeState
value = 200
triggerall = Var(59)
triggerall = (P2MoveType != A)||(PrevStateNo = 151)||(PrevStateNo = 152)||(PrevStateNo = 153)||(PrevStateNo = 380)||(PrevStateNo = 390);如果剛擋完一個攻擊, 就無論如何都反擊, 用速度攔截對方的攻擊!
triggerall = P2BodyDist X = (40,60];當然對方不能離自己太遠.
triggerall = P2StateType = C;對方是蹲下, 因為如果是站立就用下段攻擊, 而不是站立攻擊...
trigger1 = Random = [0,499]
trigger1 = statetype != A;<----對 ai 來說, 站立及蹲下的分別其實不大, 所以只要在地面, 站立或蹲下攻擊都可以使出.
trigger1 = ctrl = 1
之後是蹲下(或下後)攻擊, 用來破壞站立方手的攻勢, 因為下後技是不能站著擋:
;Crouch_A(close)
[State -1]
type = ChangeState
value = 407
triggerall = !Var(59)
triggerall = command = "a"
triggerall = command = "holddown"
triggerall = P2bodydist X <= 40
trigger1 = statetype = C
trigger1 = ctrl = 1

;Crouch_A(close)--AI
[State -1]
type = ChangeState
value = 407
triggerall = Var(59)
triggerall = P2StateType != C;對方不是蹲下
triggerall = (P2MoveType != A)||(PrevStateNo = 151)||(PrevStateNo = 152)||(PrevStateNo = 153)||(PrevStateNo = 380)||(PrevStateNo = 390);對方不是攻擊又或是剛作過防衛
triggerall = P2StateNo > 100;對方不在一般 state, 不能及時作出防衛
triggerall = P2bodydist X <= 40
triggerall = P2bodydist Y = [-10,0]
trigger1 = statetype != A
trigger1 = ctrl = 1
大約是這樣子了, 自己試一下吧! 其他東西都是這樣做, trigger 因人而異, 並不統一.


輕拳腳的應用完. 回首頁
Make your own free website on Tripod.com