Hi.
I had a helicopter stationed where the picture shows a star. At sea, next to a city.
I got the message "Your Helicopter lost to an attack by a Zapotec AEGIS Cruiser".
According to the wiki, "Helicopters may be attacked by ground units". I am playing with the Classic ruleset, which states that the AEGIS Cruiser is a Sea class unit (https://github.com/freeciv/freeciv/blob ... ts.ruleset).
I surmised that helicopters could not be attacked by sea units. What am I getting wrong?
Thanks.
Helicopter at sea attacked by AEGIS Cruiser
Helicopter at sea attacked by AEGIS Cruiser
- Attachments
-
- Heli.png (277.64 KiB) Viewed 6318 times
Re: Helicopter at sea attacked by AEGIS Cruiser
Ok, that's misleading. The point there is (I believe) that Helicopter is not an "Air" unit that are unreachable by ground units (or any non-Fighter unit). So Helicopters can be attacked by any unit.
I opened a ticket about this already -> https://osdn.net/projects/freeciv/ticket/46045
Re: Helicopter at sea attacked by AEGIS Cruiser
Thanks cazfi for the explanation.
I hardly ever build helicopters. Now I think I never will.
I hardly ever build helicopters. Now I think I never will.
Re: Helicopter at sea attacked by AEGIS Cruiser
What you also should look at in the ruleset about can unit A attack unit B is "Attack" action enablers in game.ruleset. AEGIS used one with "AttFromNonNative" since its unit class has this flag (i.e.: it can attack from cities that, you see, stay on land), and the sea tile is native for it so you don't even need to check if it has "AttackNonNative" flag (while it actually has it). Also, as it's said, "Helicopter" class has no "Unreachable" flag, so no special reachability rules ("targets" lists of the attacker) are applied.MikeDuk wrote: ↑Mon Nov 07, 2022 7:06 am I am playing with the Classic ruleset, which states that the AEGIS Cruiser is a Sea class unit (https://github.com/freeciv/freeciv/blob ... ts.ruleset)