Jump to content

3 Stun bug fix, but which is the better?


TheSLZ

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi !

 

One time again that's not a bug, just a 80% stun prob..

 

You just have to change it to 100%, use the #3 but without it:

 

            if (item->HasAttr(APPLY_IMMUNE_SLOW))
                SET_BIT(dwImmuneFlag, IMMUNE_SLOW);
            if (item->HasAttr(APPLY_IMMUNE_FALL))
                SET_BIT(dwImmuneFlag, IMMUNE_FALL);

 

 

 

Link to comment
Share on other sites

Yeah i know, it's not 100% (But not 80, it is 90%, you can edit this in char_resist.cpp)

 

int immune_pct = 90;
int percent = number(1, 100);


if (percent <= immune_pct)

 
 

So the bug is: (Shogun said http://metin2dev.org/board/topic/780-c-fix-stunbug/?p=5935)

"If the last item you equipped is not the shield, inmune doesn't work at all, that's the bug since the creation of Metin. "

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

  • Activity

    1. 0

      A small bug using Transmutation and Private Shop Search systems

    2. 2

      Directx9 texture problem

    3. 1

      Compiling on Linux

    4. 0

      Metin2 Property objects loaded from D:/ymir work

    5. 1263

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    6. 0

      How to check the reliability of a seller or a customer?

    7. 1263

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    8. 7

      Phishing - Beware of identity theft...

    9. 0

      Solaris2 - PvM medium - International - Official Serverstart - 30.06.2023 17:00 CEST!

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.