• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Change Attack Type

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
594
Hi, I'm making a Hero, which is melee, however when he learns a certain skill he becomes ranged.

I was just wondering if anyone knows how to do this?

I tried making the Orb of Fire into a unit ability, however it only became ranged on air units, I need it to be ranged against both ground and air :)

Thanks for any help
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
You could use Metamorphosis to transform the unit into another.

Copy the melee unit, make the copy unit ranged.
Set the ranged unit as the Alternate form unit in Metamorphosis.
When the unit learns the ability, force the unit to use the ability.
Then prevent further transformations with a trigger.
 
Level 11
Joined
Aug 11, 2009
Messages
594
Yeah, that's a way to do it :) but it would require the same effect after each ress and so on, maybe not so hard to do.

If there's no easier way I'll try this out. Thanks :)
 
Status
Not open for further replies.
Top