Skip to content

Commit

Permalink
AutoTrajectory Avoid DragonsTeeth by Aiming High (#4215)
Browse files Browse the repository at this point in the history
This adds avoidneutral = true so that the autotrajectory will switch to high trajectory when Dragon's Teeth blocks low trajectory.
  • Loading branch information
SethDGamre authored Jan 26, 2025
1 parent 9bc1cd6 commit 7ff0878
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions units/ArmBuildings/LandDefenceOffence/armamb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ return {
accuracy = 400,
areaofeffect = 152,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-heavy",
craterboost = 0,
cratermult = 0,
Expand Down Expand Up @@ -179,6 +180,7 @@ return {
accuracy = 400,
areaofeffect = 152,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-heavy",
craterboost = 0,
cratermult = 0,
Expand Down
2 changes: 2 additions & 0 deletions units/ArmBuildings/LandDefenceOffence/armguard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ return {
accuracy = 75,
areaofeffect = 100,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-medium",
craterboost = 0,
cratermult = 0,
Expand Down Expand Up @@ -172,6 +173,7 @@ return {
accuracy = 75,
areaofeffect = 100,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-medium",
craterboost = 0,
cratermult = 0,
Expand Down
2 changes: 2 additions & 0 deletions units/ArmGantry/armvang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ return {
areaofeffect = 192,
avoidfeature = false,
avoidfriendly = true,
avoidneutral = true,
cegtag = "arty-huge",
collidefriendly = false,
craterareaofeffect = 192,
Expand Down Expand Up @@ -186,6 +187,7 @@ return {
areaofeffect = 192,
avoidfeature = false,
avoidfriendly = true,
avoidneutral = true,
cegtag = "arty-huge",
collidefriendly = false,
craterareaofeffect = 192,
Expand Down
2 changes: 2 additions & 0 deletions units/CorBuildings/LandDefenceOffence/corpun.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ return {
accuracy = 75,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-medium",
craterboost = 0,
cratermult = 0,
Expand Down Expand Up @@ -174,6 +175,7 @@ return {
accuracy = 75,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-medium",
craterboost = 0,
cratermult = 0,
Expand Down
2 changes: 2 additions & 0 deletions units/CorBuildings/LandDefenceOffence/cortoast.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ return {
accuracy = 450,
areaofeffect = 164,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-heavy",
craterboost = 0,
cratermult = 0,
Expand Down Expand Up @@ -180,6 +181,7 @@ return {
accuracy = 450,
areaofeffect = 164,
avoidfeature = false,
avoidneutral = true,
cegtag = "arty-heavy",
craterboost = 0,
cratermult = 0,
Expand Down
2 changes: 2 additions & 0 deletions units/Legion/Defenses/legacluster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ return {
accuracy = 50,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
-- burst = 3,
-- burstrate = 0.2,
-- sprayangle = 200,
Expand Down Expand Up @@ -174,6 +175,7 @@ return {
accuracy = 50,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
-- burst = 3,
-- burstrate = 0.2,
-- sprayangle = 200,
Expand Down
2 changes: 2 additions & 0 deletions units/Legion/Defenses/legcluster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ return {
accuracy = 75,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
cegtag = "starfire_arty",
craterboost = 0,
cratermult = 0,
Expand Down Expand Up @@ -169,6 +170,7 @@ return {
accuracy = 75,
areaofeffect = 120,
avoidfeature = false,
avoidneutral = true,
cegtag = "starfire_arty",
craterboost = 0,
cratermult = 0,
Expand Down

0 comments on commit 7ff0878

Please sign in to comment.