From 94374c183c35fc4ba13ec7c675b35dd49b3a1386 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 23 八月 2018 16:02:42 +0800
Subject: [PATCH] fix:脱机掉落公式支持

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
index 36862b2..a31bf3c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -41,6 +41,7 @@
 import EventShell
 import NPCCommon
 import PetControl
+import QuestCommon
 
 #GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
 GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
@@ -95,6 +96,15 @@
                     return
             if key == "MountLv":
                 if PlayerHorse.GetHorseSumLV(curPlayer) < value:
+                    return
+                
+            # 多加一种任务判断
+            if key == "OpenSkillSlots":
+                # 主线任务完成时会设置标志可进地图标志
+                mission_1 = QuestCommon.GetCommonMission(curPlayer)
+                if not mission_1:
+                    return
+                if strIndex > mission_1.GetProperty("OpenSkillSlots"):
                     return
                 
     PlayerControl.NomalDictSetProperty(curPlayer, 
@@ -344,6 +354,7 @@
              4511:ChConfig.TriggerType_AttackAddFinalValue,   #攻击增加输出伤害11
              4512:ChConfig.TriggerType_ReduceHurtHPPer, # 百分比减少攻击计算后伤害 
              4513:ChConfig.TriggerType_AttackAddFinalValue,   #攻击增加输出伤害11
+             4515:ChConfig.TriggerType_AddIceAtkPer,    # BUFF类:攻击附加真实伤害百分比 
              803:ChConfig.TriggerType_BloodShield,  # 血盾
              806:ChConfig.TriggerType_BloodShield,  # 血盾
              808:ChConfig.TriggerType_BloodShield,  # 血盾

--
Gitblit v1.8.0