Helicopter at sea attacked by AEGIS Cruiser

Various topics about the game, the website, or anything else Freeciv related that doesn't fit elsewhere.
Post Reply
MikeDuk
Posts: 40
Joined: Tue Aug 31, 2021 3:58 pm

Helicopter at sea attacked by AEGIS Cruiser

Post by MikeDuk »

Hi.

I had a helicopter stationed where the picture shows a star. At sea, next to a city.
Image

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.
Attachments
Heli.png
Heli.png (277.64 KiB) Viewed 5119 times
cazfi
Elite
Posts: 3092
Joined: Tue Jan 29, 2013 6:54 pm

Re: Helicopter at sea attacked by AEGIS Cruiser

Post by cazfi »

MikeDuk wrote: Mon Nov 07, 2022 7:06 amAccording to the wiki, "Helicopters may be attacked by ground units".
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
MikeDuk
Posts: 40
Joined: Tue Aug 31, 2021 3:58 pm

Re: Helicopter at sea attacked by AEGIS Cruiser

Post by MikeDuk »

Thanks cazfi for the explanation.

I hardly ever build helicopters. Now I think I never will.
Ignatus
Elite
Posts: 644
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: Helicopter at sea attacked by AEGIS Cruiser

Post by Ignatus »

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)
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.
Post Reply