From 8a3b39e2b66ab9f7d1f1ac65082980d1de8a9582 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 31 十月 2018 14:52:30 +0800
Subject: [PATCH] 4498 【后端】【1.2.0】增加【助战特定副本】的任务接口

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyParty.py |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyParty.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyParty.py
index 5b2610f..6da20b6 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyParty.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_FamilyParty.py
@@ -29,6 +29,7 @@
 import PyGameData
 import ItemCommon
 import ItemControler
+import Item_AddLV
 
 #当前副本地图的状态
 (
@@ -435,8 +436,12 @@
             tagPlayer.Sit()
     elif actionType == 1:  #打坐结束给奖励
         reLV = curPlayer.GetLV()
-        reExp = PlayerControl.GetPlayerReExp(curPlayer)
         worldlv = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)
+        giveLV = eval(IpyGameDataPY.GetFuncCompileCfg('FamilyPartySitAward', 2))
+        if giveLV:
+            Item_AddLV.DoAddLVEx(curPlayer, giveLV, True, True, 0)
+        reLV = curPlayer.GetLV()
+        reExp = PlayerControl.GetPlayerReExp(curPlayer)
         giveExp = eval(IpyGameDataPY.GetFuncCompileCfg('FamilyPartySitAward'))
         if giveExp:
             PlayerControl.PlayerControl(curPlayer).AddExp(giveExp)
@@ -450,5 +455,5 @@
         DoFBHelp(curPlayer, 0)
         if curPlayer.GetPlayerAction() == IPY_GameWorld.paSit:
             curPlayer.Stand()
-        GameWorld.DebugLog('    传功结束,给经验%s, worldlv=%s' % (giveExp, worldlv))
+        GameWorld.DebugLog('    传功结束,giveLV=%s, giveExp=%s, worldlv=%s' % (giveLV, giveExp, worldlv))
     return

--
Gitblit v1.8.0