From 9db73b0c3786d766bd18ffb47f32e43f0b1ae52f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 九月 2024 17:01:45 +0800
Subject: [PATCH] 10264 【越南】【砍树】BOSS凭证掉落新增个人BOSS

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
index ab044f9..267f1b6 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -1239,7 +1239,10 @@
         
     #boss凭证
     killBossCntLimitDict = IpyGameDataPY.GetFuncCfg('KillBossCntLimit', 1)
-    limitIndex = GameWorld.GetDictValueByKey(killBossCntLimitDict, npcID)
+    if mapID == ChConfig.Def_FBMapID_PersonalBoss:
+        limitIndex = ChConfig.Def_FBMapID_PersonalBoss
+    else:
+        limitIndex = GameWorld.GetDictValueByKey(killBossCntLimitDict, npcID)
     if limitIndex != None:
         bossTrialDrop = PlayerActBossTrial.GetBossTrialDropItemIDList(dropPlayer, limitIndex)
         if bossTrialDrop:

--
Gitblit v1.8.0