lcy
2026-02-06 4b169e9286cc62c2dff0b2cb2bc21e49c2b52596
Main/System/HeroUI/HeroGiftWashWin.cs
@@ -128,8 +128,10 @@
        if (!ItemLogicUtility.CheckItemCount(PackType.Item, HeroUIManager.Instance.washItemID,
        HeroUIManager.Instance.GetTalentLockUseWashCount(hero), 2))
        {
            TimingGiftManager.Instance.TryAddWhenInsufficient(4, HeroUIManager.Instance.washItemID, HeroUIManager.Instance.GetTalentLockUseWashCount(hero));
            return;
        }
        for (int i = 0; i < currentGiftCells.Length; i++)
        {
@@ -155,8 +157,10 @@
        {
            return;
        }
        if (!TimingGiftManager.Instance.TryAddWhenExactConsumption(4,PackType.Item, HeroUIManager.Instance.washItemID, HeroUIManager.Instance.GetTalentLockUseWashCount(hero)))
        {
            TimingGiftManager.Instance.TryAddWithFixedProbabilityWhenSufficient(4, PackType.Item,HeroUIManager.Instance.washItemID, HeroUIManager.Instance.GetTalentLockUseWashCount(hero));
        }
        HeroUIManager.Instance.SendWash(hero, 0);
    }
@@ -240,7 +244,7 @@
    void ChangeLockEvent()
    {
    {
        int useCount = HeroUIManager.Instance.GetTalentLockUseWashCount(hero);
        var itemCount = PackManager.Instance.GetItemCountByID(PackType.Item, HeroUIManager.Instance.washItemID);
        itemCountText.text = UIHelper.AppendColor(itemCount >= useCount ? TextColType.Green : TextColType.Red,