Integrated function:combatLoop into class:Party as a method