adding helper function for combat text