Jump to content
  • 0

Question

2 answers to this question

Recommended Posts

  • 1
Posted
16 hours ago, kalabasa said:

sources are from here.

https://rathena.org/board/topic/104559-flee-please-help/

i already change to this as stated

stat += level + (floor(status->agi/10)) + (bl->type == BL_MER ? 0 : bl->type == BL_PC ? status->luk / 5 : 0) + 100; //base level + ( every 10 agi = +1 flee ) + (every 5 luk = +1 flee) + 100

but is not working any ideas?

Your server is pre-renewal or renewal? because that formula is renewal so you need to scroll a little bit lower to find:
 

    // Flee
    stat = status->flee;
    stat += level + status->agi;
    status->flee = cap_value(stat, 1, SHRT_MAX);


and add / 10 in stat += level + status->agi;

 

    // Flee
    stat = status->flee;
    stat += level + status->agi/10;
    status->flee = cap_value(stat, 1, SHRT_MAX);

Tested only on pre-renewal

  • Upvote 1
  • 0
Posted
5 hours ago, EIysium said:

Your server is pre-renewal or renewal? because that formula is renewal so you need to scroll a little bit lower to find:
 

    // Flee
    stat = status->flee;
    stat += level + status->agi;
    status->flee = cap_value(stat, 1, SHRT_MAX);


and add / 10 in stat += level + status->agi;

 

    // Flee
    stat = status->flee;
    stat += level + status->agi/10;
    status->flee = cap_value(stat, 1, SHRT_MAX);

Tested only on pre-renewal

I Did not pay attention to that
all good now and working thanks!

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