freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Show real attack and defence values on middle-click.

Open hugomflavio opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Middle-click tool-tip shows the base attack and defence for the unit class, rather than the real values. these values can be calculated for those who know how to do it, so they should be available right away.

Describe the solution you'd like Show the veteran-corrected attack and defence levels. For the defence, include also the terrain, fort, and fortification bonuses.

hugomflavio avatar Mar 30 '24 16:03 hugomflavio

How would we handle unit-specific bonuses such as pikes vs horses?

lmoureaux avatar Apr 09 '24 22:04 lmoureaux

Easiest solution: Ignore for now. Seeing the real defence without special cases is already better than what we have now. More elaborate solution: If you middle-click... ...without a unit of your own selected, display an asterisk to indicate special cases apply ...with a unit of your own selected, display the updated defence value. I assume this is possible given that the client shows the attack/defence win percentages

hugomflavio avatar Apr 10 '24 00:04 hugomflavio