This spell would be much more useful than Teleport, it's essentially an improved version of Teleport, and it's quite overpowered, so a minimum level of 5 is necessary.
If you're creating a spell for exchanging troops, it makes the most sense to base it on Teleport as the most similar spell.
For example, the base version could exchange with the nearest hero, the advanced version with any hero, and the expert version could reduce the mana cost.
Variations could include exchanging with a hero/castle/both.
In principle, a range limit wouldn't look too out of place (similar to Visions).
The level should be no higher than 3 (because Teleport is much more useful) and no lower than 2 (so that players don't start exploiting it at level 1).
Exchanging with a castle is not as good; Teleport is better in all respects, so it should only be hero-to-hero.
A range limit... I don't know... It's a very strong restriction. It's better to make the mana cost/number of troops more expensive.
The base-advanced version doesn't look very good either; again, a stronger restriction on the number of troops looks more harmonious, in my opinion.
Added after 3 hours 55 minutes
A range limit... I don't know... It's a very strong restriction. It's better to make the mana cost/number of troops more expensive.
The base-advanced version doesn't look very good either; again, a stronger restriction on the number of troops looks more harmonious, in my opinion.