Added support for variable combat.