Originally Posted by rthiago
Just a minor bug, if you set "Assume 100% hit" to Yes on the gear planner and hit CalcAttributes it gives a zero div error.
|
I fount this issue also. The problem is caused by the macro "DpsPerStat" when it reaches the following commands
Worksheets("Overview").Range("DPSHit").value = (Worksheets("Calculations").Range("TotalHunterDPS").value - HunterDPS) / HitToCap
Worksheets("Pet").Range("PetDPSHit").value = (Worksheets("Pet").Range("PetTotalDPS").value - PetDPS) / HitToCap
|
TEMPORARY UNSANCTIONED FIX:
Note: This "Fix" was not approved by the creator of the Spreadsheet. Use it at your own risk.
I'm sure there is a better way to fix this issue but the way i did was entered the debuger and changed the lines stated above in the "DpsPerStat" Macro to end with
(HitToCap + 1E-20)
Doing this will make the macro never run into the Divide by Zero error. I tested it to also
not assume 100% hit and it worked fine. Doing this will change the DPS per stat value on the Overview tab to "0" if you have it set to assume 100% hit.
Originally Posted by snail
Someone can correct me if I'm wrong but the 100% assumes 8% hit on the hunter while pets require 9% hit to be capped.
|
It should change the gear planner as long as you click the "CalcAttributes" button on the Overview tab.. However, due to the bug stated above, you get a Divide by Zero error if you have the gear planner tab set to assume 100% hit.