Quote (Meridius @ Dec 27 2018 06:43pm)
ee + mastery from gear + prof is in the same factor,
means if you have a t2 light with 60ee, you cannot apply any light mastery or prof to the formula as these are simply added to the ee factor
Code
(1 + (int - 5) / 100) * ( 1 + (ee + prof + mastery) / 100) * base damage from portal = show damage
cap is +20% ee on each tier and not shown in the formula
Thanks:
Using your code explanation with my post information:
(1 + (int - 5) / 100) = 2.05
(1 + (ee + prof + mastery / 100) = 1.70
... so: 2.05 x 1.70 = 3.485 x 2 = 6.97
... so: 2.05 x 1.70 = 3.485 x 20 = 69.7
...
Damage 6 to 69Now, do we remove 10% from the total because it is OVER the Cap by 10%?
... 6.97 / 10 * 9 = 6.273 (Round Down = 6)
... 69.70 / 10 * 9 = 62.73 (Round Down = 62)
...
Damage 6 to 62Recap to check values by the formula you used:
(1 + 105 [int total - 5] / 100) = 2.05
(1 + 70 [60 ee + Rank 10] / 100) = 1.70
Base Minimum Damage 2
Base Maximum Damage 20
What area of the Formula do you use Enhanced Effect [+Rank + Mastery]? Is it from the BASE item Value shown in Portal, or does Enhanced Effect [+Rank + Mastery] increase both Base Item Value & Stat value?
NOTE: I am
NOT arguing that your formula is incorrect, I am trying to establish how it is formulated that way and why... my view is that Enhanced Effect is a mod that is represented to the ITEM alone, NOT Stat enhanced effect, thus, if there is a 20% level CAP on ITEMS, it is commonsense that it only effects the ITEM and NOT the stat values.
Remember, I am just trying to find the correct coding to implement and establish a working base format for anyone that may script an LS Item Calculator.
This post was edited by izParagonzi on Dec 27 2018 12:56am