Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add robbery plugin #893

Merged
merged 3 commits into from
May 6, 2024
Merged

add robbery plugin #893

merged 3 commits into from
May 6, 2024

Conversation

vatebur
Copy link
Member

@vatebur vatebur commented Apr 29, 2024

#2 (comment)
add robbery plugin
添加打劫插件,打劫群友的Atri币

  • 打劫[对方Q号|@对方QQ]
  1. 受害者钱包少于1000不能被打劫
  2. 打劫成功率 40%
  3. 打劫失败罚款1000(钱不够不罚钱)
  4. 保险赔付0-80%
  5. 打劫成功获得对方0-5%+500的财产(最高1W)
  6. 每日可打劫或被打劫一次
  7. 打劫失败不计入次数

感谢 @LHyphen review

Copy link
Member

@fumiama fumiama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还需要在README相应位置添加说明,记得遵守main.go的排序。

vatebur added 2 commits May 6, 2024 09:35
add robbery plugin
添加打劫插件,打劫群友的Atri币
add robbery plugin
添加打劫功能的说明
@vatebur
Copy link
Member Author

vatebur commented May 6, 2024

change log

  1. 使用rebase追平主分支的提交
  2. 在README.md 里添加对应的功能说明
  3. 应用 lint 的建议,修改import顺序

@fumiama fumiama merged commit baaef6c into FloatTech:master May 6, 2024
8 checks passed
@vatebur vatebur deleted the PR branch May 7, 2024 01:12
YumeMichi added a commit to YumeMichi/ZeroBot-Plugin that referenced this pull request May 15, 2024
* https://github.com/FloatTech/ZeroBot-Plugin:
  feat: add plugin 抽扑克牌 (FloatTech#906)
  fix(workflow): pr not work properly
  Revert "feat: add plugin 抽扑克! (FloatTech#903)" (FloatTech#905)
  feat: add plugin 抽扑克! (FloatTech#903)
  [dish] fix: 关键词搜寻功能 (FloatTech#904)
  修复 FullMatchRule 中调用 ctx.NickName() 的 panic 问题 (FloatTech#902)
  optimize: gif plugin for image cache (FloatTech#901) (fix FloatTech#900)
  Update guessmusic plugin (FloatTech#898)
  make lint happy
  add robbery plugin (FloatTech#893)
  [mcfish]  Add one click selling (FloatTech#894)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants