to suppress the UI sound if the menu selection is changed without user
interaction (if the game list needs an UI sound it should be added
there and not to the remotely controlled player list to keep things
consistent)
...by using the random function before things have been set
up. However, there are still some issues with recalled units that
previously didn't have traits getting them. I don't want this to
happen. But old save games should be playable now.
The mouseover-highlighting of selection for in-game menu causes repetitive
UI sounds. I think this fix preserves the wanted interface change.
but, uso, maybe check if the sound works as you want where(?) you want
(which is possible) was very slow (99 times slower), need ~15sec.
Note also that a unit with a lot of MP but high movement cost have the same
problem. So now use 10 as maximum MP cost for the animation speed.
Still very slow (~1sec/tile), but you can use acceleration if it's frequent.
When a unit have different resistances when attacking or defending,
show: "Impact : 40% / 60%" (always att/def)
We can't say more, because it can be the result of a complex WML
filter but I think it gives the information needed (variable
resistances and values) If the user doesn't know why, the ability
tooltip will generally explain it
It currently does the same simplification as the resistance tooltip of
weapons: always consider that we are defender, so it's sometimes
misleading (steadfast) I will try to improve it later, using some
"type : 40% / 50%"
...from Dark Sorcerer to Lich to add the undead trait. The prevous
change resulted in the recruit menu showing traits for potential
recruits (that wouldn't even match what you would get). This fixes
that.
now the default zoom key switch between default and last used zoom
(initialized with half the default zoom but use 16 instead of 18 for
tiny-gui, to keep the multiplicity by 4) So, now you can also have a
big fast zoom on fights if you want.
- fix a old bug, unhighlight the canceled selected hex broken when using fog
- allow to open context menu on unselected enemy in 1 click (instead of 2)
- kill an old ugly FIXME which recently started to bite (no context
menu on enemy)