From ef7af852562f860104278853805cceb2cfa412eb Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 30 十月 2018 19:53:58 +0800 Subject: [PATCH] 4456 【1.2】【后端】古神禁地挂机经验配置优化 4449 【1.2】【后端】仙盟宴会传功经验 --- 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