template = Calculator:Lucky/template form = exprCalcForm result = exprCalcResult param = minHit|Minimum hit|1000|int|1-32000 param = maxHit|Maximum hit|5000|int|1-32000 param = level20|Is Lucky on level 20 gear?|false|check|true,false
This text will disappear if the form is loaded properly.
This text will disappear if the form is submitted.
This documentation is transcluded from Calculator:Lucky/doc.
Calculator:Lucky invokes Module:Lucky calculator using Lua.
Description
This calculator is in part a simulator. Since enemies will have a range of damage between [Minimum hit,Maximum hit], a random value between that range is chosen uniformly and this will lead to varying results each time it is run. If the damage reduction is desired to be known for constant damage taken per hit, set the minimum hit and maximum hit to be the same and the results for this will not vary.
Minimum hit
Minimum hit of enemy. Accepted values are integers from [1,32000].
Maximum hit
Maximum hit of enemy. Accepted values are integers from [1,32000].
Is Lucky on level 20 gear?
If checked, the proc rate of the Lucky perk is multiplied by 1.1 per rank. If left unchecked, the proc rate of the Lucky are their normal values per rank.