Module:CalcFit
Documentation for this module may be created at Module:CalcFit/doc
local Stat = require("Module:Stat")
return {
hit = function(context)
return Stat.rate({ args = { context.cl1 + context.cl2, context.cl0 + context.cl1 + context.cl2 } })
end,
crit = function(context)
return Stat.rate({ args = { context.cl2, context.cl0 + context.cl1 + context.cl2 } })
end,
error = function(context)
return Stat.error({ args = { context.cl1 + context.cl2, context.cl0 + context.cl1 + context.cl2 } })
end,
difference = function(context)
return "??"
end,
}