Formula

CommonFun.calcBuff_5190

function CommonFun.calcBuff_5190(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = a * lv + b
  if srcUser:HasBuffID(c) then
    A = 0
  end
  return A
end