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

                 Summary: autoattack: have the best attacker go first
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Fri 04 Nov 2016 12:52:19 PM UTC
                Category: general
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 3.0.0, 2.6.0
 Contains string changes: No

    _______________________________________________________

Details:

A unit will only auto attack if its probability of success is above a certain
threshold. The threshold is currently 90% if the unit is the last defender in
a city and 25% otherwise.

A unit's probability of success against a target can depend on target specific
factors. One example of target relative unit strength is how the classic
ruleset gives a defense bonus to Pikemen when attacked by Horsemen.

Up unit now the potential attacker with the *worst* odds (above the threshold)
have attacked first.
 * made it harder to lure strong enemy units out of the way by using
sacrificial units. (A regular attack may, depending on the occupychance server
setting, make the attacker move after victory is achieved)
 * made it possible to exploit target relative unit strength by moving a unit
a strong unit in a unit stack is weak against next to the tile.
 * increased the probability of the auto attacker losing and dying.
 * decreased the probability of a follow up attack (target weakness can
increase the probability of victory enough to have it pass the threshold)
    
Make the potential attacker with the *best* odds attack first.
 * makes it possible to lure away strong units by using sacrificial units.
 * target specific factors are exploited to the autoattacker's advantage. This
beats the advantage of the old system because attacker unit strength can
depend on the target unit.
 * reduces the probability of the auto attacker dying during the attack.
 * increases the probability of a second auto attacker finishing of the target
if the first auto attacker fails.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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