mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-11-20 01:12:36 +01:00
account for which npc is blinking during monitoring
This commit is contained in:
parent
d25e738af8
commit
f35d47ab94
@ -403,6 +403,7 @@ def recov(blinks:List[int],rawintervals:List[int],npc:int=0)->Xorshift:
|
||||
expected_blinks = [r&0xF for r in prng.getNextRandSequence(advanced_frame*npc)[d::npc+1] if r&0b1110==0]
|
||||
paired = list(zip(blinks,expected_blinks))
|
||||
if all([o==e for o,e in paired]):
|
||||
advanced_frame += d
|
||||
raise_error = False
|
||||
break
|
||||
print(blinks)
|
||||
|
Loading…
Reference in New Issue
Block a user