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

新增换老婆指令相关,解决issue #18

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

StarFreedomX
Copy link

新增换老婆指令,changewaifu,可以设置换老婆次数上限。
新增isbinding选项,开启后(防ntr也要开启),waifu/force-marry/changewaifu时选中的老婆会和发送消息的用户一同更新老婆属性;若关闭,则只有发送消息的用户生效,被选中的老婆不受影响。(但是求婚和离婚无论isbinding是否打开都会改变双方状态)。
优化 issue #15 的问题,现在求婚回应后会判断结婚是否成立。

@StarFreedomX
Copy link
Author

思考了一下,离婚似乎不应该自动开启binding。可能有如下情况发生:
(不开启binding和avoidNtr时)
A随机老婆到了B
C随机老婆到了A
如果这个时候C离婚,会使A失去老婆B,不符合离婚的逻辑。

此外,binding和avoidNtr的功能有些重复。avoidNtr在binding关闭的情怳下功能不完整(如A随机老婆到了B,C仍然能随机到B,因为没有binding,C的状态仍未改变)。因此建议用binding和avoidNtr合并,作为同一个开关。

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