From d833cc75e3925841d2c947f2c64944963192faf0 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 22 一月 2019 15:26:49 +0800 Subject: [PATCH] 5931 【后端】【1.5.100】诛仙装备开发 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py index af21d9c..1f5de80 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py @@ -46,6 +46,7 @@ import SkillShell import FBCommon import IpyGameDataPY +import EquipZhuXian #--------------------------------------------------------------------- GameWorld.ImportAll("Script\\Skill\\" , "GameSkills") GameWorld.ImportAll("Script\\Skill\\" , "GameBuffs") @@ -1878,6 +1879,11 @@ if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_GiftSkill: if not PlayerGreatMaster.GetGreatMasterFreeSkillPoint(curPlayer): return False + #诛仙技能学习判断 + if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_ZhuXian: + if not EquipZhuXian.CheckLearnZhuXianSkill(curPlayer, curSkillTypeID): + return False + #经验检测 skillLvUpNeedExp = upSkill.GetLVUpCostExp() -- Gitblit v1.8.0