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

凡天狗寅日忌祭祀,应该用今日凶神来判断 #40

Open
kingsoen opened this issue Dec 2, 2024 · 1 comment
Open

凡天狗寅日忌祭祀,应该用今日凶神来判断 #40

kingsoen opened this issue Dec 2, 2024 · 1 comment

Comments

@kingsoen
Copy link

kingsoen commented Dec 2, 2024

天狗 是在demon列表中的 这属于凶神。

lunar.py(1092)判断写错了 if '天狗' in self.goodGodName or '寅' in d:

@cuba3
Copy link
Member

cuba3 commented Dec 2, 2024

已修复,经排查,鸣吠 和 鸣吠对 也存在这种情况,这个是在初期采集数据的时候,对所有神进行统一,后期开发的时候分开了吉神凶神导致,已加入特别鸣谢

核对无误内容
不将 属于 angel数据集 属与goodGod相对
if '不将' in self.goodGodName:

核对有误内容
鸣吠 鸣吠对 属于 angel数据集 属与goodGod相对
# @kingsoen https://github.com/OPN48/cnlunar/issues/40 # 关联修改 #if '鸣吠' in self.badGodName or '鸣吠对' in self.badGodName: if '鸣吠' in self.goodGodName or '鸣吠对' in self.goodGodName: self.goodThing = rfRemove(self.goodThing, removeList=['破土', '启攒'])

cuba3 added a commit that referenced this issue Dec 2, 2024
源自早期数据集只有god,没有分angel和demon
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

No branches or pull requests

2 participants