【战斗】=======battlelogic修改

dev_one_discount hotfix/you_gu/cdn_shanQu_and/1.1.28
wangzhenxing 2023-08-25 18:58:32 +08:00
parent 47edf3b630
commit 595487091b
1 changed files with 4 additions and 2 deletions

View File

@ -350,7 +350,8 @@ function BattleLogic.CheckBattleLogic()
if insertSkillRoleList and #insertSkillRoleList>0 then
insertSkillRole=insertSkillRoleList[1]
SkillRole =insertSkillRole
table.removebyvalue(insertSkillRoleList,insertSkillRole)
table_removebyvalue(insertSkillRoleList,insertSkillRole)
--table.removebyvalue(insertSkillRoleList,insertSkillRole)
insertSkillRole=nil
--记录下正常执行行动的英雄的位置,插入英雄行动完,再按照正常顺序执行
lastPos=CurSkillPos[CurCamp]
@ -437,7 +438,8 @@ function BattleLogic.CheckHaveInsertRole()
if insertSkillRoleList and #insertSkillRoleList>0 then
insertSkillRole=insertSkillRoleList[1]
local SkillRole=insertSkillRole
table.removebyvalue(insertSkillRoleList,insertSkillRole)
--table.removebyvalue(insertSkillRoleList,insertSkillRole)
table_removebyvalue(insertSkillRoleList,insertSkillRole)
insertSkillRole=nil
-- 如果找不到下一个人,直接交换阵营
if not SkillRole then