Initial public release
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
from pathlib import Path
|
||||
sys.path.insert(0, str(Path(__file__).parents[1]))
|
||||
import lib
|
||||
r = lib.load(sys.argv[1])
|
||||
ticks = sorted(r._state_by_tick)
|
||||
lib.check(any(a == "OpenPanel" and p == "HoradricCubeLayout" for _, a, p in r._panel_events), "双击魔盒后魔盒面板打开(界面消息 OpenPanel HoradricCubeLayout)")
|
||||
lib.check(all(r.cursor_at(t) is None for t in ticks), "双击全程 cursor 为空(没拿起)")
|
||||
lib.check(not any(op == 0x19 for _, op, _ in r.c2s_ops()), "双击不发 0x19 拿起")
|
||||
sys.exit(lib.main())
|
||||
Reference in New Issue
Block a user