Formula

CommonFun.calcBuff_6511

function CommonFun.calcBuff_6511(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local StrengthLv = srcUser:GetEquipedStrengthLv(c)
  local A = d
  if b <= StrengthLv then
    A = math.floor((StrengthLv - b) / 10) * a + A
  end
  return A
end