From 1863adea598d5d66fe06be49633979bf93966784 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 31 五月 2019 15:37:32 +0800
Subject: [PATCH] 6975 【2.0】【后端】日常界面调整(升级给活跃点)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
index 6361c0c..f025542 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py
@@ -242,6 +242,8 @@
 def DoAddActivity(curPlayer, addValue, isMultiple=False):
     if not addValue:
         return
+    multiple = 1
+    addExtraPoint = 0
     if isMultiple:
         multiple, extraPointLimit = __GetActionAddPer(curPlayer)
         curExtraPoint = __GetPDictValue(curPlayer, ChConfig.Def_PDict_Activity_ExtraRealmPoint)
@@ -259,8 +261,8 @@
     SyncDailyActivityInfo(curPlayer)
     EventShell.EventRespons_AddActivityValue(curPlayer)
     GameWorld.DebugLog(
-        "增加活跃度,addValue=%s, multiple=%s, addExtraPoint=%s,curExtraPoint=%s"
-        % (addValue, multiple, addExtraPoint, curExtraPoint), curPlayer.GetPlayerID())
+        "增加活跃度,addValue=%s, multiple=%s, addExtraPoint=%s"
+        % (addValue, multiple, addExtraPoint), curPlayer.GetPlayerID())
 
     return
 

--
Gitblit v1.8.0