rs794613 / pcrduel Goto Github PK
View Code? Open in Web Editor NEW创建贵族进行俄罗斯转盘决斗,提升贵族等级,争夺pcr女友的小游戏。
License: GNU General Public License v3.0
创建贵族进行俄罗斯转盘决斗,提升贵族等级,争夺pcr女友的小游戏。
License: GNU General Public License v3.0
这样会不会导致女友会重复呀
[2021-02-01 18:43:05,923 nonebot] ERROR: Failed to import "hoshino.modules.prico
nne.pcr_duel", error: expected an indented block (init.py, line 1563)
[2021-02-01 18:43:05,923 nonebot] ERROR: expected an indented block (init.py
, line 1563)
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-p
ackages\nonebot\plugin.py", line 249, in load_plugin
module = importlib.import_module(module_path)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\import
lib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 779, in exec_module
File "", line 916, in get_code
File "", line 846, in source_to_code
File "", line 219, in call_with_frames_removed
File "C:\Users\Administrator\Desktop\pcr\HoshinoBot\hoshino\modules\priconne\p
cr_duel_init.py", line 1563
msg = '现在正在决斗中哦,请决斗后再来谈分手事宜吧。'
^
IndentationError: expected an indented block
自己的技术不足 看大佬的了
init.py里的帮助有写
“一个女友只属于一位群友
猜角色/猜头像获胜
每日可获得6次100金币”
但是猜对也不会加金币,是不是没写相关功能?
改动了
#结算下注金币,判定是否为超时局。
if is_overtime == 1:
if n !=6:
msg = '本局为超时局,不进行金币结算,支持的金币全部返还。'
await bot.send(ev, msg)
duel_judger.set_support(ev.group_id)
duel_judger.turn_off(ev.group_id)
return
使得第六枪即便不开超时也不算是超时局,同时超时也会重置押注,之前没重置押注带来了一些不必要的麻烦
目前是只有2人能决斗,希望能增加到3人或4人,输出去的女友随机分配,如果有人满了就分给没满的
希望可以实现两个玩家相互交换角色的操作,(或者拓展成[人口]买卖也可以)
目前玩家间角色交换的唯一方式好像只有决斗,而且决斗的奖励不可控,假如两个玩家想要交换指定女友只能赌概率
(假如可以以指定女友为赌注进行决斗就更好了)
(单推厨为了特定角色决斗了半天,结果就一个路人妹被来回转手,难受)
贵族决斗的支持金币无反应,
交换礼物的功能也无反应,该如何修改
猜语音功能不加金币
如果多次拒绝决斗,会有随机一位角色离开你变成单身状态
爵位越高,金币收益越大
每天随机出现一些时间段,在这些时间段内某位角色约会到的概率增加
花费更多金币指定约会某位角色
女友列表差了现今版本的角色列表太多
群里好多人都抢了女友但是不玩了,想彻底重置这个群的女友,但是不影响其他群的,要怎么弄才可以????求大佬帮助
帮助中猜角色猜头像获胜加金币为个人魔改,如果不魔改可以删掉这两行描述。
然而在__init__.py中并没有找到和猜头像加金币相关的代码... ...
感觉有点奇怪 这个可以优化吗
配置好猜语音插件后,猜对总是得不到金币。
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.