xdh
2019-06-15 654ba798dac6be3a04b2cffb3fb3ac8e9f301b08
7273 【2.0】【后端】活跃令兑换支持青鸾之羽
1个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py
@@ -986,8 +986,9 @@
                continue
            isSuite = eatItem.GetSuiteID()
            addPoint = familyDonateDict[str(itemColor)][1 if isSuite else 0]
        givePoint += addPoint
        ItemCommon.DelItem(curPlayer, eatItem, 1, True, ChConfig.ItemDel_ZhuXianDecompose, {'addPoint':addPoint}, True)
        itemCnt = eatItem.GetCount()
        givePoint += addPoint * itemCnt
        ItemCommon.DelItem(curPlayer, eatItem, itemCnt, True, ChConfig.ItemDel_FamilyStore, {'addPoint':addPoint}, True)
    
    if not givePoint:
        GameWorld.DebugLog("家族兑换活跃令,没有装备可兑换!")