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

TFS [1.2] Stopping Health, Mana & Skills Gain

marcelomnzs

Active Member
Joined
Aug 9, 2019
Messages
164
Reaction score
46
I want to add a feature, when the player is under a certain condition (like a storage = 1), the mana gain, health ticks, (pause food) and skills gain are locked during that condition, as if they were in a protection zone, but it could be attacked or attack.
Could someone help me think about how to implement this?
I thought about events/player.lua but I don't know how to pause the ticks without implementing a protection zone state or stopping the skills gain
 
maybe would need to edit it abit
 
maybe would need to edit it abit
thanks for reply, but these doesnt have skilltries and regen stops..
 
Back
Top