this should probably be in maps, but w/e
Events
Unit - A Unit Is Attacked
Conditions
Unit Type of Triggering Unit Equal to *Tower, or w/e*
Percent Life of Triggering Unit less than *percent*
Actions
Unit - Change owner of Triggering Unit to Owner of Attacking Unit, and Change Color
Unit - Set Percent Life of Triggering Unit to 100%