TCX_LongZhu
DESKTOP-RH64908\Administrator 2024-12-23 18:51:04 +08:00
parent 838a42cfad
commit f0bde7e48c
1 changed files with 15 additions and 11 deletions

View File

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