From b19236f4da0999ccbc22eb562a7faa34b428b684 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 28 八月 2018 20:42:03 +0800 Subject: [PATCH] 2996 子 【设计】新增一个可均摊的技能 / 【后端】新增一个伤害均摊的技能, 修复均摊保底数值为1% --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py index 0d9f581..ebda50a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_DuJie.py @@ -374,7 +374,7 @@ curStar = gameFB.GetGameFBDictByKey(DuJieFB_Star) realmLV = gameFB.GetGameFBDictByKey(DuJieFB_RealmLV) - + realmIpyData = PlayerPrestigeSys.GetRealmIpyData(realmLV) lineID = FBCommon.GetFBPropertyMark() leaveTick = invadeCfg[Def_Time_Leave] * 1000 overDict = {FBCommon.Over_costTime:costTime,FBCommon.Over_grade:curStar, FBCommon.Over_leaderID:leaderPlayerID} @@ -399,10 +399,10 @@ FBCommon.SyncFBEnterTick(curPlayer) else: #帮忙打的给奖励 - __GiveTeamAward(curPlayer, leaderPlayer, realmLV, curStar) + __GiveTeamAward(curPlayer, leaderPlayer, realmIpyData, curStar) EventShell.EventRespons_DujieFBHelpPass(curPlayer) - - realmIpyData = PlayerPrestigeSys.GetRealmIpyData(realmLV) + FBCommon.AddFBHelpPoint(curPlayer, ChConfig.Def_FBMapID_DuJie, 1) + if realmIpyData and realmIpyData.GetIsBigRealm(): #成就 PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_DujieFBHelpPass, 1) @@ -410,9 +410,8 @@ return -def __GiveTeamAward(curPlayer, leaderPlayer, realmLV, curStar): +def __GiveTeamAward(curPlayer, leaderPlayer, realmIpyData, curStar): #帮忙打的给奖励 - realmIpyData = PlayerPrestigeSys.GetRealmIpyData(realmLV) if not realmIpyData: return teamAwardDict = realmIpyData.GetTeamAward() -- Gitblit v1.8.0