From 3fe522bb3eeb291cc0414677364f0de631264f47 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 09 九月 2025 10:26:45 +0800 Subject: [PATCH] 121 【武将】武将系统-服务端(优化图鉴升级,增加记录历史最高星级、突破等级;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py index 9150793..be8b637 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/Hero.py @@ -148,7 +148,7 @@ # 突破 if value == "b": breakLV = msgList[2] if len(msgList) > 2 else 0 - PlayerHero.SetHeroBreakLV(heroItem, breakLV) + PlayerHero.SetHeroBreakLV(curPlayer, heroItem, breakLV) GameWorld.DebugAnswer(curPlayer, "设置武将突破: %s,itemIndex=%s" % (breakLV, itemIndex)) return @@ -314,7 +314,7 @@ if not IpyGameDataPY.GetIpyGameDataNotLog("HeroQualityBreak", quality, bLV): break breakLV = bLV - PlayerHero.SetHeroBreakLV(heroItem, breakLV, False) + PlayerHero.SetHeroBreakLV(curPlayer, heroItem, breakLV, False) # 星级 starMax = PlayerHero.GetHeroStarMax(heroItem) -- Gitblit v1.8.0