How to realize the new mechanism on data file

Hello,everyone.:grinning_face:

I’m new here.

I plan to make my own mod to enhance civs differents and features.I want to edit data file to realize the following effects.
1 How to make units have effect like Obuch which can tear the armor?

2 How to make units have buff like Jaguar Warriors can gain extra attack when killed unit?I mean something like gain HP,attack speed,armor and so on.

3 Can we make units can be checked whether it is converted?
I mean,when the unit has been converted,the original owner civ can get bakc resource as some compensation then,and can also take off the resource from now civ?

4 Can we make effect like GeorgiansFortified Churches which give units buff on other civ?

5 Can we add the effect which can heal the unit garrisoned in transport ship or ram?

6 Can we realize the buff like lower hp but higer(or lower) the attack(or attack speed) ?
Thanks.

For 2, I found about ‘TIGERCAV‘

But I can only know how to improve hp and base attack,how about attack speed and armor,thank you.