Jump to content
  • 0

Perfect Dodge [Balancing]


Oraios

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

Hi community,

I have a problem on my server : The max. stats on the server are until 999. When someone has 999 luk he automatically has 100% perfect dodge. Does anyone know how to change that or how to balance this?

 

PS: Paladin cant hit someone with "Sacrifice", but when I turn off the PD the professor class is very bad...

 

Sorry for my bad english.. :(

 

Best regards, Oraios

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  296
  • Reputation:   2
  • Joined:  04/11/13
  • Last Seen:  

flee rate gain by luk, you need to change it in src 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try change this ?

conf/battle/battle.conf#L16

// Who can have perfect flee? (Note 3)
enable_perfect_flee: 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

what about capping your perfect dodge to something you want?
i found this via google

 

http://www.eathena.ws/board/index.php?showtopic=228525

 

 

this is a reply from one of the members of eathena in the topic i posted above

This is what i got from Pinky:

status.c

 

CODE
static signed short status_calc_flee2(struct block_list *bl, struct status_change *sc, int flee2)
{
    if(!sc || !sc->count)
        return cap_value(flee2,10,800); // 80% Flee2 Cap [Pinky]

    if(sc->data[sC_INCFLEE2])
        flee2 += sc->data[sC_INCFLEE2]->val2;
    if(sc->data[sC_WHISTLE])
        flee2 += sc->data[sC_WHISTLE]->val3*10;

    return (short)cap_value(flee2,10,800); // 80% Flee2 Cap [Pinky]
}



And it works, been using it for 2 years now. 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  60
  • Reputation:   1
  • Joined:  11/06/12
  • Last Seen:  

Hmm... Can you explain me the script and how to use it? :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

its a source edit in status.c

return (short)cap_value(flee2,10,800); // 80% Flee2 Cap [Pinky]

so change the 800 = 80% change it the perfect dodge cap you want

 

i dunno the default value of this. just look for return (short)cap_value(flee2, in status.c

 

after changing it recompile then test it

 

this is all i can help you with

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