Jump to content
  • 0

[WTA] Acid Demostration bypass Defender on Pre-renewal Setup


Question

Posted

rathena hash : ce04b0d

Client Date: 20180620

Server Mode: PRE-RE

Description of Issue:

Hi Guys , may i ask on the latest rathena for skill acid demostration . Does Acid Demostration not suppose to bypass Defender ? or do i need to change SC_Defender on battle. C ? 

 

Quote

        if (sc->getSCE(SC_DEFENDER) &&
            skill_id != NJ_ZENYNAGE && skill_id != KO_MUCHANAGE &&
#ifdef RENEWAL
            ((flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON) || skill_id == GN_FIRE_EXPANSION_ACID))
#else
            (flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON))
#endif
            damage -= damage * sc->getSCE(SC_DEFENDER)->val2 / 100;

 

 

1 answer to this question

Recommended Posts

  • 0
Posted

Defender does reduce damage of Acid Demonstration but if you want it to not be affected, you can change that code to this:

Quote

        if (sc->getSCE(SC_DEFENDER) &&
            skill_id != NJ_ZENYNAGE && skill_id != KO_MUCHANAGE && skill_id != CR_ACIDDEMONSTRATION &&
#ifdef RENEWAL
            ((flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON) || skill_id == GN_FIRE_EXPANSION_ACID))
#else
            (flag&(BF_LONG|BF_WEAPON)) == (BF_LONG|BF_WEAPON))
#endif
            damage -= damage * sc->getSCE(SC_DEFENDER)->val2 / 100;

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...