Skip to content

Commit 93d3d5b

Browse files
authored
Merge pull request #286 from cc004/dev
Dev
2 parents c0b5b00 + 1805a69 commit 93d3d5b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

autopcr/module/modules/caravan.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ def is_block_skip(self, block_type: int) -> bool:
319319
return True
320320
elif (val & 2) and block_type == eBlockType.TREASURE:
321321
return True
322+
elif (val & 4) and block_type == eBlockType.DISH:
323+
return True
322324
return False
323325

324326
def get_block_change(self) -> Dict[eBlockType, eBlockType]:

autopcr/module/modules/story.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ async def do_task(self, client: pcrclient):
154154
for story in db.event_story_detail:
155155
if story.story_id not in read_story and story.story_id in unlock_story:
156156
if (story.visible_type == eStoryVisibleType.EVENT_SPECIAL_STORY or
157+
story.visible_type == eStoryVisibleType.EVENT_SPECIAL_EPISODE or
157158
story.visible_type == eStoryVisibleType.HIDDEN_BY_READ_CONDITION or
158159
story.visible_type == eStoryVisibleType.PRE_RELEASE_STORY or
159160
story.visible_type == eStoryVisibleType.PRE_STORYID_AND_LOVE_LEVEL) and \
@@ -288,4 +289,4 @@ async def do_task(self, client: pcrclient):
288289
rewards.extend(resp.reward_list)
289290

290291
self._log(f"阅读了{db.alces_story[top.appear_story_id].title},获得了:")
291-
self._log(await client.serialize_reward_summary(rewards))
292+
self._log(await client.serialize_reward_summary(rewards))

0 commit comments

Comments
 (0)