Add a New Comment (Rich Markup):
Please log in, so followups can be emailed to you.
(Committed as r22363, r22364, r22365.)
- Fix a bug that units without "TerrainDefense" didn't get even the constant part (10) of the factor - Replaced magic 10 with POWER_FACTOR
(file #17153, file #17154)
get_virtual_defense_power() always applies terrain defense bonuses, but they should apply to only those unit classes that have "TerrainDefense" flag (land units in classic rulesets).
Fix attached.
(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)
Attach File(s): Comment:
Depends on the following items: None found
Items that depend on this one: None found
Do you think this task is very important?If so, you can click here to add your encouragement to it.This task has 0 encouragements so far.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 8 latest changes.
Copyright (C) 2004-2006, the Gna! people. Posted items are owned by whoever posted them. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.