From 6366979426fccd97c0cb0bd384ada3a8b9843a24 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 25 十月 2018 14:37:22 +0800 Subject: [PATCH] 2198 【主干】仙盟盟主5天没上线,盟主没有主动传位 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py index 281504c..66c355b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -64,7 +64,7 @@ import FBCommon import PlayerBindJadeWheel import BossHurtMng -import PlayerAction +import PlayerWishingWell import PlayerAttrFruit import PlayerSuccess import PlayerDienstgrad @@ -102,7 +102,7 @@ import PlayerTJG import GameLogic_XMZZ import GameLogic_SealDemon -import GameLogic_Dogz +import PlayerFlashSale import PlayerFlashGiftbag import PlayerCostRebate import PlayerSpringSale @@ -491,7 +491,8 @@ PlayerSpringSale.OnPlayerLogin(curPlayer) #限时礼包 PlayerFlashGiftbag.OnPlayerLogin(curPlayer) - + #限时抢购 + PlayerFlashSale.OnPlayerLogin(curPlayer) # # 消费VIP # PlayerCostVIP.CostVIPOnLogin(curPlayer, tick) # @@ -544,12 +545,11 @@ # 骑宠 FamilyRobBoss.OnPlayerLogin(curPlayer) # 绑玉转盘 - PlayerBindJadeWheel.OnDay(curPlayer) - + PlayerBindJadeWheel.OnLogin(curPlayer) + # 许愿池 + PlayerWishingWell.OnLogin(curPlayer) # 上线查询一次充值订单 curPlayer.SendDBQueryRecharge() - # 上线检查一次装备属性 - ItemControler.PlayerItemControler(curPlayer).CheckRolePackEquipAttr() curPlayer.SetState(0) # 脱机挂恢复为正常上线 curPlayer.SetFacePic(0) # 通知数据库是否保存还是下线,做一次恢复,1为保存 0为正常下线 @@ -4982,6 +4982,10 @@ # 领取分包下载奖励 elif rewardType == ChConfig.Def_RewardType_DownLoad: GetDownloadAward(curPlayer, dataEx) + # 领取许愿池奖励 + elif rewardType == ChConfig.Def_RewardType_WishingWell: + PlayerWishingWell.DoGetWishingAward(curPlayer) + # # # 充值豪礼奖励 # elif rewardType == ShareDefine.Def_RewardType_GoldGift: -- Gitblit v1.8.0