hxp
2019-03-25 0c227b568dceb8124cf1e8611df0fb27c6efa6ac
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/Item_ResetAttrPoint.py
@@ -36,7 +36,7 @@
    if not resetID and exData:
        resetID = exData
    resetPoint = curEff.GetEffectValue(1) * useCnt
    if not DoResetAttrPoint(curPlayer, resetID, resetPoint):
    if not DoResetAttrPoint(curPlayer, resetID, resetPoint, curRoleItem.GetItemTypeID()):
        return
    
    #扣除物品
@@ -68,6 +68,8 @@
            realResetPoint = curPoint
        else:
            realResetPoint = min(resetPoint, curPoint)
        if not realResetPoint:
            continue
        resetPointTotal += realResetPoint
        updPoint = max(curPoint - realResetPoint, 0)
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_AddPointValue % resetID, updPoint)