From 2786606d81a3938bec26619884bff65c55af657d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 19 九月 2018 16:43:28 +0800
Subject: [PATCH] Fix: A5 C4 神兽装备强化 #tagCMDogzEquipPlus(增加消耗个数)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py | 5 ++---
1 files changed, 2 insertions(+), 3 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 1529906..293d7c0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -26,7 +26,6 @@
import GameWorld
import ChConfig
import IpyGameDataPY
-#import SkillBoosts
import SkillCommon
import BuffSkill
import SkillShell
@@ -43,7 +42,6 @@
import PetControl
import QuestCommon
-#GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
@@ -106,7 +104,7 @@
if not mission_1:
return
- if int(strIndex) > mission_1.GetProperty("OpenSkillSlots"):
+ if (pow(2, int(strIndex)) & mission_1.GetProperty("OpenSkillSlots")) == 0:
return
PlayerControl.NomalDictSetProperty(curPlayer,
@@ -326,6 +324,7 @@
4048:ChConfig.TriggerType_MissSkill, # 闪避后触发释放技能
4049:ChConfig.TriggerType_MissSuccessPer, # 闪避成功率提升
4050:ChConfig.TriggerType_OneDamage, # 伤害降低到1点
+ 4051:ChConfig.TriggerType_LuckyHit, # 会心一击时增加会心伤害百分比 50
}
return tdict.get(effectID, -1)
#===========================================================================
--
Gitblit v1.8.0