Jump to content

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

[char_resist.cpp]

bool CHARACTER::IsImmune(DWORD dwImmuneFlag)

if (IS_SET(m_pointsInstant.dwImmuneFlag, dwImmuneFlag))
    {
#define ANTI_STUN
#ifdef ANTI_STUN
        int anti_stun = 100;
        int   percent = number(1, 100);

        if (percent <= anti_stun)  
#else
        if (true)
#endif

Link to comment
https://metin2.dev/topic/13471-help-anti-stun-100/#findComment-76910
Share on other sites

  • Active Member
1 hour ago, iRazer said:

[char_resist.cpp]

bool CHARACTER::IsImmune(DWORD dwImmuneFlag)

if (IS_SET(m_pointsInstant.dwImmuneFlag, dwImmuneFlag))
    {
#define ANTI_STUN
#ifdef ANTI_STUN
        int anti_stun = 100;
        int   percent = number(1, 100);

        if (percent <= anti_stun)  
#else
        if (true)
#endif

emm?? O.o 'if(true)' for what?why?xd

	bool CHARACTER::IsImmune(DWORD dwImmuneFlag)
	if (IS_SET(m_pointsInstant.dwImmuneFlag, dwImmuneFlag))
	   return true;
	 
	return false;
	}
	

Link to comment
https://metin2.dev/topic/13471-help-anti-stun-100/#findComment-76914
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.