Giter Site home page Giter Site logo

Comments (10)

evilcat-x avatar evilcat-x commented on June 10, 2024

啊 顺带舰种排序貌似也是 获取id 升序的节奏
在nga 爬就贴看到的。。。

from plugin-ship-info.

evilcat-x avatar evilcat-x commented on June 10, 2024

看了代码感觉

if (a.id != b.id) return a.id - b.id

改成

return -(a.id - b.id)

就ok的节奏吧

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

嗯,可以确认游戏里面的 lv,舰种和修理(HP)的排序都包含有按 api_id 的升序

我觉得需要考虑一下插件里面的其它排序是不是也要都带上对 api_id 的升序排序,这样一来也要加入更多的条件来让排序结果显得齐整。所以会一并做个修复,咕咕咕

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

仔细想了一下,这里面还包括一个升序和降序的问题,游戏中是没有升降序的开关的,这些倒是可以一并解决……

from plugin-ship-info.

wafer-li avatar wafer-li commented on June 10, 2024

😂 其实我一直有想查看谁更先结婚的需求

建议 98 级的可以按照剩余经验值排序

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

@wafer-li 会实现和游戏内表现不一致的排序,我觉得可能直接给 98 级的船加个 popup 显示剩余经验值可能好一点,不过估计就是一个基本没有用户会发现的功能了……

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

@wafer-li 把这个排序放到经验计算插件的舰娘列表下拉选单那里倒是可以……

from plugin-ship-info.

wafer-li avatar wafer-li commented on June 10, 2024

@KagamiChan 第二个提议不错,那就不在这里整了。

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

@wafer-li 经验计算新版本已发

from plugin-ship-info.

KagamiChan avatar KagamiChan commented on June 10, 2024

已修复

from plugin-ship-info.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.