阅读:1702回复:0
【源码修改】飞行特效图片:QQ图片20140502082632.gif void CActionMover:rocessFlyParticle( float fLenSq ) /////////////////////// if( m_pTail ) m_pTail->CreateTail( vPos1, vPos2 ); 在这个下面添加 //////////// DWORD dwTIME1 = g_tmCurrent - m_dwNameLastTime_T_Fly; if( dwTIME1 > 3999) { CSfx *pSfx; pSfx = CreateSfx( D3DDEVICE, XI_SKILL_MAG_ELECTRICITY_LGTPALM01, pMover->GetPos(), pMover->GetId(), D3DXVECTOR3(0,0,0), NULL_ID, 4 ); if( pSfx ) { pSfx->SetScale( D3DXVECTOR3(1.0f, 1.0f, 1.0f) ); } m_dwNameLastTime_T_Fly = g_tmCurrent; } //////////////////////////// |
|
100% |