From a166d721a3d7ff6cd2339983214e718c7a6a0ffe Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 11 六月 2025 11:00:36 +0800 Subject: [PATCH] 121 【武将】武将系统-服务端(武将招募;武将背包;武将养成系统;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 5 +++++ 1 files changed, 5 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 897af83..12eae96 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -174,6 +174,7 @@ from PyMongoDB import RecvPackToMapDB import PyMongoMain import PlayerTalk +import PlayerHero import datetime import time @@ -874,6 +875,7 @@ else: PyMongoMain.GetUserCtrlDB().OnPlayerLogin(curPlayer) + PlayerHero.OnPlayerLogin(curPlayer) PlayerMail.OnPlayerLogin(curPlayer) PlayerChatBox.OnPlayerLogin(curPlayer) PlayerFace.OnPlayerLogin(curPlayer) @@ -1481,6 +1483,9 @@ #初始化寻宝背包 PlayerControl.Init_TreasurePack(curPlayer) + #初始化英雄背包 + PlayerControl.Init_HeroPack(curPlayer) + #初始化神兽物品背包 curPack = curPlayer.GetItemManager().GetPack(ShareDefine.rptDogzItem) curPack.SetCount(ItemCommon.GetPackInitCount(ShareDefine.rptDogzItem)) -- Gitblit v1.8.0