I want to practice a combo skill on a hero. Is there any cheat that makes the target immortal? I just want to be able to cast my skills on him, then refresh; over and over until I can do it properly.
What I see most people do is spawn in an enemy Centaur Warrunner and give him 6 Hearts of Tarrasque, which should let you practice your combo a few times at least, and give him tons of regen.
In theory, that should be possible with this:
-createhero centaur -givebots item_heart -givebots item_heart -givebots item_heart -givebots item_heart -givebots item_heart -givebots item_heart
Optionally you can throw in
-lvlbots 25 to level your centaur up to 25 for that awesome strength gain.
You may or may not have to add
centaur, depending on which side you are. It seems to be tied directly to radiant/dire rather than which side is actually your enemy.
You can spawn an Abbadon and use the wtf mode. This means his ultimate does not have a cooldown, which makes him nearly invincible. Except if you deal over 400 damage in one instance you are able to nuke him down to zero without activating his ult.
But this have a downside: his ultimate removes any negative buff. If you need a specific negative buff (ethereral blade, orchid, hex) for your combo, you have to stay with the tanky centaur.