Formula

CommonFun.calcBuff_7701

function CommonFun.calcBuff_7701(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = a
  local IBaseLv = srcUser.BaseLv
  if 120 <= IBaseLv and IBaseLv < 130 then
    A = A + b
  elseif 130 <= IBaseLv and IBaseLv < 150 then
    A = A + b + c
  elseif 150 <= IBaseLv then
    A = A + b + c + d
  end
  return A
end