Exemplo n.º 1
0
bool CActorInstance::__IsDieMotion()
{
	if (__IsKnockDownMotion())
		return true;

	return (__GetMotionType()==CRaceMotionData::TYPE_DIE);
}
Exemplo n.º 2
0
void CActorInstance::OnShootDamage()
{
	if (IsStun())
	{
		Die();
	}
	else
	{
		__Shake(100);

		if (!isLock() && !__IsKnockDownMotion() && !__IsStandUpMotion())
		{
			if (InterceptOnceMotion(CRaceMotionData::NAME_DAMAGE))
				PushLoopMotion(CRaceMotionData::NAME_WAIT);
		}
	}
}