From bf07631748fa805bd5195f8af2f6e68309a01610 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 04 六月 2024 17:59:47 +0800
Subject: [PATCH] 10173 【主干】【香港】【越南】BOSS凭证(新增任务活动)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 735b3f1..79f5fe2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -158,6 +158,7 @@
 import GameObj
 import PlayerChangeJob
 import PlayerActLoginNew
+import PlayerActTask
 import PlayerMineArea
 
 import datetime
@@ -861,6 +862,8 @@
     PlayerActHorsePetFeast.OnLogin(curPlayer)
     # 周狂欢活动
     PlayerWeekParty.OnLogin(curPlayer)
+    # 任务活动
+    PlayerActTask.OnPlayerLogin(curPlayer)
     # 登录活动
     PlayerActLoginNew.OnPlayerLogin(curPlayer)
     # 节日巡礼活动
@@ -5674,6 +5677,9 @@
     # 领取登录活动奖励
     elif rewardType == ChConfig.Def_RewardType_ActLoginAwardNew:
         PlayerActLoginNew.OnGetActLoginAward(curPlayer, dataEx, dataExStr)
+    # 领取任务活动奖励
+    elif rewardType == ChConfig.Def_RewardType_ActTask:
+        PlayerActTask.OnGetActTaskAward(curPlayer, dataEx, dataExStr)
     # 领取跨服充值排行活动达标奖励
     elif rewardType == ChConfig.Def_RewardType_CACTGBillboardDabiao:
         CrossActCTGBillboard.GetDabiaoAward(curPlayer, dataEx)

--
Gitblit v1.8.0