fix: restore attack-only battle
fix: memory leak