The most effective eulogies are solemn and respectful while also providing some light relief for the grieving. If it fits the character of the person being roasted and the family is amusing, a little roasting is OK. You should end your eulogy by thanking the deceased directly, such as "Joe, thank you for teaching me how to be a wonderful father."