Summary: Combat bonuses framework
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 17 Oct 2012 09:16:07 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0



New combat bonuses system should replace current hardcoded bonuses for
hardcoded flags (Horse vs Pikeman, AEGIS vs AirUnit...)

This is initial patch with framework itself. As simplest test case for it,
AEGIS defense against AirUnits is converted to use it. Though Pikemen defense
against Horses would use same already present type, it's left as hardcoded
flags (in supplied rulesets - custom ruleset could go ahead and use new
system) since AI uses those.

The AEGIS vs AirUnit case:
- AEGIS flag is removed completely
- Hardcoded AirUnit flag is removed, but rulesets needing it reimplement it as
user flag
- Units that formerly had AEGIS flag have been given combat bonus
"DefenceMultiplier" +4 against "AirUnit"


File Attachments:

Date: Wed 17 Oct 2012 09:16:07 AM EEST  Name: CombatBonuses.patch.bz2  Size:
6kB   By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to