fix mining bugs and artillery attack animation