In a compromised position , the pair are attacked by two soldiers , whom Sokka defeats at the cost of his sword and boomerang . In a compromised position , the pair are attacked by two soldiers , but Sokka defeats them at the cost of his black `` space sword '' and boomerang using his remaining good arm and leg .