Jump to content
  • 0

Perfect Dodge [Balancing]


Question

Posted

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

5 answers to this question

Recommended Posts

Posted

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. 

 

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...