hxp
2024-11-26 aba9f71e75f2d956c621c9ad21593838e04fa312
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecover.py
@@ -286,8 +286,9 @@
    if totalExp > 0:
        PlayerControl.PlayerControl(curPlayer).AddExp(totalExp)
        
    giveMoneyType = IPY_GameWorld.TYPE_Price_Silver_Money
    if totalMoney > 0:
        PlayerControl.GiveMoney(curPlayer, IPY_GameWorld.TYPE_Price_Silver_Money, totalMoney, ChConfig.Def_GiveMoney_Recover)
        PlayerControl.GiveMoney(curPlayer, giveMoneyType, totalMoney, ChConfig.Def_GiveMoney_Recover)
        
    if totalSP > 0:
        PlayerControl.PlayerAddZhenQi(curPlayer, totalSP, True, True, "Recover")
@@ -314,6 +315,7 @@
    if mapIDInfo:
        FBCommon.Sync_FBPlayerFBInfoData(curPlayer, mapIDInfo)
    GameWorld.DebugLog("==[PlayerRecover]== Out->OnRecoverGain() recoverWay=%s, costMoneyDict=%s, recoverCntDict=%s, totalExp=%s, totalMoney=%s, totalSP=%s, totalItemDict=%s" % (recoverWay, costMoneyDict, recoverCntDict, totalExp, totalMoney, totalSP, totalItemDict))
    ItemControler.NotifyGiveAwardInfo(curPlayer, totalItemDict, "Recover", totalExp, moneyInfo={giveMoneyType:totalMoney})
    return
def __DoLogicBackTimes(curPlayer, recoverData, recoverCnt):