kira2zero / koishi-plugin-pool-simulator Goto Github PK
View Code? Open in Web Editor NEW基于koishi框架的抽卡模拟器插件
License: MIT License
基于koishi框架的抽卡模拟器插件
License: MIT License
举例:
设置稀有度概率 大箱子 X级战舰或稀有战舰:0.03% VIII-IX级战舰:0.15% V-VII级战舰:0.82% 1500钢铁:1% 1500研发点:1% 15个蓝色银币加成:1.65% 15个蓝色战舰经验加成:1.65% 15个蓝色指挥官经验加成:1.65% 15个蓝色全局经验加成:1.65% 25个绿色银币加成:7% 25个绿色战舰经验加成:7% 25个绿色指挥官经验加成:7% 25个绿色全局经验加成:7% 50个信号旗:30% 1000达布隆:4% 7天高级账号:5.4% 25000全局经验:6.5% 75000指挥官经验:6.5% 7500煤炭:10%
希望增加抽卡会消耗通用积分插件里的积分
1.增加小数
例如:设置稀有度概率 碧蓝航线重巡池 超稀有:0.01% 精锐:1.99% 稀有:18% 普通:80%
2.增加保底开关按钮
例如:10连抽如果全部抽到普通就会出现9次普通1次稀有
3.增加删除或替换某个等级的物品
例如:替换物品 碧蓝航线重巡池 精锐 休斯顿 超稀有 休斯顿
删除物品 碧蓝航线重巡池 精锐 休斯顿
报错如下
command poolmanager.draw
TypeError: Cannot read properties of undefined (reading 'goodsList')
at /root/koimux_bot/node_modules/koishi-plugin-pool-simulator/lib/index.js:228:36
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Command. (/root/koimux_bot/node_modules/koishi-plugin-pool-simulator/lib/index.js:218:9)
at async Array. (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:1656:14)
at async _Command.execute (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:1671:22)
at async /root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:2320:22
at async _Session.withScope (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:2188:22)
at async next (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:844:16)
at async next (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:844:16)
at async next (/root/koimux_bot/node_modules/@koishijs/core/lib/index.cjs:844:16)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.