So I was wondering if anyone has ever solved the issue of trying to add range to a unit and be able to revert to the unit's old range. i.e. a melee hero pick up a bow and suddenly takes on a ranged attack with arrow projectiles. So far I have tried the following:
Doing it with upgrades, but the range bonus cannon be taken back.
Item orb abilities don't do anything.
Making the melee hero already ranged and adjusting acquisition range with triggers doesn't work.
Root(ancient protector) worked, but makes the unit stationary.
Orc cargo hold doesn't work.
Eat tree wasn't much good either because the range would stay with the hero after the hero lost his ranged weapon.
So far, finding a permanent ability which adds ranged attack from an item seems to be impossible. So, my solution was to replace the hero with a hero that has a ranged attack already. The trigger deletes the old melee unit and immediately replaces it with a ranged unit that looks identical and then gives the ranged item to the new hero. Unfortunately this takes an immense amount of triggering (one trigger has 5 nested for-loops). The triggers will work for turning a melee unit into a ranged, but I am having a hard time turning the ranged unit back into the melee unit and I believe there is a simpler answer than intense trigger programming.
I have poured over many forums and found that most answers to this problem do not work.
Has anyone found a solution to this problem that I have missed??
Doing it with upgrades, but the range bonus cannon be taken back.
Item orb abilities don't do anything.
Making the melee hero already ranged and adjusting acquisition range with triggers doesn't work.
Root(ancient protector) worked, but makes the unit stationary.
Orc cargo hold doesn't work.
Eat tree wasn't much good either because the range would stay with the hero after the hero lost his ranged weapon.
So far, finding a permanent ability which adds ranged attack from an item seems to be impossible. So, my solution was to replace the hero with a hero that has a ranged attack already. The trigger deletes the old melee unit and immediately replaces it with a ranged unit that looks identical and then gives the ranged item to the new hero. Unfortunately this takes an immense amount of triggering (one trigger has 5 nested for-loops). The triggers will work for turning a melee unit into a ranged, but I am having a hard time turning the ranged unit back into the melee unit and I believe there is a simpler answer than intense trigger programming.
I have poured over many forums and found that most answers to this problem do not work.
Has anyone found a solution to this problem that I have missed??