Jump to content
Eternal Lands Official Forums

PR19 Add skill experience related operators to #calc

Recommended Posts

I made a patch to do nifty math things related to your skill levels and exp. E for total exp in a skill, N for exp to next level, Z for the last exp event. Use the operator and the (localized) skill shortname (all one token) to calculate all sorts of cool things. I also threw in Q as a sort of reverse L to do exp to level calculations. This is a lot more convenient and less error prone than manually typing in the exp numbers from the stats window and the HUD hovers.



How many more mixes to next manufacturing level:

#calc nman/zman

How many more mixes to alchemy level 80:

#calc (l80-ealc)/zalc

Expected level after crafting 10k of something:

#calc q(ecra+10k*zcra)

Hours to next harvest level:

#calc nhar/(120*zhar)

Share this post

Link to post
Share on other sites

Hi, nice patch. I presume people would support committing this to the client? I would be be happy to action the pull request but you may want to check my comment on github regarding some compiler warnings first.

Share this post

Link to post
Share on other sites

Thanks for catching that. I had switched to using the localized shortnames at the last minute and should have checked more thoroughly than just "it still works". I've updated the patch on github with the necessary casting.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.