From f9d8c04e636bbe89458c6f31f6953ed40ae7bd4c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 10 六月 2019 20:39:16 +0800
Subject: [PATCH] 6501 新增商城任务接口

---
 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