|  |  |  | 
|---|
|  |  |  | if not actInfo.get(ShareDefine.ActKey_State): | 
|---|
|  |  |  | GameWorld.DebugLog("Boss历练非活动中: actNum=%s" % actNum, playerID) | 
|---|
|  |  |  | return | 
|---|
|  |  |  | if not actInfo.get(ShareDefine.ActKey_StateJoin): | 
|---|
|  |  |  | GameWorld.Log("Boss历练非参与活动中: actNum=%s" % actNum, playerID) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | crossActInfo = CrossRealmPlayer.GetPlayerCrossActInfo(curPlayer, ShareDefine.CrossActName_BossTrial) | 
|---|
|  |  |  | if crossActInfo.get(ShareDefine.ActKey_State, 0): | 
|---|
|  |  |  | if not crossActInfo.get(ShareDefine.ActKey_StateJoin): | 
|---|
|  |  |  | GameWorld.Log("跨服Boss历练非参与活动中: actNum=%s" % actNum, playerID) | 
|---|
|  |  |  | return | 
|---|
|  |  |  | else: | 
|---|
|  |  |  | if not actInfo.get(ShareDefine.ActKey_StateJoin): | 
|---|
|  |  |  | GameWorld.Log("Boss历练非参与活动中: actNum=%s" % actNum, playerID) | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | itemID = IpyGameDataPY.GetFuncCfg("BossTrial", 1) | 
|---|
|  |  |  | itemPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem) | 
|---|
|  |  |  | lackItemDict, delInfoDict = ItemCommon.GetCostItemIndexList({itemID:submitCount}, itemPack) | 
|---|