mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Slight change of attack order
This commit is contained in:
@@ -1898,11 +1898,11 @@ function PLAYERTASKCONTROLLER:_AddTask(Target)
|
|||||||
elseif targetobject:IsInstanceOf("GROUP") then
|
elseif targetobject:IsInstanceOf("GROUP") then
|
||||||
self:T("SEAD Check GROUP")
|
self:T("SEAD Check GROUP")
|
||||||
local attribute = targetobject:GetAttribute()
|
local attribute = targetobject:GetAttribute()
|
||||||
if self:_IsAttributeSead(attribute) then
|
if self:_IsAttributeSead(attribute) then
|
||||||
type = AUFTRAG.Type.SEAD
|
type = AUFTRAG.Type.SEAD
|
||||||
--ttstype = "suppress air defense"
|
--ttstype = "suppress air defense"
|
||||||
ttstype = self.gettext:GetEntry("SEADTTS",self.locale)
|
ttstype = self.gettext:GetEntry("SEADTTS",self.locale)
|
||||||
end
|
end
|
||||||
elseif targetobject:IsInstanceOf("SET_GROUP") then
|
elseif targetobject:IsInstanceOf("SET_GROUP") then
|
||||||
self:T("SEAD Check SET_GROUP")
|
self:T("SEAD Check SET_GROUP")
|
||||||
targetobject:ForEachGroup(
|
targetobject:ForEachGroup(
|
||||||
|
|||||||
@@ -2431,12 +2431,12 @@ function GROUP:GetAttribute()
|
|||||||
attribute=GROUP.Attribute.GROUND_ARTILLERY
|
attribute=GROUP.Attribute.GROUND_ARTILLERY
|
||||||
elseif tank then
|
elseif tank then
|
||||||
attribute=GROUP.Attribute.GROUND_TANK
|
attribute=GROUP.Attribute.GROUND_TANK
|
||||||
|
elseif ifv then
|
||||||
|
attribute=GROUP.Attribute.GROUND_IFV
|
||||||
elseif apc then
|
elseif apc then
|
||||||
attribute=GROUP.Attribute.GROUND_APC
|
attribute=GROUP.Attribute.GROUND_APC
|
||||||
elseif infantry then
|
elseif infantry then
|
||||||
attribute=GROUP.Attribute.GROUND_INFANTRY
|
attribute=GROUP.Attribute.GROUND_INFANTRY
|
||||||
elseif ifv then
|
|
||||||
attribute=GROUP.Attribute.GROUND_IFV
|
|
||||||
elseif truck then
|
elseif truck then
|
||||||
attribute=GROUP.Attribute.GROUND_TRUCK
|
attribute=GROUP.Attribute.GROUND_TRUCK
|
||||||
elseif train then
|
elseif train then
|
||||||
|
|||||||
Reference in New Issue
Block a user