TCX_LongZhu
parent
838a42cfad
commit
f0bde7e48c
|
@ -311,6 +311,7 @@ end
|
|||
function this.PlayerSkillAdapter2(MSkillId)
|
||||
local skill = {}
|
||||
local monsterSkill = playerSkill[tonumber(MSkillId)]
|
||||
if monsterSkill then
|
||||
for index, skillId in ipairs(monsterSkill.SkillIDList) do
|
||||
skill[index] = {}
|
||||
skill[index].effect = this.GetSkillData(tonumber(skillId))
|
||||
|
@ -324,6 +325,7 @@ function this.PlayerSkillAdapter2(MSkillId)
|
|||
skill[index].maxCount = monsterSkill.WarEffectCount[index] or 999
|
||||
skill[index].maxRoundCount = monsterSkill.TurnEffectCount[index] or 999
|
||||
end
|
||||
end
|
||||
return skill
|
||||
end
|
||||
|
||||
|
@ -877,7 +879,9 @@ function this.GetMonsterDataFromGroup(gId, camp)
|
|||
local id = monster[1]
|
||||
local star = monster[2]
|
||||
local level = monster[3]
|
||||
|
||||
if star == nil then
|
||||
break
|
||||
end
|
||||
local mUnit = {
|
||||
unitId = id,
|
||||
position = i,
|
||||
|
|
Loading…
Reference in New Issue