From fd93d515f131800ed0dc5f05bbc07be2142bf8c6 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 29 十二月 2025 15:35:30 +0800
Subject: [PATCH] 351 【内政】红颜系统
---
Main/System/BeautyMM/BeautyMMManager.cs | 4 ++--
Main/Component/UI/Effect/EffectPlayer.cs | 8 ++++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/Main/Component/UI/Effect/EffectPlayer.cs b/Main/Component/UI/Effect/EffectPlayer.cs
index 604e5bc..661b4e5 100644
--- a/Main/Component/UI/Effect/EffectPlayer.cs
+++ b/Main/Component/UI/Effect/EffectPlayer.cs
@@ -82,8 +82,12 @@
protected virtual void OnEnable()
{
-
- if (isPlayOnEnable)
+
+ if (isPlayOnEnable && playDelayTime != 0)
+ {
+ PlayAsync(false).Forget();
+ }
+ else if (isPlayOnEnable)
{
Play(false);
}
diff --git a/Main/System/BeautyMM/BeautyMMManager.cs b/Main/System/BeautyMM/BeautyMMManager.cs
index f427d8e..ad943fc 100644
--- a/Main/System/BeautyMM/BeautyMMManager.cs
+++ b/Main/System/BeautyMM/BeautyMMManager.cs
@@ -501,7 +501,7 @@
{
redpointMMKnown.state = RedPointState.Simple;
}
- else if (state == 2)
+ else if (state >= 2)
{
redpointMMUnKnown.state = RedPointState.Simple;
}
@@ -521,7 +521,7 @@
}
}
- //MM鍩虹鐘舵�� 0 鏃� 1 鏈夊鍔� 2 鍙墿鍝佹縺娲� 3 闇�鍔熻兘婵�娲�
+ //MM鍩虹鐘舵�� 0 鏃� 1 鏈夊鍔� 2 鍙墿鍝佹縺娲� 3 鍙姛鑳芥縺娲�
public int GetMMBaseState(BeautyConfig beauty)
{
//鏄惁鍙縺娲伙紝鏄惁鏈夊鍔卞彲棰嗗彇
--
Gitblit v1.8.0