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

change exp stage to float

_M4G0_

Intermediate OT User
Joined
Feb 6, 2016
Messages
550
Solutions
17
Reaction score
108
how can i change so that exp is:
<stage minlevel="300" maxlevel="400" multiplier="2"/>
<stage minlevel="401" maxlevel="601" multiplier="1.5"/>
<stage minlevel="601" maxlevel="1000" multiplier="0.5"/>

tfs 1.2
 
need this help to
Post automatically merged:

Solved with gambiarra:

I wanted:
<stage minlevel="1" maxlevel="100" multiplier="0.9" />
<stage minlevel="101" maxlevel="200" multiplier="0.8" />


So I used to work:
<stage minlevel="1" maxlevel="100" multiplier="90" />
<stage minlevel="101" maxlevel="200" multiplier="80" />


And in events/player.cpp:

exp = exp * Game.getExperienceStage(self:getLevel()) * 0.1
 
Last edited:
Back
Top