| | |
| | | import PlayerFreeGoods
|
| | | import ShopItemManage
|
| | | import PlayerRecover
|
| | | import Operate_EquipSuitCompose
|
| | | import GameLogic_IceLode
|
| | | import PlayerEquipDecompose
|
| | | import PlayerCoat
|
| | | import PlayerGreatMaster
|
| | |
| | | import PlayerFairyCeremony
|
| | | import ChNetSendPack
|
| | | import FamilyRobBoss
|
| | | import FBHelpBattle
|
| | | import PyGameData
|
| | | import PlayerCoin
|
| | | import PlayerGeTui
|
| | |
| | | #仙魔之争
|
| | | GameLogic_XMZZ.OnXMZZLogin(curPlayer)
|
| | | PlayerOnlinePrize.OnPlayerLogin(curPlayer)
|
| | | GameLogic_SealDemon.NotifyFMTDouble(curPlayer)
|
| | | #装备分解
|
| | | PlayerEquipDecompose.PlayerLogin(curPlayer)
|
| | | #防沉迷
|
| | |
| | | SyncLittleHelper(curPlayer)
|
| | | # 聊天气泡框
|
| | | SyncChatBubbleBoxState(curPlayer)
|
| | | # 副本助战
|
| | | FBHelpBattle.DoPlayerLogin(curPlayer)
|
| | |
|
| | | curPlayer.SetState(0) # 脱机挂恢复为正常上线
|
| | | curPlayer.SetFacePic(0) # 通知数据库是否保存还是下线,做一次恢复,1为保存 0为正常下线
|
| | |
| | |
|
| | | #设置血量
|
| | | curPlayer.SetHP(curPlayer.GetMaxHP() * resetHpPercent / ChConfig.Def_MaxRateValue)
|
| | | curPlayer.SetMP(curPlayer.GetMaxMP() * resetMpPercent / ChConfig.Def_MaxRateValue)
|
| | | #curPlayer.SetMP(curPlayer.GetMaxMP() * resetMpPercent / ChConfig.Def_MaxRateValue)
|
| | | #护盾
|
| | | PlayerControl.SetProDef(curPlayer, PlayerControl.GetMaxProDef(curPlayer))
|
| | |
|
| | | #玩家复活后副本处理
|
| | | FBLogic.OnPlayerRebornOver(curPlayer, playerRebornType)
|
| | |
| | | # 功能开启奖励
|
| | | elif rewardType == ChConfig.Def_RewardType_OpenFunc:
|
| | | GameFuncComm.GetFuncOpenAward(curPlayer, dataEx)
|
| | | # 冰晶矿脉星级奖励
|
| | | elif rewardType == ChConfig.Def_RewardType_IceLodeStar:
|
| | | GameLogic_IceLode.GetIceLodeStarAward(curPlayer, dataEx)
|
| | | |
| | | #
|
| | | # # 充值豪礼奖励
|
| | | # elif rewardType == ShareDefine.Def_RewardType_GoldGift:
|
| | |
| | | sendPack.Speed = curPlayer.GetSpeed()
|
| | | sendPack.MoveType = moveType
|
| | | # NotifyAll 做过滤或者数量处理
|
| | | PlayerControl.PyNotifyAll(curPlayer, sendPack, False, -1)
|
| | | PlayerControl.PyNotifyAll(curPlayer, sendPack, False, 0)
|
| | | return
|
| | |
|
| | | def GetDownloadAward(curPlayer, dataEx):
|