- Joined
- Aug 19, 2009
- Messages
- 81
Okay i got a problem here because i want this but i dont know if its even possible:
I want to make it so that when a hero picks up a certain item (a gun, a throwing axe, everything ranged) the hero suddenly becomes ranged and gets a missile type that fits the item.
Example: Melee hero picks up a gun. He now have 800 range and has the rifleman missile type and a attack bonus. When the hero then drops the item he is again melee.
I have tried my best to try and make this work. I thought a changed orb could do it if i did it so it attacked ground ranged instead of air. It didn't work. Then i tried through triggers to enable/disable the Long Rifles upgrade and giving it to the hero but that didn't work either.
Is this impossible or can it be done in JASS or something? Please help!
I want to make it so that when a hero picks up a certain item (a gun, a throwing axe, everything ranged) the hero suddenly becomes ranged and gets a missile type that fits the item.
Example: Melee hero picks up a gun. He now have 800 range and has the rifleman missile type and a attack bonus. When the hero then drops the item he is again melee.
I have tried my best to try and make this work. I thought a changed orb could do it if i did it so it attacked ground ranged instead of air. It didn't work. Then i tried through triggers to enable/disable the Long Rifles upgrade and giving it to the hero but that didn't work either.
Is this impossible or can it be done in JASS or something? Please help!