I've created a package with which you can do a lot of stat calculations within Lua scripts with ratings, percentages, item stats, effect stats, etc. Almost all the things which I can do in my LotroPlan spreadsheet. I basically did some translations of functions in starbasic to lua.

see https://www.lotrointerface.com/downl...-CalcStat.html