You can make a building able to convert and heal like a monk by giving it the same Convert Task that a Monk has, and setting it to the monk class, 18.
However, I found that when my villagers built these Monk Buildings, they weren't able to convert and heal - only the ones I'd pre-placed in a scenario could do that.
Next, I tried making a trebuchet-duplicate unit which unpacked into the Monk Building foundation, which was then completed by villagers. I found that Monk Buildings created this way couldn't convert and heal, but would attack with 0 damage (which is effectively 1 damage, since any attack deals at least 1 damage in aoe2).
My final, successful creation method was to have the foundation trained from another building, and then built up by villagers. THESE Monk Buildings were able to convert just like a monk. This suggests that units (villagers/packed trebuchets) don't have the ''right'' to confer conversion ability on a unit they create - only a building can.
EDIT: it'#s possible I should have tried changing the ''Interface Kind'' from building to monk, too. Didn't notice that one.
As for healing - the healing range is only zero, requiring the unit to be standing adjacent. The ''healing range modifier resource', number 90, seems to be hardcoded to affect only monks. I don't know how to expand its effects to other units.
However, I found that when my villagers built these Monk Buildings, they weren't able to convert and heal - only the ones I'd pre-placed in a scenario could do that.
Next, I tried making a trebuchet-duplicate unit which unpacked into the Monk Building foundation, which was then completed by villagers. I found that Monk Buildings created this way couldn't convert and heal, but would attack with 0 damage (which is effectively 1 damage, since any attack deals at least 1 damage in aoe2).
My final, successful creation method was to have the foundation trained from another building, and then built up by villagers. THESE Monk Buildings were able to convert just like a monk. This suggests that units (villagers/packed trebuchets) don't have the ''right'' to confer conversion ability on a unit they create - only a building can.
EDIT: it'#s possible I should have tried changing the ''Interface Kind'' from building to monk, too. Didn't notice that one.
As for healing - the healing range is only zero, requiring the unit to be standing adjacent. The ''healing range modifier resource', number 90, seems to be hardcoded to affect only monks. I don't know how to expand its effects to other units.
[This message has been edited by Ziggurat Mason (edited 11-06-2017 @ 12:57 PM).]