hxp
4 天以前 22f9a92aa213b3a2b691e6718d8a580895e68011
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActLianqi.py
@@ -21,7 +21,7 @@
import NetPackCommon
import ChPyNetSendPack
import CrossRealmPlayer
import PlayerZhanling
#import PlayerZhanling
import ItemControler
import ItemCommon
import GameWorld
@@ -68,7 +68,7 @@
        GameWorld.DebugLog("跨服炼器活动ID不变,不处理!cfgID=%s,actID=%s" % (cfgID, actID), playerID)  
        return
    GameWorld.DebugLog("跨服炼器活动重置! cfgID=%s,actID=%s,playerActID=%s,state=%s" % (cfgID, actID, playerActID, state), playerID)
    PlayerZhanling.ResetZhanling(curPlayer, PlayerZhanling.ZhanlingType_Lianqi)
    #PlayerZhanling.ResetZhanling(curPlayer, PlayerZhanling.ZhanlingType_Lianqi)
    
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CA_LianqiID, actID)
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_LianqiScore, 0)
@@ -463,7 +463,7 @@
    curScore = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_LianqiScore)
    GameWorld.DebugLog("炼器活动积分增加: curScore=%s,addScore=%s,actLV=%s" % (curScore, addScore, actLV), curPlayer.GetPlayerID())
    SetLianqiScore(curPlayer, curScore + addScore, actLV)
    PlayerZhanling.AddZhanlingValue(curPlayer, PlayerZhanling.ZhanlingType_Lianqi, addScore)
    #PlayerZhanling.AddZhanlingValue(curPlayer, PlayerZhanling.ZhanlingType_Lianqi, addScore)
    return
def SetLianqiScore(curPlayer, setScore, actLV=0):