hch
2019-04-16 b0e88ac9edef42aa6fcc529bb31905ab76ff86a2
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)