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

Lua Login streak bonus

henkebenk

New Member
Joined
Feb 25, 2024
Messages
8
Reaction score
1
Hello,

I'd like to have a script that gives the player a login bonus for each day being online (account-wide). Some examples of bonuses that could be used:

Day 1 - No bonus
Day 2 - 10% Mana Regen
Day 3 - 10% HP Regen
Day 4 - 10% speed increase
Day 5 - 10% skill increase
Day 6 - 10% exp increase

All of the bonuses should be kept as long as the player is still logging in. So after day 6, the player will continue to keep the bonuses he/she has earned until the player is offline for more than 24 hours. Then the streak should re-start again.

I'm using TFS 1.4.2

Thank you in advance!
 

Similar threads

Back
Top