Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: meta progress reward receive #4158

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

guoh064
Copy link
Contributor

@guoh064 guoh064 commented Sep 10, 2024

5000以前的当期信标奖励收获。

已测试:

  • 5000以前奖励领取;
  • 5000完成后领取新meta船

@guoh064 guoh064 marked this pull request as ready for review September 11, 2024 15:36
@LmeSzinc LmeSzinc added the feature request / 功能请求 New feature or requests label Sep 15, 2024
Comment on lines +170 to +172
if self.meta_progress_finished():
self.device.click(META_SHIP_RECEIVE)
confirm_timer.reset()
continue
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用 META_SHIP_RECEIVE 代替 META_PROGRESS_FINISHED

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的META_SHIP_RECEIVE同样有动画,效果类似于俯视角度落下时由大变小的视角,如果判断这个asset的话同样要加计时器等待其稳定,结果依然是不够快

Comment on lines +203 to +206
if self.meta_progress_appear():
self.meta_progress_receive()

if self.meta_progress_finished():
self.meta_ship_receive()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

将两个步骤合并到同一个状态循环

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

meta_ship_receive是专门为5000pt设计的,退出条件只有一个,就是出现常规的meta奖励界面,如果合并两个步骤的话,在未到达5000pt的时候会卡死循环。

module/meta_reward/meta_reward.py Show resolved Hide resolved
assets/cn/meta_reward/META_PROGRESS_NOTICE.png Outdated Show resolved Hide resolved
@guoh064 guoh064 force-pushed the meta_progress_reward branch from ca3e29d to 8835906 Compare December 12, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request / 功能请求 New feature or requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants