Just ask a question about the Switch system (like the Ratha)

If we created a unit that can switch to another unit that has a different value of HP, what will happen?

This is not a bug, you should post this on Ask for Help - Age of Empires Forum