Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8483) killstack patch (fix 2)
Home

[Freeciv-Dev] Re: (PR#8483) killstack patch (fix 2)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8483) killstack patch (fix 2)
From: "LoboGris" <molv@xxxxxxxxxxxxxx>
Date: Sun, 11 Apr 2004 20:54:50 -0700
Reply-to: rt@xxxxxxxxxxx

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

[Mike Kaufman wrote:]

out of curiosity, in what order are these units killed? In unit_list order?
That's not all that good...

[LoboGris answered:]

This is not changed from the original code, so when a stack of units is 
attacked, the first unit that defends is that which has bigger chance to 
win. The difference between a killstack enabled and a killstack disabled 
is that in the first case, if the unit is destroyed, all the stack is 
destroyed (very ugly for me), and in the second case, only that unit is 
destroyed. If the attacker attacks again, then again will defend the 
unit with bigger chance to win.

[LoboGris complements:]

Please note that in the actual and original freeciv code the killstack 
is already disabled when the stack of units is in a city, a fortress or 
an airbase. This option gives the possibility of a generalised disabled 
killstack. There is no bizarre second effects with it. It is a very 
simple patch.

LG




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