cortex-command-community / Cortex-Command-Community-Project-Data

[ARCHIVED] The future of Cortex Command
https://cortex-command-community.github.io/
110 stars 21 forks source link

AimRangeUpperLimit and AimRangeLowerLimit not respected in multiple places #88

Closed Armokorguest closed 3 years ago

Armokorguest commented 3 years ago

There are multiple places, primarily in the lua AI code, where AimRangeUpperLimit and AimRangeLowerLimit are not respected, and instead it only uses the old AimRange. This was presumably not discovered because they are not used in vanilla and so there's no ingame way they come up without mods.

Specific spots it comes up is in CrabBeaviors.lua on lines 92 and 93, and in HumanBehaviors.lua on lines 301 and 302 and 1345. There might be others.

garethyr commented 3 years ago

@Armokorguest @fourZK Please reconcile this with #87 and close one of these issues.