mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
AWACS, bombers and transports kills on the ramp now don't suffer a -50% score penalty
This commit is contained in:
parent
591ec6e10a
commit
806421062b
@ -55,7 +55,12 @@ do
|
|||||||
if not objectDesc or not objectDesc.attributes then return 10 end -- No description, assume a default value of 10 points
|
if not objectDesc or not objectDesc.attributes then return 10 end -- No description, assume a default value of 10 points
|
||||||
|
|
||||||
local groundMultiplier = 1
|
local groundMultiplier = 1
|
||||||
if not killedObject:inAir() then groundMultiplier = 0.5 end -- Aircraft killed on the ground are worth less points
|
if not killedObject:inAir() then
|
||||||
|
-- Aircraft killed on the ground are worth less points, except AWACS, bombers and transports
|
||||||
|
if not objectDesc.attributes["AWACS"] and not objectDesc.attributes["Transports"] and not objectDesc.attributes["Strategic bombers"] then
|
||||||
|
groundMultiplier = 0.5
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- Misc
|
-- Misc
|
||||||
if objectDesc.attributes["Missiles"] then return 10 end
|
if objectDesc.attributes["Missiles"] then return 10 end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user