1111 【BT3】【主干】【后端】新增物品类型56激活法宝道具支持(53为王者法宝,56非王者法宝)
2个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -350,7 +350,8 @@
Def_ItemType_Refine2 = 46 #炼丹物品类型2
Def_ItemType_Refine3 = 47 #炼丹物品类型3
Def_ItemType_FamilyBossFood = 50       #仙盟兽粮
Def_ItemType_SuccessItem = 53     # 用于完成成就的物品,不存在背包
Def_ItemType_ActiveMWItem = 53     # 用于激活法宝的物品,不存在背包 (王者法宝)
Def_ItemType_ActiveMWItem2 = 56     # 用于激活法宝的物品,不存在背包(非王者法宝)
Def_ItemType_ResetAttrPoint = 59       #洗点卷轴 使用后将某个属性一定值变为未分配属性
Def_ItemType_GatherSoulExp = 61 #聚魂精华材料
Def_ItemType_GatherSoul = 62 #普通聚魂
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1099,7 +1099,7 @@
        isNeedRecord = False
        itemID = tagItem.GetItemTypeID()
        #激活成就的道具
        if tagItem.GetType() == ChConfig.Def_ItemType_SuccessItem:
        if tagItem.GetType() in [ChConfig.Def_ItemType_ActiveMWItem, ChConfig.Def_ItemType_ActiveMWItem2]:
            PlayerMagicWeapon.DoActiveMW(curPlayer, tagItem.GetEffectByIndex(0).GetEffectValue(0))
            tagItem.Clear()
            return True