nicymike / serflings

Serflings Remake Project
https://serflings.simpleguide.net/
26 stars 0 forks source link

Can demolish military builings that are already under attack #71

Closed DerKeil closed 1 year ago

DerKeil commented 2 years ago

Hey,

I am pretty sure that in the original game it was not possible to demolish a military building that was already under attack, but in a 2 human player game it was (sometimes) possible.

Best Stefan

nicymike commented 2 years ago

The behaviour should be the same because I did check it some versions ago.

It works like: If there is an enemy knight in the area around the building, forbid demolish. It doesn't matter if there was an attack recently.

I will check the radius to be sure

DerKeil commented 2 years ago

Oh really, it depends on whether the attacking knights are already near the builing. hmmm, didnt know. Thanks

nicymike commented 2 years ago

I got this information from the original code. This will also block demolish for buildings near the border if an enemy knight is walking on a path on the other side of the border.

nicymike commented 1 year ago

Is this still an issue?

DerKeil commented 1 year ago

No, you already explained the reason.