yyl
2025-08-11 7514dbcbb81bcbf8a517d14b0e4ddcf12c27457e
Main/Core/NetworkPackage/CustomServerPack/CustomHB426CombinePack.cs
@@ -24,12 +24,13 @@
    public void SetHB426End(int _toIndex, HB426_tagSCTurnFightTag _endTag)
    {
        if (endTag.Sign != 1)
        if (_endTag.Sign != 1)
        {
            Debug.LogError("HB426_tagSCTurnFightTag Sign must be 1 for end tag, but got: " + endTag.Sign);
            Debug.LogError("HB426_tagSCTurnFightTag Sign must be 1 for end tag, but got: " + _endTag.Sign);
            return;
        }
        endTag = _endTag;
        toIndex = _toIndex;
        packList = CombineToSkillPackFromList(guid, packList);
    }
@@ -59,13 +60,18 @@
    public bool IsEndPack(HB426_tagSCTurnFightTag tag)
    {
        if (endTag == null)
        if (tag == null)
        {
            Debug.LogError("endTag is null, please set it first.");
            return false;
        }
        return endTag.Tag == tag.Tag && endTag.Sign == 1;
        if (startTag == null)
        {
            Debug.LogError("startTag is null, please set it first.");
            return false;
        }
        return startTag.Tag == tag.Tag && tag.Sign == 1;
    }
@@ -83,6 +89,7 @@
                    combinePack = new CustomHB426CombinePack();
                    combinePack.guid = _guid;
                    combinePack.SetHB426Start(i, tag);
                    continue;
                }
                else
                {