Jump to content

Small Change for Range Attacks


Ken

Recommended Posts

Hi, everyone today I would like to share a fix which Webzen has made with you. The fix is about the target position. Ymir is not checking if the target is on horse or not. It would be useful for range attacks.

Find this:

D3DXVECTOR3 CActorInstance::OnGetFlyTargetPosition()
{
	D3DXVECTOR3 v3Center;
	if (m_fRadius<=0)
	{
		BuildBoundingSphere();
		v3Center = m_v3Center;
	}
	else
	{
		v3Center = m_v3Center;
	}

	D3DXVec3TransformCoord(&v3Center, &v3Center, &GetTransform());
	return v3Center;
}

Replace with this:

D3DXVECTOR3 CActorInstance::OnGetFlyTargetPosition()
{
	D3DXVECTOR3 v3Center;
	if (m_fRadius <= 0)
		BuildBoundingSphere();
	
	v3Center = m_v3Center;
	D3DXVec3TransformCoord(&v3Center, &v3Center, &GetTransform());
	
	if (__IsMountingHorse())	
		v3Center.z += 110.0f;

	return v3Center;
}

Best Regards

Ken

  • Love 21

Do not be sorry, be better.

Link to comment
Share on other sites

  • 4 weeks later...
On 10.12.2018 at 12:44, Ken said:

Merhabalar, bugün herkes Webzen'in sizinle yaptığı bir düzeltmeyi paylaşmak isterim. Düzeltme hedef pozisyon hakkında. Ymir hedefin at olup olmadığını kontrol etmiyor. Menzilli saldırıları için yararlı olacaktır.

Bunu bul:




	 
	
		
	
	
	
	
  
	

Bununla değiştirin:




	  
		
	  
	
	  

	

Saygılarımla

Ken

Is the shaman's character's remote strike?

Link to comment
Share on other sites

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.