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

TFS 1.X+ Upgrade system doesn't add enchantment values if player dies and spawn

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
1,521
Solutions
27
Reaction score
870
Location
Santiago - Chile
GitHub
ralke23
Twitch
ralke23
Hi again! I have done some modifications to oen's upgrade system and it's been working really good for me. But I have one big error that is annoying me, when a player dies, and spawns back on temple, it looses all the bonus from equipment (such as additional hitpoints, additional mana, additional skills, etc.). Is there any way to avoid this to happen? It's like everything added from onEquip event gets lost when a player dies, I have clues but not certain ideas of why is this happening.

This thread is a forward step from this one:

Here's the updated version I use

And oen's original repository

On the search for a solution I found this to use as reference, but haven't tested if it works or not

Any help is very appreciated! 🙏
Regards
 
Back
Top