Jump to content
  • 0

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


DK77

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  61
  • Reputation:   0
  • Joined:  06/30/17
  • Last Seen:  

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;

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  64
  • Reputation:   40
  • Joined:  03/26/12
  • Last Seen:  

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;

 

Link to comment
Share on other sites

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.

×
×
  • Create New...