equipment (each piece has a cost associated with it) + troop quality (each notch has a cost associated with it and there are actually 3 different sets of troop skill category for different things) + any special modifiers.