We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Code review: https://github.com/neuront/sgs/commit/3fdf05d77046b1717cb3a7d12594a9644399e929
创建了专门用于产生格式化 hint 的模块 ext/src/hint_common.py
其它模块应调用该模块中的方法来产生 hint.
在之前的版本中没有验证直接使用卡牌时, 该牌是否与动作吻合. 这个严重的漏洞在此版本中修复.
此版本的设计中, 验证卡牌将套接在直接使用该卡牌的函数之外. 以 [杀] 为例, 在 ext.src.slash 中, 有函数 slash_action 与 slash_check. 若玩家是直接使用 [杀], 则调用 slash_action. 若用其它技能将别的卡牌转换为 [杀] 来使用, 则应调用 slash_check, 后者将不检测卡牌 (卡牌检测应该由技能完成).
ext.src.slash
slash_action
slash_check
core.src.event.Invocation
There was an error while loading. Please reload this page.