Example #1
0
    public void Enter(CSkill pSkill)
    {
        m_pSkill = pSkill;
        m_bClose = false;

        m_SegIndex++;
        if (m_SegIndex > 3)
        {
            m_SegIndex = 1;
        }

        m_StepSeg = (NormalizeSeg)m_SegIndex;
        if (m_StepSeg == NormalizeSeg.NATK_Seg0)
        {
            m_CtrlSkelton.PlayTrack(ACTID.ACT_DoubleHit01);
        }

        if (m_StepSeg == NormalizeSeg.NATK_Seg1)
        {
            m_CtrlSkelton.PlayTrack(ACTID.ACT_DoubleHit02);
        }

        if (m_StepSeg == NormalizeSeg.NATK_Seg2)
        {
            m_CtrlSkelton.PlayTrack(ACTID.ACT_DoubleHit03);
        }
    }
Example #2
0
 public CNormBehavior( )
 {
     m_pSkill      = null;
     m_pOwner      = null;
     m_bClose      = true;
     m_SegIndex    = 0;
     m_StepSeg     = NormalizeSeg.NATK_Null;
     m_CtrlSkelton = null;
 }
Example #3
0
 public void Exit()
 {
     m_SegIndex = 0;
     m_StepSeg  = NormalizeSeg.NATK_Null;
 }