Fixed a bug which made some armor costs be incorrectly initialized.