From acbb2ed759745fa05b21b8976c311d0ada2a5124 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 04 七月 2019 16:27:38 +0800
Subject: [PATCH] 6603 【后端】【2.0】增加新版的sp和被动技能 -- 修复无限冰冻问题
---
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