• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

EXP Formula!!

lindoxx

Sasha my queen ♥
Joined
Jul 18, 2010
Messages
27
Reaction score
1
How to make it?? Like this:
http://www.hallowtibia.com.br/exptable.php

first_rat.jpg

(I copied this picture from another thread, http://otland.net/threads/exp-formula.155808/)

Im using avesta 7.6 , i think it's in game_classes/calculator.lua but how?
 
Hello, this is the fix

change in player.h this:
Code:
static uint64_t getExpForLevel(int32_t level)
{
    level--;
    return ((50ULL * level * level * level) - (150ULL * level * level) + (400ULL * level))/3ULL;
}

to this:
Code:
static uint64_t getExpForLevel(int32_t level)
{
    level--;
    return ((level * 50ULL) * (level * level * level) / 500ULL)+10ULL;
}
 

Similar threads

Back
Top