URL:
  <http://gna.org/patch/?4495>

                 Summary: Let action enablers for bribing or sabotaging a unit
know it must be alone at its tile
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Wed 12 Feb 2014 11:45:45 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

The Freeciv code assumes that the victim unit of the spy actions bribe and
sabotage is alone at its tile. Make all evaluations based on action enablers
aware of this limitation.

Existing hard coded checks that the victim is alone is kept even if action
enablers later are used. Should anyone consider to make it possible for one or
both actions to target units that aren't alone the existing checks mark areas
to pay attention to. For now they allow us to skip evaluating enablers of
bribe and sabotage if more than one unit occupies the target tile.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 12 Feb 2014 11:45:45 PM UTC  Name: bribe_sabotage_lonely_unit.patch 
Size: 814B   By: sveinung

<http://gna.org/patch/download.php?file_id=20026>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?4495>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to