From 59d00e9001195420f83a0a8e19ad799a34fa09a9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 09 五月 2019 21:18:57 +0800
Subject: [PATCH] 3531 【BUG】【2.0】缥缈,宝箱怪掉落材料错误
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_196.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_196.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_196.py
index c290592..d77b4ee 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_196.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AIType_196.py
@@ -291,8 +291,10 @@
if attackCount in attackCountDropWeightInfo:
mainItemWeightList = attackCountDropWeightInfo[attackCount]
NPCCommon.UpdateNPCAttackCount(attackPlayer, npcID, attackCount, maxCount)
-
- if not mainItemWeightList and attackDropWeightList:
+
+ if mainItemWeightList:
+ mainItemWeightList = ItemCommon.GetWeightItemListByAlchemyDiffLV(attackPlayer, mainItemWeightList, alchemyDiffLV)
+ elif attackDropWeightList:
mainItemWeightList = ItemCommon.GetWeightItemListByAlchemyDiffLV(attackPlayer, attackDropWeightList, alchemyDiffLV)
mainItemInfo = GameWorld.GetResultByWeightList(mainItemWeightList)
--
Gitblit v1.8.0