From 9ea1f366518b9c3713c52c1e6d79f3937cc3d7b5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 06 五月 2019 16:49:38 +0800
Subject: [PATCH] 6628 【2.0】【后端】查看玩家装备和查看玩家战力功能(修复查看同地图玩家时返回的是自己的信息bug)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
index d02f52a..773a247 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FamilyRobBoss.py
@@ -21,6 +21,7 @@
 import NetPackCommon
 import ChPyNetSendPack
 import PlayerActivity
+import PlayerWeekParty
 import PlayerControl
 import IpyGameDataPY
 import SkillCommon
@@ -200,6 +201,7 @@
         if hurtType == FamilyHurtObjType_Player and hurtObj.hurtValue == 0 and hurtValue:
             if IsHorsePetRobBoss(curBoss.GetNPCID()):
                 PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_FamilyRobBoss)
+                PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_FamilyRobBoss, 1)
             
         hurtObj.hurtValue += hurtValue
         GameWorld.DebugLog("    更新伤血%s: hurtType=%s,hurtID=%s,hurtValue=%s" 

--
Gitblit v1.8.0