Coder Social home page Coder Social logo

sdyxxjj123 / pcrduel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rs794613/pcrduel

42.0 42.0 7.0 1.87 MB

创建贵族进行俄罗斯转盘决斗,提升贵族等级,争夺pcr女友的小游戏。

License: GNU General Public License v3.0

Python 100.00%

pcrduel's People

Contributors

foxwhite25 avatar rs794613 avatar sdyxxjj123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pcrduel's Issues

关于称号系统的一点建议

给大佬提出一点关于称号系统的建议
:比如获取特定组合的角色以后可以获得一定的奖励
:如雷姆和拉姆获得‘双生姐妹花’或者获得某个公会全部成员时获得‘xxx公会之主’
还有一些实用性的称号
:如连续赢下多少盘之后可以获得‘欧洲人的嘴脸’ 获得金币获取量的小幅度提升;
可以用1亿金币获得‘唯一神(候选)'然后向对方发起神战大幅度掠夺对方的金币女友声望等,当然惩罚也更加严重;击败多少人或者得到全群女友的百分之多少比例可以获得唯一神称号;可以强制重置本群的所有存档。
另外还有一些功能性的称号可以设置一些奇怪的获取方式 比如分手好感度最高的女友获得’冷血者‘连续认输多少次解封以后获得’懦夫‘连着决斗同一个人多少次获得’死敌‘类似的。

说了这么多感觉难度略大,当我没说好了

一个小道具战书

使用战书可以挑战对应角色的主人,如果是挑战者赢了,就抢到对应角色,并且获得该角色50好感(就是刚好达到失败扣好感的值),如果挑战者输了,那对方就会好感增加50。
可以失败惩罚被保护卡保护,可以被无懈卡无懈。
其他和决斗差不多。
然后可以不应战,不应战的惩罚是扣除200声望,对应女友的好感-15。

金币量太大会导致无法结算

[2021-03-07 13:11:01,029 pcr-duel] ERROR: <class 'Exception'> occured when nobleduel handling message 1381145100.
[2021-03-07 13:11:01,029 pcr-duel] ERROR: 更新表发生错误
Traceback (most recent call last):
  File "/home/qqbot/apps/HoshinoBot/hoshino/modules/priconne/pcr_duel/__init__.py", line 798, in _add_score
    conn.execute("INSERT OR REPLACE INTO SCORECOUNTER (GID,UID,SCORE) \
OverflowError: Python int too large to convert to SQLite INTEGER

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/qqbot/apps/HoshinoBot/hoshino/msghandler.py", line 35, in handle_message
    await sf.func(bot, event)
  File "/home/qqbot/apps/HoshinoBot/hoshino/modules/priconne/pcr_duel/__init__.py", line 3393, in nobleduel
    score_counter._add_score(gid, uid, winscore)
  File "/home/qqbot/apps/HoshinoBot/hoshino/modules/priconne/pcr_duel/__init__.py", line 802, in _add_score
    raise Exception('更新表发生错误')
Exception: 更新表发生错误

俄罗斯转盘概率问题

line 2781
deadnum = int(math.floor( random.uniform(1,x) ))
不可能达到6,导致 默认6发子弹的时候 先手胜率2/5,后手胜率3/5

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.