Just use WARLOCK_GREEN_FIRE (as seen
in the default ui). You don't need to register PLAYER_ENTERING_WORLD as oUF will update your units on that event. You could take a look at my implementation too if you wish (found
here). If you find something useful there, use it as you wish.