well, some few users on this site have made a damage system, that is basically an event for unit takes damage. if you find the system, you can implement it into your game and make the action "display floating text over unit being damaged" with the amount of damage that has been dealt.