Jump to content

Quiver : missing an enum in RaceData


Recommended Posts

Hi ! 

 

I'm trying to put this in my server :

 But i've some errors... :

if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M)

I've not RACE_ASSASSIN_W or RACE_ASSASSIN_M on my RaceData.h, so I would like to know if anyone had it, and could tell me how to implement it?
Or tell me how to modify these lines to go through another function can be?

 

Code :

		if (m_eRace == CRaceData::RACE_ASSASSIN_W || m_eRace == CRaceData::RACE_ASSASSIN_M)
		{
			CRaceMotionData* pRaceMotionData = m_pkCurRaceMotionData;
			if (!pRaceMotionData)
				return;

			const NRaceData::TMotionAttackData * c_pData = m_pkCurRaceMotionData->GetMotionAttackDataPointer();
			if (NRaceData::MOTION_TYPE_NORMAL == c_pData->iMotionType)
			{
				if (IsEqippedQuiver())
					pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget);
				else
					pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true);
			}
			else if (__IsMountingHorse())
			{
				if (IsEqippedQuiver())
					pInstance = rfm.CreateIndexedFlyingInstanceFlyTarget(GetQuiverEffectID(), v3Start, m_kFlyTarget);
				else
					pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true);
			}
			else
				pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true);
		}
		else
			pInstance = rfm.CreateFlyingInstanceFlyTarget(c_pFlyData->dwFlyIndex, v3Start, m_kFlyTarget, true);

Thank you...

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.