From fff4bf318a2c10d360da6e850228ada4fb800547 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 09 五月 2019 15:15:07 +0800
Subject: [PATCH] 6705 【后端】【2.0】天星塔功能

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyWar.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyWar.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyWar.py
index 8a77571..50d3bd5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyWar.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyWar.py
@@ -28,6 +28,7 @@
 import ChPyNetSendPack
 import GameWorldProcess
 import PlayerDienstgrad
+import PlayerWeekParty
 import IpyGameDataPY
 import PlayerFamily
 import NetPackCommon
@@ -521,7 +522,7 @@
     if not FBCommon.GetHadDelTicket(curPlayer):
         FBCommon.SetHadDelTicket(curPlayer)
         FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_FamilyWar)
-        
+        PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_FamilyWar, 1)
     isFinalMatch = gameFB.GetGameFBDictByKey(GameFBDict_IsFinalMatch)
     roundNum = gameFB.GetGameFBDictByKey(GameFBDict_RoundNum)
     groupID = gameFB.GetGameFBDictByKey(GameFBDict_GroupID)
@@ -1270,7 +1271,7 @@
     skillTypeID, buffOwner = 0, None
     lostValue = int(GameObj.GetMaxHP(curPlayer) * lostHPPer / 100.0) * lostTime
     #GameWorld.DebugLog("OnCollecting lostHPPer=%s,lostTime=%s,lostValue=%s" % (lostHPPer, lostTime, lostValue), playerID)
-    SkillCommon.SkillLostHP(curPlayer, skillTypeID, buffOwner, lostValue, tick)
+    SkillCommon.SkillLostHP(curPlayer, skillTypeID, buffOwner, lostValue, tick, skillAffect=False)
     return
 
 
@@ -1486,7 +1487,7 @@
     Sync_ChampionFamilyDailyRewardState(curPlayer)
     
     for itemID, itemCnt, isBind in itemList:
-        ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem])
+        ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem])
         
     GameWorld.DebugLog("领取王者仙盟每日俸禄: itemList=%s" % itemList, playerID)
     return

--
Gitblit v1.8.0