Update battle.py

Boss battle bug fixed.