Go で書き直した Ikemen
Revisão | e7a1aa5607f5cb7d8b231b9fb8802a75d23e2466 (tree) |
---|---|
Hora | 2018-12-06 21:11:28 |
Autor | suehiro <supersuehiro@user...> |
Commiter | suehiro |
ガード硬直中にポーズがかかるとガードできないのを修正
@@ -4012,7 +4012,8 @@ func (c *Char) action() { | ||
4012 | 4012 | } |
4013 | 4013 | c.acttmp = -int8(Btoi(p)) * 2 |
4014 | 4014 | c.unsetSCF(SCF_guard) |
4015 | - if !(c.scf(SCF_ko) || c.ctrlOver()) && (c.scf(SCF_ctrl) || c.ss.no == 52) && | |
4015 | + if !(c.scf(SCF_ko) || c.ctrlOver()) && | |
4016 | + (c.scf(SCF_ctrl) || c.ss.no == 52 || c.inGuardState()) && | |
4016 | 4017 | c.ss.moveType == MT_I && c.cmd != nil && |
4017 | 4018 | (sys.autoguard[c.playerNo] || c.cmd[0].Buffer.B > 0) && |
4018 | 4019 | (c.ss.stateType == ST_S && !c.sf(CSF_nostandguard) || |