From 30dd8ff93a00ada8262a35da0ede9c2088a7fd37 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 23 九月 2025 16:52:52 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(诸葛亮技能; 目标细分增加攻击力最高5; buff状态增加军令19;增加效果6006增加本次技能万分比验证职业;增加效果5015集火攻击军令目标;)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHero.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHero.py
index bc315b1..3c568d1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHero.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHero.py
@@ -1076,7 +1076,7 @@
     if awardMoneyInfo and len(awardMoneyInfo) == 2:
         moneyType, moneyValue = awardMoneyInfo
         if moneyType and moneyValue:
-            PlayerControl.GiveMoney(curPlayer, moneyType, moneyValue, "HeroBookAct")
+            PlayerControl.GiveMoney(curPlayer, moneyType, moneyValue, "HeroBookAct", notifyAward=True)
                     
     Sync_HeroInfo(curPlayer, [heroID])
     
@@ -1448,6 +1448,8 @@
     for index in range(ipyDataMgr.GetHeroCount()):
         ipyData = ipyDataMgr.GetHeroByIndex(index)
         heroID = ipyData.GetHeroID()
+        if not ipyData.GetPlayerCanUse():
+            continue
         if not GetHeroBookInitState(curPlayer, heroID):
             # 图鉴未激活
             continue
@@ -1476,6 +1478,8 @@
         ipyDataMgr = IpyGameDataPY.IPY_Data()
         for index in range(ipyDataMgr.GetHeroCount()):
             ipyData = ipyDataMgr.GetHeroByIndex(index)
+            if not ipyData.GetPlayerCanUse():
+                continue
             syncHeroIDList.append(ipyData.GetHeroID())
     
     if not syncHeroIDList:

--
Gitblit v1.8.0