add detect feature
don't calculate bonus ap when leftSoldiers are negative
add 2 building type
add bonus morale if building is attacked
update building resources
update version info