| | |
| | | import PlayerCostRebate
|
| | | import GY_Query_CrossRealmReg
|
| | | import PlayerFairyCeremony
|
| | | import PlayerNewFairyCeremony
|
| | | import PlayerCrossRealmPK
|
| | | import FunctionNPCCommon
|
| | | import CrossRealmPlayer
|
| | |
| | |
|
| | | if not GameWorld.IsCrossServer() and GetCrossMapID(curPlayer):
|
| | | NotifyCode(curPlayer, "CrossMap10")
|
| | | return False
|
| | | |
| | | if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene):
|
| | | GameWorld.Log("客户端自定义场景下无法传送!", curPlayer.GetPlayerID())
|
| | | return False
|
| | |
|
| | | return True
|
| | |
| | | NotifyCode(curPlayer, "Carry_lhs_697674")
|
| | | return ShareDefine.EntFBAskRet_Sit
|
| | |
|
| | | if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene):
|
| | | if isNotify:
|
| | | NotifyCode(curPlayer, "Carry_lhs_697674")
|
| | | GameWorld.Log("客户端自定义场景下无法进入副本!", curPlayer.GetPlayerID())
|
| | | return ShareDefine.EntFBAskRet_Other
|
| | | |
| | | if playerAction in ChConfig.Def_Player_Cannot_TransState:
|
| | | #Carry_lhs_697674:您当前所处的状态不能进行传送!
|
| | | if isNotify:
|
| | |
| | | PlayerCostRebate.AddCostRebateGold(curPlayer, costType, price, infoDict)
|
| | | # 绝版降临
|
| | | PlayerFairyCeremony.AddFCCostGold(curPlayer, costType, price)
|
| | | PlayerNewFairyCeremony.AddFCCostGold(curPlayer, costType, price)
|
| | | # 消费VIP
|
| | | # if costVIPGold < 0:
|
| | | # costVIPGold = price
|
| | |
| | | # 检查最大等级
|
| | | if curLV >= maxLV and curTotalExp >= maxLVExpStore:
|
| | | self.__NotifyExpFull(curPlayer, "GeRen_admin_825676")
|
| | | GameWorld.DebugLog("经验已满!已满级!curLV=%s" % (curLV), curPlayer.GetPlayerID())
|
| | | #GameWorld.DebugLog("经验已满!已满级!curLV=%s" % (curLV), curPlayer.GetPlayerID())
|
| | | return 0, expViewType
|
| | |
|
| | | # 杀怪
|