Since the latest patch, the GetAttackRange() method became missing on some specific towers. Specifically, the ones that use an attack_targeting modifier. This might be tracked down and patched more elegantly in buildinghelper but for now this will suffice.
Fix
Changed the findRadius variable to use the tower's AcquisitionRange since that value and the AttackRange values are identical. The findRadius value can be also very forgiving since it's only used for calculating target acquisition.
Issue
Since the latest patch, the
GetAttackRange()
method became missing on some specific towers. Specifically, the ones that use an attack_targeting modifier. This might be tracked down and patched more elegantly inbuildinghelper
but for now this will suffice.Fix
Changed the
findRadius
variable to use the tower'sAcquisitionRange
since that value and theAttackRange
values are identical. ThefindRadius
value can be also very forgiving since it's only used for calculating target acquisition.