diff --git a/OlivaDiceOdyssey/app.json b/OlivaDiceOdyssey/app.json index 87653f2..da3f31f 100644 --- a/OlivaDiceOdyssey/app.json +++ b/OlivaDiceOdyssey/app.json @@ -4,8 +4,8 @@ "namespace" : "OlivaDiceOdyssey", "message_mode" : "old_string", "info" : "本模块为OlivaDice的高阶模块,提供了一些涉及第三方合作的功能,它们或许是调用了第三方数据库,要么是涉及版权授权,又或者是单纯的过于依赖网络,总之这些功能由于第三方的参与很可能无法由插件开发者保证可靠性,但仍然很强大。例如魔都模组功能。", - "version" : "3.0.3", - "svn" : 4, + "version" : "3.0.5", + "svn" : 6, "compatible_svn" : 101, "priority" : 20040, "support" : [ diff --git a/OlivaDiceOdyssey/data.py b/OlivaDiceOdyssey/data.py index 7d2a85f..95bc88b 100644 --- a/OlivaDiceOdyssey/data.py +++ b/OlivaDiceOdyssey/data.py @@ -15,6 +15,6 @@ ''' -OlivaDiceOdyssey_ver = '3.0.3' -OlivaDiceOdyssey_svn = 4 +OlivaDiceOdyssey_ver = '3.0.5' +OlivaDiceOdyssey_svn = 6 OlivaDiceOdyssey_ver_short = '%s(%s)' % (str(OlivaDiceOdyssey_ver), str(OlivaDiceOdyssey_svn)) diff --git a/OlivaDiceOdyssey/msgReply.py b/OlivaDiceOdyssey/msgReply.py index 6f68bc4..e9f4ce7 100644 --- a/OlivaDiceOdyssey/msgReply.py +++ b/OlivaDiceOdyssey/msgReply.py @@ -196,7 +196,7 @@ def unity_reply(plugin_event, Proc): str(tmp_page_now), str(tmp_page_max) ) - tmp_reply_str = dictStrCustom['strOdysseyCnmodsSearch'].format(**dictTValue) + tmp_reply_str = OlivaDiceCore.msgCustomManager.formatReplySTR(dictStrCustom['strOdysseyCnmodsSearch'], dictTValue) OlivaDiceCore.userConfig.setUserConfigByKey( userConfigKey = 'cnmodsTemp', userConfigValue = tmp_res, @@ -249,7 +249,7 @@ def unity_reply(plugin_event, Proc): str(tmp_page_now), str(tmp_page_max) ) - tmp_reply_str = dictStrCustom['strOdysseyCnmodsLuck'].format(**dictTValue) + tmp_reply_str = OlivaDiceCore.msgCustomManager.formatReplySTR(dictStrCustom['strOdysseyCnmodsLuck'], dictTValue) OlivaDiceCore.userConfig.setUserConfigByKey( userConfigKey = 'cnmodsTemp', userConfigValue = tmp_res,