fix a bug of card-asking of AOE
optimize the usage of Spear by haveatry823
optimize getCardId by haveatry823