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

Min/Max

Titanum

New Member
Joined
Feb 21, 2016
Messages
22
Reaction score
0
May someone explain those commands, i'm using high level evo and i need to make low level get exp on high level but not that much, like i tried it with char level 4k and char level 100 and this player got like level 800 with min = 5, so i need someone to explain it well for me please :(, if you've another way to get exp onkill better than this commands please tell me it, i need those low level to get exp based on thier level like if someone like 100 and another one 4k so this one who is low level get like 3 levels at all not that much (800 levels)
Code:
-- Experience from players
    -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
    -- player will gain experience from every lower leveled player.
    -- max~Threshold* set to 0 will disable the maximum threshold:
    -- player will gain experience from every higher leveled player.
    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 5
Sorry for my language :s i hope so you help me.
 
I guess PVP-enfo code in your evo has static formula for gaining experience - you get the experience the player you killed lost. Thresholds in config are for determining on which level player is getting that exp. E.g. min threshold is set to 0.9, so when you have 400 level you can kill player with level 360 and up and get experience. It goes similarly for max threshold: 400 level can kill max level 2000 when max threshold is set to 5. If you want to change the experience amount given to the player after killing another player you have to dig into source, find a formula for that, and compile it with yours.
 
Back
Top