Jump to content
  • 0

Increase movement


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

if the LK / PALADIN have peco peco the movement is increase movement by 5%

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

In src/map/status.c Increase val to desired amount.

// GetMoveHasteValue2()
if( sc->data[SC_FUSION] )
val = 25;
else if( sd ) {
if( pc_isriding(sd) || sd->sc.option&OPTION_DRAGON )
val = 25; // Same bonus
else if( pc_isridingwug(sd) )
val = 15 + 5 * pc_checkskill(sd, RA_WUGRIDER);
else if( pc_ismadogear(sd) ) {
val = -(50 - 10 * pc_checkskill(sd,NC_MADOLICENCE));
if( sc->data[SC_ACCELERATION] )
val += 25;
}
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

how about?

 

-	script	PCCALCEVENT	-1,{
OnPCStatCalcEvent:
    if (checkoption(0x20) && (Class == Job_Lord_Knight || Class == Job_Paladin)) {
        dispbottom "here";
        bonus bSpeedAddRate,5;
    }
    end;
}
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...