advise to use the api method for better mod capability
Slarper opened this issue ยท 3 comments
#109 because I have a mod that inject the method player.addExperienceLevels(-amount)
to avoid exp cost, but it doesn't affect the waystones, so I find the reason that waystones mod uses player.experienceLevel -= amount;
.
So I suggest that using the method player.addExperienceLevels(-amount)
to replace it for better mod capability.
If you think this is not a good suggestion, I will feel sorry and won't mention it again.
Took a bit, but done ๐
(Also, not sure if you're doing the injection for waystones-only, but if so, you can disable the cost in the configs)