opentibiabr / canary

Canary Server 13.x for OpenTibia community.
https://docs.opentibiabr.com/
GNU General Public License v2.0
374 stars 618 forks source link

Loyalty System "stops" after leveling up (skill) #1255

Closed gdss closed 1 year ago

gdss commented 1 year ago

Priority

Low

Area

What happened?

First of all, great job on loyalty system.

Steps to reproduce:

  1. Login with some loyalty bonus image

  2. Training ML in dummy until leveling up image

  3. After bar reaches ~50%, loyalty comes back image

What OS are you seeing the problem on?

Linux

Code of Conduct

luan commented 1 year ago

Ah. this is tricky one. This happens because loyalty a gives you "mana spent" (or skill tries for other skills). Not skill levels. so right after leveling up a skill you now need a different number of mana to get to the next one. I think cip papers over this some how so I'll try to think of a solution. thanks for the report!

ElimarCosta commented 1 year ago

If i'm not wrong this is the normal comportament on global Tibia. Sometimes you will "lose" your skill bonus provenient from loyalty bonus until you get into a range where your own status plus the one given by loyalt achieves a new level.

gdss commented 1 year ago

thanks for the answers. It seems it's working then