From 08c3a1db949107f104eb19be1ef3267bb62fa994 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 01 三月 2019 17:55:37 +0800
Subject: [PATCH] 6318 【后端】【2.0】召唤兽释放技能增加根据等级来

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_16.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 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 3c5acc9..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
@@ -71,7 +71,7 @@
     summonNPC = curPlayer.SummonNewNPC()
     
     #设置召唤兽基础信息
-    summonNPC.SetNPCTypeID(summonID)
+    summonNPC.SetNPCTypeID(summonID)    # 即设置了基础属性,技能等
     lvSummonNPC = curPlayer.GetLV()
     summonNPC.SetLV(lvSummonNPC)
     summonNPC.SetCountry(curPlayer.GetCountry())
@@ -115,6 +115,9 @@
     summonNPC.SetBaseMissRate(curPlayer.GetMiss())
     summonNPC.SetBaseSuperHiteRate(curPlayer.GetSuperHitRate())
     
+    # 继承技能等级
+    SkillCommon.SetSummonNPCSkillLV(summonNPC, curSkill)
+    
     summonNPC.SetVisible(True)
     summonNPC.SetCanAttack(False)
     

--
Gitblit v1.8.0