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

do_attack(): Shrink city only after complete removal of the defender #1231

Merged
merged 3 commits into from
Aug 10, 2022

Conversation

psampathkumar
Copy link
Contributor

Ported: freeciv/freeciv@c75e91e
Along with a few refactoring commits,

Factor out the civilian casualties from attacking or bombarding units in a
city to a new function.

Ported from: freeciv/freeciv@cac8000
Destruction of the city could wipe the defender too early, if it
was supported by that city.

Ported from: freeciv/freeciv@c75e91e
See osdn #45240
@lmoureaux
Copy link
Contributor

The AI played over 300 turns without issues

@lmoureaux lmoureaux merged commit cf7e1bd into longturn:master Aug 10, 2022
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

Successfully merging this pull request may close these issues.

2 participants