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

佣兵满级成就弹窗 #7

Closed
z-henry opened this issue Oct 24, 2022 · 1 comment
Closed

佣兵满级成就弹窗 #7

z-henry opened this issue Oct 24, 2022 · 1 comment

Comments

@z-henry
Copy link
Collaborator

z-henry commented Oct 24, 2022

[HarmonyPrefix]
[HarmonyPatch(typeof(Hearthstone.Progression.RewardPresenter), "ShowNextReward")]
public static bool PatchShowNextProgressionAchievementReward(Hearthstone.Progression.RewardPresenter __instance)
{
    Utils.MyLogger(BepInEx.Logging.LogLevel.Warning, "ShowNextReward");
    if (false == isLettuceMaxLevelAchieveShow.Value)
        __instance.Clear();
    return true;
}

理论可以屏蔽所有reward类型的弹窗,不知道会不会与现有其他patch有冲突

@Pik-4
Copy link
Owner

Pik-4 commented Oct 24, 2022

已合并到1.4.5.0,看看实际测试效果吧。

@Pik-4 Pik-4 closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants