From bf8da678145a7693199e6a39097d2c8571c9928f Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 15 五月 2019 11:17:05 +0800
Subject: [PATCH] 6791 【2.0】【后端】缥缈仙域定制功能优化(增加随机奖励)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
index 8ce2716..5e52bb1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -460,4 +460,11 @@
             itemList.append([itemInfo[0][job], itemInfo[1], itemInfo[2]])
         else:
             itemList.append(itemInfo)
+    
+    for itemRateList in ipyData.GetRandomAward():
+        itemRateList = ItemCommon.GetWeightItemListByAlchemyDiffLV(curPlayer, itemRateList, 1)
+        giveItem = GameWorld.GetResultByWeightList(itemRateList)
+        if not giveItem:
+            continue
+        itemList.append(giveItem)
     return itemList

--
Gitblit v1.8.0