Fixed Mantis #1003 - hive was using default health amount of 100 HP instead of amount specified in Balance.txt

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@42 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
XP-Cagey 2005-04-08 12:38:47 +00:00
parent 587d3a5d92
commit fc5c159d63

View file

@ -3847,7 +3847,8 @@ int AvHGamerules::GetBaseHealthForMessageID(AvHMessageID inMessageID) const
case ALIEN_BUILD_OFFENSE_CHAMBER: health = BALANCE_VAR(kOffenseChamberHealth); break;
case ALIEN_BUILD_DEFENSE_CHAMBER: health = BALANCE_VAR(kDefenseChamberHealth); break;
case ALIEN_BUILD_SENSORY_CHAMBER: health = BALANCE_VAR(kSensoryChamberHealth); break;
case ALIEN_BUILD_MOVEMENT_CHAMBER: health = BALANCE_VAR(kHiveHealth); break;
case ALIEN_BUILD_MOVEMENT_CHAMBER: health = BALANCE_VAR(kMovementChamberHealth); break;
case ALIEN_BUILD_HIVE: health = BALANCE_VAR(kHiveHealth); break;
}
return health;
}