Formula
CommonFun.calcBuff_5100
function CommonFun.calcBuff_5100(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local GemValue1 = srcUser:GetGemValue(41031_ANY_DMG_TAKEN_HAS_A_PERCENTAGE_CHANCE_TO_GET_HIDING_EFFECT)
local GemValue2 = srcUser:GetGemValue(41032_SKILL_DMG_REDUC_PERCENTAGE_MOVE_SPD_S_UNDER_HIDING_STATUS_LASTS_5_SECS)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local A = math.floor(Int / 10) * GemValue1 / 100000 * a + math.floor(Vit / 10) * GemValue2 / 100000 * b
return A
end