Summary: Units in nested transport considered defensive units
                 Project: Freeciv
            Submitted by: persia
            Submitted on: Sat 20 Apr 2013 01:48:01 PM JST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.99-r22731
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 



Units in nested transport are considered potential defensive units, although
they are unable to unload or attack.  Test case is to alter experimental
ruleset to give Cruise Missile a defensive rating of 4, then load Cruise
Missile in Mech. Inf. in Transport.  Attack with something, and the missile is
considered the defender.

>From comments in the code, I suspect that having Missiles be potential
defenders of Submarines and Stealth Fighters|Bombers being potential defenders
of Carriers may similarly be bugs (these also don't happen because of the
coincidental relation between the defense ratings of the transport and the

Discovered when considering allowing AttFromNonNative units to be able to also
defend when non-native: thoughts on that idea appreciated, but the attached
bugfix patch likely gets priority.


File Attachments:

Date: Sat 20 Apr 2013 01:48:02 PM JST  Name: check-unload-to-defend.patch 
Size: 1kB   By: persia



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to