Jump to content

KNOCKBACK Patch Skill 17.5 Official Servers


Recommended Posts

  • 3 weeks later...
  • 3 weeks later...
  • 2 months later...
  • 2 weeks later...
  • 1 month later...
  • Forum Moderator
22 minutes ago, Anix said:

Sometimes it seems like people can't get knockbacked anymore. Try to attack mobs from your horse to see if they get pushed when you hit them (not when they die). Otherwise the knowkback will only make the people fall. 

 

On 1/17/2020 at 9:55 AM, Cripplez said:

When I use a skill with the knockback flag on a Metin Stone its position changes, do you know how can i make that metin Stones are immune to knockback effect? Thank you

IsStone() and return false; but it seems that it was already fixed in the original code.

 

					if (pkChrVictim->IsRaceFlag(RACE_FLAG_METIN))
						fknockbackLength = 0;

 

Edited by Metin2 Dev
Core X - External 2 Internal

Gurgarath
coming soon

Link to comment
Share on other sites

  • Premium

@Gurgarath somehow, that skill flag has no effect for me. I've done it by changing CRUSH_LONG and removing the stun affect from it.

https://metin2.download/picture/X8i0mG6nvgp1hw4tBgM0UDNG7QioE7cH/.gif

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

6 hours ago, Gurgarath said:

Sometimes it seems like people can't get knockbacked anymore. Try to attack mobs from your horse to see if they get pushed when you hit them (not when they die). Otherwise the knowkback will only make the people fall. 

 

IsStone() and return false; but it seems that it was already fixed in the original code.

 


					if (pkChrVictim->IsRaceFlag(RACE_FLAG_METIN))
						fknockbackLength = 0;

 

I've noticed Rakancito about knockback with stones weeks ago... but he """fixed""" this with a wrong work around and I have not noticed that to him. IsStone() version is correct.

 

           if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_KNOCKBACK))
            {
                float fknockbackLength = 300; //Distance for KnockBack, defult 300

                if (pkChrVictim->IsStone())
                    fknockbackLength = 0;

 

  • Love 1
Link to comment
Share on other sites

  • 3 months later...

i dont understand why all this code for nothing … we need just 3 lines 

Char_skill.cpp
search:
			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_CRUSH | SKILL_FLAG_CRUSH_LONG) &&
				!IS_SET(pkChrVictim->GetAIFlag(), AIFLAG_NOMOVE))
			{
				float fCrushSlidingLength = 200;

				if (m_pkChr->IsNPC())
					fCrushSlidingLength = 400;


change like this :
#ifdef NEW_SKILL_KNOCKBACK
			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_CRUSH | SKILL_FLAG_CRUSH_LONG | SKILL_FLAG_KNOCKBACK) &&
				!IS_SET(pkChrVictim->GetAIFlag(), AIFLAG_NOMOVE))
#else
			if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_CRUSH | SKILL_FLAG_CRUSH_LONG) &&
				!IS_SET(pkChrVictim->GetAIFlag(), AIFLAG_NOMOVE))
#endif
			{
				float fCrushSlidingLength = 200;

				if (m_pkChr->IsNPC())
					fCrushSlidingLength = 400;
#ifdef NEW_SKILL_KNOCKBACK
				if (IS_SET(m_pkSk->dwFlag, SKILL_FLAG_KNOCKBACK))
					fCrushSlidingLength *= 3; ///can change like u wanna
#endif

//stop

 

21 hours ago, Hunger said:

There is a gif posted by me above.

thank u 

Edited by Razor88
Link to comment
Share on other sites

  • 5 months later...
  • 1 year later...

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.