#1439 closed defect (fixed)
[PATCH] Livestock should not influence unit kill and death statistics.
Reported by: | Deiz | Owned by: | fcxSanya |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 11 |
Component: | UI & Simulation | Keywords: | patch |
Cc: | Patch: |
Description
Currently, killing player-owned (non-Gaia) livestock increments both the kill and death counters, displayed in the post-game view.
This applies whether a player kills his own livestock, an ally does, or an enemy does. This means that a player hunting his own livestock will accumulate both kills and deaths.
As livestock only exist as a food source and take up no population, I regard them as a resource on legs and not a proper unit. The attached patch checks the two classes "Domestic" and "Animal", the former of which is only held by the Sheep and the latter of which is a redundant sanity-check.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | livestock.patch added |
---|
comment:1 by , 12 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 12 years ago
Thanks for the patch. I applied it along with some minor code style changes.
comment:3 by , 8 years ago
Keywords: | review removed |
---|
In 11922: