battle mechanism