Giter Club home page Giter Club logo

pcr_calculator_plus's Introduction

pcr_calculator_plus

合刀计算器 终极版 by ellye

repo地址:https://github.com/pcrbot/pcr_calculate_plus/

(什么中二名字)

输入方法

指令前缀

合刀, cal, 尾刀计算

指令内容

  • boss剩余血量和两刀伤害(可只输一刀或不输入)

  • boss血量、造成伤害(缺省为boss血量)、打死时间、期望时间(可无)

时间输入后缀为s,范围[0,90)的正整数。

血量输入支持[|w|W|万]后缀;若无后缀,数值小于50000的将被10000;若输入表达式,将根据eval转换。

例:cal 700w 400万 5000000 / 合刀 2000-87-49 2000 30s 61s

输入输出对详细例

合刀 1500

HP=15000000
刀数 / 满补所需伤害
1刀 	 64285715
2刀 	 12162163
3刀 	 6716418
4刀 	 4639176

cal 400 700w

HP=4000000
damage=7000000
补偿59秒
垫入2366667伤害可满补

cal 700万 400W

HP=7000000
damage=4000000
另一刀伤害达到6066667(先出)/12857143(后出)即可满补。

以下指令内容输入顺序随意,将自动识别。

cal 3987654 900 666

HP=9000000
damage1=6660000
damage2=3987654
补偿58秒/43秒

cal 700 30s 61s

HP=7000000
damage=7000000余30s
期望获得61s
还需垫入1166667伤害

cal 1500 1700 34s

HP=15000000
damage=17000000余34s
返还61s

cal 1500 2000 20s 71s

HP=15000000
damage=20000000余20s
期望获得71s
还需垫入3571429伤害

奇怪的输入

cal 700 100 200

HP=7000000
damage1=2000000
damage2=1000000
剩余血量4000000

cal 700 10s

HP=7000000
damage=7000000余10s
期望获得81s
还需垫入4375001伤害

cal 1700 35s 56s

HP=17000000
damage=17000000余35s
期望获得56s
还需垫入1伤害

cal 1800 2000 34s 58s

HP=18000000
damage=20000000余34s
期望获得58s
已满足要求(余60s)

cal61s 2000 30s 2000-87-49

HP=18640000
damage=20000000余30s
期望获得61s
还需垫入1973334伤害

cal

请输入boss剩余血量和两刀伤害(可只输一刀或不输入)
或:boss血量、造成伤害(缺省为boss血量)、打死时间、期望时间(可无)
例:cal 700w 400 5000000 / cal 2000 34s 56s

cal 91s

时间错误:91

cal -1

伤害为负:-1.0

pcr_calculator_plus's People

Contributors

watermellye avatar

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.