Jump to content
  • 0

Monk/Champion Dodge Passive Edit.


huntax

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  12/11/12
  • Last Seen:  

Where in the source files can I edit how much Flee they get. I want it so instead of going up 1.5. I want it it going up by 3 each level. Max flee at level 10 would be 30. Anyone know which source file has the code for that skill.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

if((skill=pc_checkskill(sd,MO_DODGE))>0)
        status->flee += skill*3;
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   33
  • Joined:  12/24/11
  • Last Seen:  

src/map/statuc:

 

 

if((skill=pc_checkskill(sd,MO_DODGE))>0)
        status->flee += (skill*3)>>1;

The Formula does: (SkillLevel * 3) / 2 because >> 1 acts like / 2

Edited by Jonne
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  12/11/12
  • Last Seen:  

src/map/statuc:

 

 

if((skill=pc_checkskill(sd,MO_DODGE))>0)
        status->flee += (skill*3)>>1;

The Formula does: (SkillLevel * 3) / 2 because >> 1 acts like / 2

haha not good at this so how to make it go up by 3 each level?

Do I remove the 1?

 

if((skill=pc_checkskill(sd,MO_DODGE))>0)

        status->flee += (skill*3)>>0;

like this?

 

Edited by huntax
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  12/11/12
  • Last Seen:  

if((skill=pc_checkskill(sd,MO_DODGE))>0)
        status->flee += skill*3;

thank you! I'll try this out!

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...