Commit 226a79ce authored by 花桃白音's avatar 花桃白音

update otcheck

parent 25398155
No preview for this file type
......@@ -362,7 +362,8 @@ namespace cardvisa
var cardd = datassets[i];
var code = cardd.id;
var cti = new CardTypeInfo(cardd.type);
if (cardd.alias == 0 && cti.IsNeedScript())//非同名卡
bool otbug = (cardd.ot != 4);
if ((cardd.alias == 0 && cti.IsNeedScript())|| otbug)//非同名卡
{
string parentpath = Path.GetDirectoryName(pathName);
bool lualost = !File.Exists(parentpath + "\\script\\c" + code + ".lua");
......@@ -372,6 +373,8 @@ namespace cardvisa
+ (lualost ? "脚本丢失" : "")
+ (lualost && piclost ? "," : "")
+ (piclost ? "图片丢失" : "")
+ ((lualost || piclost) && otbug ? "," : "")
+ (otbug ? "规则错误" : "")
+ "。";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment