Search Downloads

Go Back   LoTROInterface > LotRO Libraries

Category: LotRO LibrariesCalcStat
Interface Information
How do I install this? (FAQ)
Name: CalcStat   Updated this week!
Date: 12-07-2018 09:04 AM
Size: 21.18 Kb
Version: 1.0.4
Rate File: 5 out of 5 with 1 votes  
Click to enlarge 

Views: 0
Size: 173.60 Kb
Dimensions: 1488 x 781
Simplicity in it's use and flexibility because of a stat definition table.
This package contains the macro functions which are used in my spreadsheet LotroPlan for most of the calculations like calculating rating percentages from ratings, item stats from item levels (armour values for instance), LI title stats from I,II,III etc.

The VisualBasic script compiles statdata.csv which results in the CalcStat.lua file with the major calculation function. Statdata.csv contains currently ~1200 entries (an entry is one stat calculation segment). You can most conveniently view the .csv with a spreadsheet application.

Note: most is up to date with U23, but some effects/passives might be in need of more work. Rule of thumb: if you don't see a segment in the calculation tree which starts or ends in the character level 116-130 range(no typo ) then it's likely not updated(yet).

version 1.0.1:
- fixed a bug in Roman number decoding for LI titles.

version 1.0.2:
- fixed a bug in Roman number decoding for LI titles reprisal.
- added comments to the calculation function support file CalcSsup.lua

version 1.0.3:
- implemented a binary search tree for the stats lookup. tree height/depth is 10 at the moment (max capacity 2^10=1024 stats).

version 1.0.4:
- added more comments to statdata.csv
- some stats were added or changed(made current with BR U23.2p2) see post below.
Archive List (Old Versions)
File Name
18.16 Kb
12-05-2018 10:20 AM
16.98 Kb
12-03-2018 04:52 AM
15.48 Kb
12-02-2018 04:33 PM
15.52 Kb
12-02-2018 01:36 PM
File Statistics
User Rating:
5 out of 5 with 1 votes
Downloads: 75
Views: 525
Favorites: 0
Uploaded By:
Last Modified: N/A

View Pictures. Download Now! Post A Comment

Post A Reply
Author Comments Comment Options
Unread 12-07-2018, 09:19 AM  
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 3
Uploads: 1

These stats were changed:

CPTCRITDEF - Captain critical defence rating passive
DWARFENDURVITALITY - Dwarf racial trait skill Dwarf Endurance Vitality
GRDCRITDEF - Guardian critical defence rating passive
GRDPROTECTIONAVOID - Guardian trait skill Protection b/p/e ratings
GRDTENDERIZECRITHIT - Guardian trait Tenderize Critical hit rating
GRDWARDTACTTACMIT - Guardian trait Guardian's Ward Tactics Tactical Mitigation
LMHEARTYDIETMORALE - Lore-master trait Hearty Diet Morale
RACIALMAIN - racial traits main stat
SHIELDBRAWLERBLOCK - Dwarf racial trait Shield-brawler Block rating
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 12-02-2018, 03:58 PM  
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 3
Uploads: 1
Some usage examples

Just a few of the many calculations:

Tactical Offence Damage percentage (+0.0002 to make it like in the character window) =

Resistance percentage from rating including T2 penetration =
CalcStat("ResistPRatP",PlayerLevel,Rating+CalcStat ("T2PenResist",MobLevel))+0.0002

Full Evade percentage cap =

Required Evade rating for percentage =

Mithrin Vitality essence value (ilvl 372) =

Armour value for ilvl 380 medium head gear purple =

Captain's In Defence of Middle-Earth main stats buff =

Critical Defence on item =

Knowledge of Eldar Days III LI title Tactical Mastery Rating =

Last edited by Giseldah : 12-02-2018 at 04:30 PM.
Giseldah is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

Category Jump:
Search this Category:

All times are GMT -5. The time now is 07:51 AM.

Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui