From 5bd5c3fa2b8a50fd352a895c3e87a3254c705ee7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 26 六月 2019 10:35:30 +0800
Subject: [PATCH] 4254 【BUG】【2.0】【主干】封魔坛、世界Boss资源找回次数错误
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py
index d13fe57..5eda731 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py
@@ -150,14 +150,15 @@
# 未开启前不可加点,因为DoAddPointOpen会一次性补齐,避免意外情况多加了点数
return
addPointDict = IpyGameDataPY.GetFuncEvalCfg("LVUPAddPoint", 1, {})
- fabaoAddPoint = PlayerControl.GetFabaoAddPoint(curPlayer)
- multiple = PlayerControl.GetLVAddPointMultiple(curPlayer)
+ titleAddPoint = PlayerControl.GetTitleAddExtraPoint(curPlayer)
+ if titleAddPoint <=0:
+ return
curLV = curPlayer.GetLV()
addFreePoint = 0
for rangLVs, point in addPointDict.items():
if curLV < rangLVs[0]:
continue
- addFreePoint += (fabaoAddPoint + point) * (multiple-1) * (min(curLV, rangLVs[1]) - rangLVs[0] + 1)
+ addFreePoint += titleAddPoint * (min(curLV, rangLVs[1]) - rangLVs[0] + 1)
freePoint = curPlayer.GetFreePoint()
updFreePoint = freePoint + addFreePoint
curPlayer.SetFreePoint(updFreePoint)
--
Gitblit v1.8.0