Jump to content

Help anti stun 100%


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
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
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.