From cd1c6abe4db4c87fbd7dcd827d2af58a36496cb0 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 26 四月 2019 22:58:25 +0800 Subject: [PATCH] 6613 子 【开发】【2.0】增加重击字体战斗飘字 / 【后端】【2.0】增加重击属性 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py | 21 ++------------------- 1 files changed, 2 insertions(+), 19 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 d298435..38c0e1d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py @@ -2867,19 +2867,6 @@ OperControlManager.SetObjActState(curObj, buffSkill) -# 非属性技能算属性 特殊处理 -# 法宝SP技能 如1-4级为增加属性,第5级为伤害效果,第6-10级就要包含属性和伤害效果 -def CalcFabaoSPSkillAttr(curPlayer, curPlayerSkill, allAttrList): - if curPlayerSkill.GetFuncType() != ChConfig.Def_SkillFuncType_FbSPSkill: - return - - value = GetMaxHPAttrValue(curPlayerSkill) - if value == 0: - return - - PlayerControl.CalcAttrDict_Type(ShareDefine.Def_Effect_MaxHP, value, allAttrList) - return - # 计算属性类技能的属性,同buff层不算战力 def CalcPassiveAttr_Effect(curPlayer, allAttrList): @@ -2889,7 +2876,6 @@ if curPlayerSkill == None: continue - CalcFabaoSPSkillAttr(curPlayer, curPlayerSkill, allAttrList) if not SkillCommon.isPassiveAttr(curPlayerSkill): continue @@ -3469,7 +3455,6 @@ def GetAddBuffValue(attacker, curSkill, defender): #验证该技能效果1的ID,提取公式 curEffect = curSkill.GetEffect(0) - effectID = curEffect.GetEffectID() moduleSuffix = GetBuffModuleSuffix(curEffect) @@ -3586,7 +3571,7 @@ return #--------------------------------------------------------------------- -# 获得关联技能 +# 获得关联技能,0 全部 1是主动型技能(法宝,普攻) 其他技能ID def GetConnectSkillID(curSkill): return curSkill.GetExAttr1() @@ -3623,9 +3608,7 @@ def GetUpLVCostItemNum(curSkill): return curSkill.GetExAttr5() -# 技能特殊增加属性配置,目前只支持生命,潜力技能专用 -def GetMaxHPAttrValue(curSkill): - return curSkill.GetMP() + ##获得当前技能升级消耗的真气值 # @param curSkill 当前技能技能 -- Gitblit v1.8.0