Formula
CommonFun.calcPveNpcAttrValue
function CommonFun.calcPveNpcAttrValue(attr, Type, fScale)
local result = {}
if Type == 3 then
result = CommonFun.calcPveMonsterNpcAttrValue(attr, Type, fScale)
elseif Type == 4 then
result = CommonFun.calcPveMiniNpcAttrValue(attr, Type, fScale)
elseif Type == 5 then
result = CommonFun.calcPveMvpNpcAttrValue(attr, Type, fScale)
end
for k, v in pairs(result) do
result[k] = math.floor(v * 1000) / 1000
end
return result
end