Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retreat rule not always implemented correctly #1270

Closed
panther2 opened this issue Sep 28, 2016 · 16 comments
Closed

Retreat rule not always implemented correctly #1270

panther2 opened this issue Sep 28, 2016 · 16 comments

Comments

@panther2
Copy link
Contributor

panther2 commented Sep 28, 2016

Originally reported in:
triplea-maps/world_war_ii_global#12

TripleA should not offer the attacker's option to retreat, if after a round of combat:

  • in a seazone only a "defending" Transport is left
  • in a territory only a "defending" AAA gun is left
  • in a seazone only attacking air units are left as well as only a "defending" Submarine.

If these scenarios occur, the battle is over:

  • the Transport is autodestroyed, given the attacker still has units with an attack value.
  • the AAA gun is autodestroyed.
  • the Submarine cannot be hit by air units
@DanVanAtta DanVanAtta added Problem A problem, bug, defect - something to fix Game Rules/Play and removed Problem A problem, bug, defect - something to fix labels Oct 4, 2016
@simon33-2
Copy link
Contributor

The transport one could be fixed by moving the position of the test for transport are removed to the end of the combat - before the retreat option is presented. Similar treatment for AAA.

@simon33-2
Copy link
Contributor

The sub one would be fixed by making the sub auto submerge before asking them if they want to submerge. at the moment you are asked if you want to submerge and if you don't, the auto submerge happens anyway. Pretty stupid.

@panther2
Copy link
Contributor Author

panther2 commented Apr 8, 2017

Thank you, @simon33-2 for working on this!

@simon33-2
Copy link
Contributor

Don't thank me yet. The change hasn't been merged!

@DanVanAtta
Copy link
Member

I see #1646 is merged, @simon33-2 thank you! Question: is this issue closed or are there any loose ends that should still be tracked?

@simon33-2
Copy link
Contributor

The third scenario of a sub against only air still needs resolution although this requires an incompatible release to fix the order in MustFightBattle, unless we come up with a dodgy work around.

@simon33-2
Copy link
Contributor

simon33-2 commented Aug 17, 2017

Oh hold on - the first two issues are also still problems because the change was reverted in #1953.

#2080 resolves all known issues with #1646 but hasn't been merged.

@panther2
Copy link
Contributor Author

panther2 commented Sep 14, 2017

@simon33-2 @DanVanAtta
I have tested the issues mentioned in the first posting using 6604 and wwII-global.
Generally they are resolved correctly.
Unfortunately there is one remaining issue:
In the attached savegame the Russian transport is removed incorrectly from SZ 115.
In the sea battle the hits were assigned to the cruisers leaving the German carrier and the Russian transport behind. As the carrier has no attack value the Russian transport should not be autodestroyed.
test3_incorrect.zip

@simon33-2
Copy link
Contributor

Bummer! I'll look at that over the weekend.

@panther2
Copy link
Contributor Author

Thank you, @simon33-2

While there, please look at another scenario, too:

test4_incorrect.zip

Here a German cruiser and transport attack a Russian cruiser and transport.
Both cruisers hit, so the transports survive. In this special case the rulebook says:

In a sea battle, if both sides have only transports remaining, the attacker’s transports can remain in the contested sea zone or retreat per the rules in Condition B below, if possible.

TripleA does not offer the retreat option.

@simon33-2
Copy link
Contributor

That rule is a bit daft isn't it? If a transport is in an attack, it's either doing an amphibious assault or started in a hostile sea zone. In either case, I don't see why you should have the option to retreat. Is it the same in other variants?

@simon33-2
Copy link
Contributor

@panther2 what platform do you use? Windows, is it 32 or 64 bit?

I have a fix for test3 - was using the defense power.

@simon33-2
Copy link
Contributor

mac.zip
unix.zip
win32.zip
win64.zip

I decided to attach installers for all platforms. Are there any other cases I've missed?

@simon33-2
Copy link
Contributor

I've tested your test4 scenario in versions back to 1.8 and this scenario has never been implemented as per the rulebook. I can't get excited about it.

@panther2
Copy link
Contributor Author

panther2 commented Sep 16, 2017

Thank you @simon33-2 . I confirm that the test3 scenario is resolved correctly now.

Concerning the test4-scenario:

Is it the same in other variants?

Yes, at least in v3, v4, v5, v6 and Europe 1940, Pacific 1940 and Global 1940.

In older versions Transports defended at 1 so that scenario could not occur.

@panther2
Copy link
Contributor Author

Anyway, this issue is different from the initial one (retreat options were incorrectly offered), so I am closing this issue and open a new one for the new scenario (here a retreat option is incorrectly not offered).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants