fixed the nec attack bug; fixed the 5th transformed unit error