Where to remove jester knockback in source?

02/21/2022 12:46 sh0kzy#1
Anyone got an Idea where to remove the jester knockback?
Tryed to edit around OBJSTA_DMG_FLY_ALL, but didnt find any success.
02/21/2022 22:55 aoyamananami#2
Quote:
Originally Posted by sh0kzy View Post
Anyone got an Idea where to remove the jester knockback?
Tryed to edit around OBJSTA_DMG_FLY_ALL, but didn't find any success.
search for KNOCK_BACK, and do the magic trick.
02/28/2022 20:31 Knusper02#3
In Ctrl.cpp:
Remove:
Code:
DWORD dwDmgShift;
if( pAddSkillProp )
	dwDmgShift = pAddSkillProp->dwDmgShift;
else
	dwDmgShift = pSkillProp->dwDmgShift;

if( dwDmgShift != NULL_ID && pTarget->GetProp()->dwClass != RANK_SUPER && pTarget->GetProp()->dwClass != RANK_MIDBOSS )
{
	FLOAT fAngle = GetDegree( pTarget->GetPos(), pSrc->GetPos() );	// 시전자와 타겟의 각도를 구함
	AngleToVectorXZ( &pTarget->m_pActMover->m_vDeltaE, fAngle, 0.85f );
	g_UserMng.AddPushPower( pTarget, pTarget->GetPos(), pTarget->GetAngle(), fAngle, 0.85f );
}