Mercurial > repos > snowblizz-super-API-ideas
changeset 193:12aa4b76d24e
Re #198: Add slots with counts to units
* Set default equipment to 100% limits, not unlimited
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Oct 2009 20:10:37 +0000 |
parents | 2d0c4248a915 |
children | 1412a42190a1 |
files | api/Objects/UnitEquipmentItem.cs |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/api/Objects/UnitEquipmentItem.cs Thu Oct 29 20:54:10 2009 +0000 +++ b/api/Objects/UnitEquipmentItem.cs Fri Oct 30 20:10:37 2009 +0000 @@ -145,7 +145,7 @@ } else { - limit = new UnlimitedLimit(); + limit = new SimpleRoundedPercentageLimit(100, false); } } @@ -176,8 +176,8 @@ limit = minLimit; } else - { - limit = new UnlimitedLimit(); + { + limit = new SimpleRoundedPercentageLimit(100, false); } }