Formula

CommonFun.calcBuff_8960

function CommonFun.calcBuff_8960(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 0
  local Num = targetUser:GetBuffLayer(a)
  if 1 <= Num then
    A = Num * b
  end
  if b == 0.5 then
    A = math.ceil(Num * b)
  end
  return A
end