From d70324d5963b2c4832f3696e08825999b3848822 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期三, 07 十一月 2018 16:05:45 +0800 Subject: [PATCH] 2306 【1.2】【BUG】老号的封魔之魂次数满了无法领取 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py index 771b91a..b3c73e9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFamily.py @@ -28,6 +28,7 @@ import GameLogic_FamilyWar import ChMapToGamePyPack import PlayerFamilyTech +import PlayerFamilyRedPacket import SkillCommon import BuffSkill import ItemCommon @@ -108,7 +109,7 @@ if curPlayer.GetFamilyMemberLV() != refreshPack.GetFamilyMemberLV(): curPlayer.SetFamilyMemberLV(refreshPack.GetFamilyMemberLV()) #通知周围玩家家族职位刷新 - curPlayer.Notify_FamilyMemberLVRefresh() + #curPlayer.Notify_FamilyMemberLVRefresh() GameLogic_FamilyWar.DoCheckChampionFamilyTitle(curPlayer) if curPlayer.GetFamilyMoney() != refreshPack.GetFamilyMoney(): @@ -152,6 +153,7 @@ PlayerFamilyTech.Sync_PlayerFamilyTechLV(curPlayer) DelAddFamilyRecord(curPlayer) GameLogic_FamilyWar.DoCheckChampionFamilyTitle(curPlayer) + PlayerFamilyRedPacket.CreatCacheRedPacktet(curPlayer) return ## 退出家族触发事件 @@ -753,6 +755,7 @@ # @param awardIndex # @return None def GetFamilyActivityAward(curPlayer, awardIndex): + return familyActiveList = IpyGameDataPY.GetFuncEvalCfg('FamilyActive') familyActiveAwardList = IpyGameDataPY.GetFuncEvalCfg('FamilyActive', 2) if awardIndex < 0 or awardIndex >= len(familyActiveList): @@ -788,6 +791,7 @@ return def AddFamilyActivity(curPlayer, actionid, addCnt=1): + return ipyData = IpyGameDataPY.GetIpyGameData('FamilyActivity', actionid) if not ipyData: return @@ -815,6 +819,7 @@ return totalPoint def SyncFamilyActivityInfo(curPlayer, syncActionid=-1): + return #通知活跃领取情况 syncActionIDList = ShareDefine.FamilyActiveIDList if syncActionid==-1 else [syncActionid] sendPack = ChPyNetSendPack.tagMCFamilyActivityInfo() -- Gitblit v1.8.0