ore is now in openra.game

This commit is contained in:
Chris Forbes
2009-11-04 22:51:17 +13:00
parent 7acd327896
commit 66fd532db8
10 changed files with 304 additions and 150 deletions

View File

@@ -116,7 +116,7 @@ namespace OpenRa.Game
}
}
var halfStrength = unitInfo.Strength / 2;
var halfStrength = unitInfo.Strength * Rules.General.ConditionYellow;
if (Health < halfStrength && (Health + damage) >= halfStrength)
{
/* we just went below half health! */