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

Function in Player.lua

flaviiojr

Active Member
Joined
Jan 20, 2017
Messages
230
Solutions
13
Reaction score
39
How to add these functions in player.lua?

getBaseXpGain
setBaseXpGain
getVoucherXpBoost
setVoucherXpBoost
getStoreXpBoost
setStoreXpBoost
getStaminaXpBoost
setStaminaXpBoost

I tried to add but many errors appear...
 
If you are using TFS 1.x

write if statement and experience algorithm of each feature in: Player: onGainExperience(source, exp, rawExp)
store boost value in unique storage value.
 
Back
Top