From 37829aec657fcd93c61e9a652ed53af390c1a2d1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 21 六月 2024 11:10:45 +0800
Subject: [PATCH] 10178 【越南】【香港】【主干】挂机奖励(增加直接获得挂机收益物品效果ID266; 修改境界加挂机时长配置key为字符串;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGarbageSorting.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGarbageSorting.py
index 2056fe4..8173340 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGarbageSorting.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActGarbageSorting.py
@@ -197,7 +197,7 @@
     Sync_GarbageTaskInfo(curPlayer, actNum, taskID)
     return giveItemList
 
-def OnGetGuajiAwardItemDict(curPlayer, awardSeconds, isQuick):
+def OnGetGuajiAwardItemDict(curPlayer, awardSeconds, useUnsecond):
     ## 获取挂机收益
         
     dropItemCountDict = {}
@@ -214,7 +214,7 @@
         if not actInfo.get(ShareDefine.ActKey_State):
             continue
         
-        if not isQuick:
+        if useUnsecond:
             unSeconds = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GarbageGJSeconds % (actNum))
             awardSeconds += unSeconds
             

--
Gitblit v1.8.0