Skip to content

Commit

Permalink
多项改进
Browse files Browse the repository at this point in the history
+ 优化ra奖惩骰解析细节问题
+ 新的DND5E检定规则
  • Loading branch information
lunzhiPenxil committed Dec 8, 2021
1 parent e685432 commit e3f4216
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion OlivaDiceCore/msgCustom.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
'strPcSkillCheckFate09' : '[+6 惊异]',
'strPcSkillCheckFate10' : '[+7 史诗]',
'strPcSkillCheckFate11' : '[+8 传奇]',
'strPcSkillCheckNope' : '无事发生',
'strPcSkillCheckNope' : '需要解释',
'strPcSkillCheckError' : '发生错误'
}

Expand Down
1 change: 1 addition & 0 deletions OlivaDiceCore/msgReply.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,7 @@ def unity_reply(plugin_event, Proc):
if tmp_reast_str[0].isdigit():
flag_bp_count = tmp_reast_str[0]
tmp_reast_str = tmp_reast_str[1:]
tmp_reast_str = skipSpaceStart(tmp_reast_str)
if len(tmp_reast_str) > 0:
[tmp_skill_name, tmp_reast_str] = getToNumberPara(tmp_reast_str)
tmp_reast_str = skipSpaceStart(tmp_reast_str)
Expand Down
12 changes: 6 additions & 6 deletions OlivaDiceCore/pcCardData.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,14 +582,14 @@
'checkRules': {
'default': {
'checkList': [
'success',
'fail'
'greatSuccess',
'greatFail'
],
'success': {
'.<=': ['$roll', '$skill']
'greatSuccess': {
'.>=': ['$roll', 20]
},
'fail': {
'.>': ['$roll', '$skill']
'greatFail': {
'.<=': ['$roll', 1]
}
}
}
Expand Down

0 comments on commit e3f4216

Please sign in to comment.