From 9aea16ac225ef51e37b71d40f5908cf422543826 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 06 十一月 2018 21:18:19 +0800 Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能 ----- 补齐第一版 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py index 2444a95..16ce277 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py @@ -625,10 +625,10 @@ # @param curNPC NPC实例 # @param summonID 召唤兽的NPCID # @return 召唤兽数量 -def GetSummonCountByNPCID(curNPC, summonID): +def GetSummonCountByNPCID(gameObj, summonID): count = 0 - for i in range(0, curNPC.GetSummonCount()): - summonNPC = curNPC.GetSummonNPCAt(i) + for i in range(0, gameObj.GetSummonCount()): + summonNPC = gameObj.GetSummonNPCAt(i) if not summonNPC: continue -- Gitblit v1.8.0