we pelt the major ant with arrows and spears, wearing down its armor before firing the main giant spear attack at it
also the giant spear fires really insanely fast and with extreme force so this combined with the fact its armor was already wearing down from the tons of attacks to it makes the giant spear either 1. kill it or 2. do massive damage