Page 1 of 1

occupychance vs 1 mp

Posted: Fri Jun 12, 2020 2:36 pm
by Wahazar
With occupychance 100, winning unit will always enter purged tile.
What bug me out is, that there is no way to custom it - either unit with MP 1, or unit with OneAttack flag, will proceed.
It is not logical - if attack is consuming 1 MP, unit should not be able to move forward aftermath?
Is there any way in freeciv 2.6 to customize units - for example cavalry is charging so it enter purged tile, but artillery should sit where is is?

Re: occupychance vs 1 mp

Posted: Fri Jun 12, 2020 7:56 pm
by Ignatus
Likely no, it's considered that any regular attack on a native terrain is a close-range combat. Moves are subtracted for both attack and occupation but all only after the attack is performed. In 3.x, there will be a control on disembarkation, maybe also an attack will be "fake generalized", but nothing like what you have asked.

Re: occupychance vs 1 mp

Posted: Sat Jun 13, 2020 11:05 am
by sveinung
I have been thinking about messing around near this area for 3.1. I have started moving some of the move cost for some action to the ruleset. I have been thinking of standardizing forced post action moves.

Could you describe in detail exactly what happens today and exactly what you want to change it to?

Re: occupychance vs 1 mp

Posted: Sat Jun 13, 2020 8:31 pm
by Wahazar
sveinung wrote: Could you describe in detail exactly what happens today and exactly what you want to change it to?
Actually if occupychance = 100, any unit proceed forward after attack, no matter it has 1 or more mp, and no matter if has OneAttack flag or not.
I expected that OneAttack would drain all MP thus unit would not move forward after attack.
Or generally, I want to differ units functionality, to have units which occupy purged place, and these which doesn't occupy.