Sample battler code for melee combat