Formula

CommonFun.calcBuff_6873

function CommonFun.calcBuff_6873(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = a * lv + b
  local mapid, maptype = srcUser:GetMapInfo()
  if maptype == 3 then
    A = 0
  end
  return A
end