Jump to content
  • 0

about the right and left hand mastery


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

how to increase there additional damage example the right hand mastery of sinx gives +100 attack% at level 5. i want it to give 200% instead of 100%

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  25
  • Reputation:   2
  • Joined:  12/25/11
  • Last Seen:  

http://svn.code.sf.net/p/rathena/svn/trunk/src/map/battle.c

        else if(is_attack_right_handed(src, skill_id) && is_attack_left_handed(src, skill_id)) {    //Dual-wield
            if (wd.damage) {
                if( (sd->class_&MAPID_BASEMASK) == MAPID_THIEF ) {
                    skill = pc_checkskill(sd,AS_RIGHT);
                    ATK_RATER(wd.damage, 50 + (skill * 10))
                }
                else if(sd->class_ == MAPID_KAGEROUOBORO) {
                    skill = pc_checkskill(sd,KO_RIGHT);
                    ATK_RATER(wd.damage, 70 + (skill * 10))
                }
                if(wd.damage < 1) wd.damage = 1;
            }
            if (wd.damage2) {
                if( (sd->class_&MAPID_BASEMASK) == MAPID_THIEF) {
                    skill = pc_checkskill(sd,AS_LEFT);
                    ATK_RATEL(wd.damage2, 30 + (skill * 10))
                }
                else if(sd->class_ == MAPID_KAGEROUOBORO) {
                    skill = pc_checkskill(sd,KO_LEFT);
                    ATK_RATEL(wd.damage2, 50 + (skill * 10))
                }
                if(wd.damage2 < 1) wd.damage2 = 1;
            }
        }

change:

ATK_RATER(wd.damage, 50 + (skill * 10))

and:

ATK_RATEL(wd.damage2, 30 + (skill * 10))
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...