Jump to content

Getting exp broken


Recommended Posts

Hello, i got very weird prolem i cant figure out..
I am getting wrong exp from monsters, for example
in mysql bear have 100exp, difference is 0lvl so i should get 100% of that amount, but im getting like 5exp.. what can couse such a weird thing?

What is wrong with it, i think that //-14 caunts as 0 difference between mob and player but it should be 14 lvl under the player

Spoiler

const int aiPercentByDeltaLevForBoss_euckr[MAX_EXP_DELTA_OF_LEV] =
{
    1,      // -15  0  ------------------------this caunts as 1level above mob difference
    5,          // -14  1   ------------------------this caunts as 0lvlabove mov difference
    10,          // -13  2 ------------------------this caunts as 1lvl below mob difference
    15,          // -12  3 ------------------------this caunts as 2lvl below mob difference
    20,         // -11  4 ------------------------this caunts as 3lvl below mob difference
    25,         // -10  5 ------------------------this caunts as 4lvl below mob difference
    30,         // -9   6 ------------------------this caunts as 5lvl below mob difference
    40,         // -8   7 ------------------------this caunts as 6lvl below mob difference
    45,         // -7   8 ------------------------this caunts as 7lvl below mob difference
    50,         // -6   9
    60,         // -5   10
    70,         // -4   11
    80,         // -3   12
    90,         // -2   13
    100,         // -1   14  ------------------------this caunts as 13lvl below mob difference
    110,        // 0    15
    120,        // 1    16
    130,        // 2    17
    140,        // 3    18
    150,        // 4    19
    160,        // 5    20
    170,        // 6    21 ------------------------this caunts as 20lvl below mob difference
    180,        // 7    22
    190,        // 8    23
    200,        // 9    24
    220,        // 10   25
    240,        // 11   26
    260,        // 12   27
    280,        // 13   28
    300,        // 14   29
    400,        // 15   30 ------------------------this caunts as 29lvl below mob difference
};

 

SAME FOR

const int aiPercentByDeltaLev_euckr[MAX_EXP_DELTA_OF_LEV] =
{
    1,  //  -15 0
    5,  //  -14 1
    10, //  -13 2
    15, //  -12 3
    20, //  -11 4
    25, //  -10 5
    30, //  -9  6
    40, //  -8  7
    45, //  -7  8
    50, //  -6  9
    60, //  -5  10
    70, //  -4  11
    80, //  -3  12
    90, //  -2  13
    100,    //  -1  14
    110,    //  0   15
    120,    //  1   16
    130,    //  2   17
    140,    //  3   18
    150,    //  4   19
    160,    //  5   20
    170,    //  6   21
    180,    //  7   22
    190,    //  8   23
    200,    //  9   24
    220,    //  10  25
    240,    //  11  26
    260,    //  12  27
    280,    //  13  28
    300,    //  14  29
    400,    //  15  30
};

 

Edited by Mefarious
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.