Re: Suggestion for more options
I like PKH's suggestion. Here's an example of how it could work.
For example, assume friendly unit A has targeted enemy unit 1 at a range of 5 hexes. Enemy unit 2 moves into A's LOS at a range of 8 hexes; A would not fire at 2 since it is farther. Enemy unit 3 pops up 3 hexes from A; A MAY fire at 3 since it is closer. Enemy unit 4 shows up adjacent to A; A would fire at unit 4.
Units appearing adjacent would be fired on 100% of the time if visible, same as now. Units closer than the current target could be handled by an algorithm which would make it more probable to fire the closer the the appearing unit is to the firing unit. Per the example: divide 100 by the range of the current target minus 1 (100 / (5 - 1) = 25). So each hex closer would have a 25% chance of being fired at; a unit at a range of 3 would have a 50% chance of being fired at, at a range of 2 a 75% chance.
|