• 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!

C++ Experience for killing player PVP Enforced

Realzone

New Member
Joined
Dec 22, 2010
Messages
72
Reaction score
4
Hello!

Do anyone know the actually forumla for PVP enforced for real tibia?
All I can find in my sourcers are:

Lua:
if (attackerPlayer && attackerPlayer != this && skillLoss && std::abs(static_cast<int32_t>(attackerPlayer->getLevel() - level)) <= g_config.getNumber(ConfigManager::EXP_FROM_PLAYERS_LEVEL_RANGE)) {
            return std::max<uint64_t>(0, std::floor(getLostExperience() * getDamageRatio(attacker) * 0.75));

This seems quite high? I put so there is a level range for 30 levels to kill someone.
If im the same level as the one I kill I almost recieve 7-8 levels, lets say both level 60.

I can also change this 0.75 to 0.1 and then it seemed quite well, earned 2-3 levels for killing but the loss was a bit low now.

Hope you understand.
Thanks!
 
Back
Top