Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile ar
Home

[Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile ar

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile arrival time when selecting between equal units.
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Thu, 26 Aug 2004 13:54:13 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9763 >

On Sun, 22 Aug 2004, Jason Short wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9763 >
> 
> Another way to do it:
> 
> Add a new value punit->defense_priority.  This value can be sent to the 
> client.  The defender with the higher priority will be chosen.  The 
> priority value can be randomly reset every time a unit moves.  There is 
> a small chance of ties but this can be safely ignored.

Actually I would rather go for declaring the current behaviour a rule: if 
you are last to enter a stack, you are first to die.  This is a really 
minor issue and doesn't warrant spending any time on.

The problem of stacks being reshuffled on save-load is slightly more 
serious.

Gr




[Prev in Thread] Current Thread [Next in Thread]