hxp
2025-12-05 c80c8718c507a7e52f065eee9e35bb4f27573f48
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveTrigger/PassiveEff_5004.py
@@ -75,12 +75,12 @@
        if not buffList:
            continue
        
        if delBuffCnt > len(buffList):
        if delBuffCnt and delBuffCnt < len(buffList):
            random.shuffle(buffList) # 随机buff
            buffList = buffList[:delBuffCnt]
            
        for buff in buffList:
            GameWorld.DebugLog("    随机移除buff: tagID=%s,buffID=%s" % (tagObj.GetID(), buff.GetBuffID()))
            TurnBuff.DoBuffDel(turnFight, tagObj, buff)
            TurnBuff.DoBuffDel(turnFight, tagObj, buff, connSkill)
            
    return True