"기존 젖어버린 그녀와 달라진 부분 반영해주시기 바랍니다.

1. 뽑기 자동 충전 시간 제거 (※야심한 병동에서는 자동 충전 기능을 사용하지 않음)
2. 미니게임 충전 상태에서 입장 시도할 경우, 광고 시청 후 입장 재화를 최대로 충전하는 기능 추가
(우측 예시 화면 상태에서 게임 시작 버튼을 누르거나, 로비에서 충전 상태인 버튼을 누르면, 광고 시청 후 게임 시작하도록 변경-> 이때 입장 재화는 완전 충전)
3. 미니게임 시작 팝업의 ""게임 시작"" 버튼에도 입장 횟수 정보를 표기
4. 미니게임 충전 상태일 때는 ""게임 시작"" 버튼에 광고 아이콘 추가"
This commit is contained in:
Ino 2025-12-19 12:15:27 +09:00
parent 597e6bc3e1
commit 89bcd693a1
3 changed files with 27 additions and 28 deletions

View File

@ -147,7 +147,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
sound_icon_3_0: 2469934409400987655
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View File

@ -37,24 +37,7 @@ public class GachaUI : uScrollViewMgr
private void Update()
{
if (!SaveMgr.Ins.Check_Money(eMoney.Gacha, table_GlobalValue.Ins.Get_Int("GachaAmount"), false))
{
var cal = GachaAutoRefillTime - InternetTime.Ins.Time;
fRefillTime -= Time.deltaTime;
if (cal.TotalSeconds <= 0) fRefillTime = 0f;
texts[3].text = fRefillTime > 0f ? $"{fRefillTime:F1}s" : "0s";
var fRefillTimeMax = table_GlobalValue.Ins.Get_Float("GachaAutoRefill_DelayTime");
if (SaveMgr.Ins.GachaChargeTime_Reduce()) fRefillTimeMax -= fRefillTimeMax * 0.9f;
slider_charge.value = DSUtil.Get_SliderValue(fRefillTime / fRefillTimeMax);
if (cal.TotalSeconds <= 0 && fRefillTime <= 0f)
{
SaveMgr.Ins.Add_Money(eMoney.Gacha, table_GlobalValue.Ins.Get_Int("GachaAutoRefill_Amount"));
SaveMgr.Ins.Save();
LobbyUI.Ins.m_ToastUI.Set("별 코인이 자동 충전되었습니다.", ToastY);
Set_Money();
}
}
}
public void Set()
@ -72,9 +55,7 @@ public class GachaUI : uScrollViewMgr
Init_GachaAnim();
Set_Video();
var cal = GachaAutoRefillTime - InternetTime.Ins.Time;
if (cal.TotalMilliseconds > 0f)
fRefillTime = (float)cal.TotalMilliseconds * 0.001f;
}
void Set_UI(bool updateSlider)
@ -157,7 +138,7 @@ public class GachaUI : uScrollViewMgr
texts_money[1].text = SaveMgr.Ins.Get_Money(eMoney.Chat).ToString();
texts_money[2].text = SaveMgr.Ins.Get_Money(eMoney.Gacha).ToString();
go_autocharge.SetActive(!SaveMgr.Ins.Check_Money(eMoney.Gacha, table_GlobalValue.Ins.Get_Int("GachaAmount"), false));
go_autocharge.SetActive(false);
}
public void OnClick_Lucky()
@ -293,9 +274,7 @@ public class GachaUI : uScrollViewMgr
Set_Vertical_ScrollEnd(0);
Set_UI(true);
fRefillTime = table_GlobalValue.Ins.Get_Float("GachaAutoRefill_DelayTime");
if (SaveMgr.Ins.GachaChargeTime_Reduce()) fRefillTime -= fRefillTime * 0.9f;
GachaAutoRefillTime = InternetTime.Ins.Time.AddSeconds(fRefillTime);
switch (gradedata.n_GachaGrade)
{

View File

@ -169,9 +169,28 @@ public class LobbyUI : MonoBehaviourSingletonTemplate<LobbyUI>
return;
}
if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, true))
if (SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, false))
{
m_MiniGameAlbumSelect.Set();
//m_MiniGame.GameStart(false);
}
else
{
if (SaveMgr.Ins.Get_Money(eMoney.MiniGameHP) <= 0)
{
ADInfo.Ins.Show_AD(false, () =>
{
SaveMgr.Ins.Set_Money(eMoney.MiniGameHP, table_GlobalValue.Ins.Get_Int("MiniGame_TotalEnterMoney"));
SaveMgr.Ins.Save();
m_ToastUI.Set("생명력이 모두 충전되었습니다.");
minigamechargingTime = 0f;
Check_MiniGameCharging();
});
}
else
{
SaveMgr.Ins.Check_Money(eMoney.MiniGameHP, 1, true);
}
}
break;
}
}