Formula

CommonFun.calcBuff_4850

function CommonFun.calcBuff_4850(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Attr = srcUser:GetProperty(CommonFun.GetAttrName(c))
  local A = d
  if a <= Attr then
    A = A + b
  end
  return A
end