Open mizzao opened 4 years ago
It will run across a whole column and back.
If there is an enemy in the row we're moving to, don't move there. Just move the other way, or back, or shoot. (This helps with offense as well).
This code may inadvertently help with artillery dodging, but that is only at 5 range, so we can factor it out to a separate section.
In a recent battle this caused 5 bots to lose against 3 by fighting 1 by 1. When defending bots should just fight straight.
Perhaps only dodge lasers at 4-5 range?
It will run across a whole column and back.
If there is an enemy in the row we're moving to, don't move there. Just move the other way, or back, or shoot. (This helps with offense as well).
This code may inadvertently help with artillery dodging, but that is only at 5 range, so we can factor it out to a separate section.