Battle system functional