From 453e31ebec1ae159c08bc88e81ff24e14162af49 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 28 五月 2025 15:49:30 +0800 Subject: [PATCH] 92 【主界面】主线任务-服务端 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 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 e5d973f..c240c41 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -156,7 +156,7 @@ import PlayerZhanling import PlayerTree import PlayerLianTi -#import PlayerTask +import PlayerTask import PlayerYinji import PlayerLove import GameObj @@ -984,7 +984,7 @@ PlayerGubao.OnPlayerLogin(curPlayer) PlayerShentong.OnPlayerLogin(curPlayer) PlayerZhanling.OnPlayerLogin(curPlayer) - #PlayerTask.OnPlayerLogin(curPlayer) + PlayerTask.OnPlayerLogin(curPlayer) PlayerTree.OnPlayerLogin(curPlayer) PlayerMineArea.OnPlayerLogin(curPlayer) PlayerGuaji.OnPlayerLogin(curPlayer) @@ -5731,6 +5731,9 @@ #打包直购礼包奖励 elif rewardType == ChConfig.Def_RewardType_DailyPackBuyGift: PlayerGoldGift.GetDailyPackBuyGift(curPlayer, dataEx) + #任务奖励 + elif rewardType == ChConfig.Def_RewardType_Task: + PlayerTask.GetTaskAward(curPlayer, dataEx) #战令奖励 elif rewardType == ChConfig.Def_RewardType_Zhanling: PlayerZhanling.GetZhanlingReward(curPlayer, dataEx, dataExStr) -- Gitblit v1.8.0