[战斗]=========添加神兵目标选择
parent
cbd60b5e14
commit
ab3484709d
|
|
@ -320,6 +320,9 @@ function BattleUtil.ChooseTarget(role, chooseId,queryType)
|
|||
return {arr[1]}
|
||||
end
|
||||
return {RoleManager.GetAggro(role)}
|
||||
elseif chooseType == 5 then --神兵对应的英雄
|
||||
local weaponer=RoleManager.GetRoleByCampAndPos(role.camp,role.position)
|
||||
return {weaponer}
|
||||
else
|
||||
arr = RoleManager.Query()
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue