Skip to content

Commit

Permalink
Ravens think the minimum horiziontal extent of their target is 75% sm…
Browse files Browse the repository at this point in the history
…aller than reality. This is reduced from 95%.
  • Loading branch information
GoogleFrog committed Mar 30, 2019
1 parent 5329f06 commit 9a408eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LuaRules/Configs/bomber_dive_defs.lua
Expand Up @@ -16,7 +16,7 @@ local units = {
diveHeight = 25,
diveDistanceMult = 1.7,
altPerFlightFrame = 6.25,
sizeSafetyFactor = 0.95,
sizeSafetyFactor = 0.75,
orgHeight = UnitDefNames["bomberprec"].wantedHeight*FUDGE_FACTOR,
},
}
Expand Down
2 changes: 1 addition & 1 deletion LuaRules/Gadgets/unit_bomber_dive.lua
Expand Up @@ -44,7 +44,7 @@ local spMoveCtrlGetTag = Spring.MoveCtrl.GetTag
local bomberWeaponNamesDefs, bomberWeaponDefs, bomberUnitDefs = include("LuaRules/Configs/bomber_dive_defs.lua")

local UPDATE_FREQUENCY = 15
local SQRT_TWO = 0.8 -- All hit tests have leeway so we don't need to be too fussy about the square root of two.
local SQRT_TWO = math.sqrt(2)
local bombers = {}
local VOL_SPHERE = 3

Expand Down

0 comments on commit 9a408eb

Please sign in to comment.