Formula

CommonFun.calcBuff_4020

function CommonFun.calcBuff_4020(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  local RefineLv = srcUser:GetEquipedRefineLv(1)
  local A = 0
  if 10 <= RefineLv and 0.6 < IgnoreMDef then
    A = 0.03
  end
  return A
end