Basically almost exactly this:
When the collision starts, send the damage message and set a flag to prevent further messages being sent. When the collision ends, unset the flag.
Basically almost exactly this:
When the collision starts, send the damage message and set a flag to prevent further messages being sent. When the collision ends, unset the flag.