Closed FruityGumGuiltyFruit closed 6 months ago
You're screenshots don't show that it doesn't work and accprding to the code. It's not prevented either. My guess is direct units can always move and fire. And you're code just gives the infantry move and fire with a 2 range attack which is proably shown by the attack range
Is your feature request related to a problem? Please describe. I noticed that getFirerangeModifier can increase or decrease the max range of all units, but getMinFirerangeModifier only increases the minimum range of indirect-attack units.
Describe the solution you'd like Direct-attack attack units should also be effected by getMinFirerangeModifier.
Additional context Here is a CO with the code below.