You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one makes High Trajectory inherit Low Trajectory's target if Low Trajectory had one when it switched to High.
Also calibrates the high trajectory threshold a little bit to be slightly more reactive.
Copy file name to clipboardexpand all lines: luarules/gadgets/unit_weapon_smart_select_helper.lua
+8-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ local priorityAutoAggro = 12 -- how much aggro is accumulated per frameCheckModu
44
44
localpriorityManualAggro=24-- how much aggro is accumulated per frameCheckModulo that the priority weapon successfully aims with a manually assigned target
45
45
localprioritySwitchThreshold=-1--the aggro at which priority weapon switch is triggered. Aggro is decayed closer to 0 every frameCheckModulo
46
46
47
-
localbackupAutoAggro=4-- how much aggro is accumulated per frameCheckModulo that the priority weapon fails to aim
47
+
localbackupAutoAggro=5.5-- how much aggro is accumulated per frameCheckModulo that the priority weapon fails to aim
48
48
localbackupManualAggro=16--how much aggro is accumulated per frameCheckModulo that the priority weapon fails to aim with a manually assigned target
49
49
localbackupSwitchThreshold=backupAutoAggro*2.4*-1--the aggro at which backup weapon switch is triggered. Aggro is decayed closer to 0 every frameCheckModulo
50
50
@@ -62,6 +62,7 @@ local spGetUnitWeaponHaveFreeLineOfFire = Spring.GetUnitWeaponHaveFreeLineOfFire
0 commit comments