From 2eec704540684c4de0c98bd6833e9a5a3a24f7e3 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 23 十月 2019 00:04:46 +0800
Subject: [PATCH] 8311 【恺英】【后端】新增装备评分参数(装备传奇技能增减属性效果支持)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py
index b486d54..e9a1dbe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py
@@ -21,7 +21,6 @@
 import BaseAttack
 import IPY_GameWorld
 import ItemControler
-import SkillDataBoost
 import GameObj
 import SkillCommon
 
@@ -72,7 +71,7 @@
     summonNPC = curPlayer.SummonNewNPC()
     
     #设置召唤兽基础信息
-    summonNPC.SetNPCTypeID(summonID)
+    summonNPC.SetNPCTypeID(summonID)    # 即设置了基础属性,技能等
     lvSummonNPC = curPlayer.GetLV()
     summonNPC.SetLV(lvSummonNPC)
     summonNPC.SetCountry(curPlayer.GetCountry())
@@ -116,11 +115,12 @@
     summonNPC.SetBaseMissRate(curPlayer.GetMiss())
     summonNPC.SetBaseSuperHiteRate(curPlayer.GetSuperHitRate())
     
+    # 继承技能等级
+    SkillCommon.SetSummonNPCSkillLV(summonNPC, curSkill)
+    
     summonNPC.SetVisible(True)
     summonNPC.SetCanAttack(False)
     
-    #SkillDataBoost.SetSummonNPCSkillBoost(curPlayer, summonNPC, curSkill)
-
     return True
 
 def DoLogic_NPC_UseSkill_SummonNPC(curNPC, curSkill, summonNPCID, tagRoundPosX, tagRoundPosY, tick):

--
Gitblit v1.8.0