HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Hero Ability Help

03-04-2004, 03:35 AM#1
AcidSilencer
I am trying to make a custom ability for my archer hero. I want it to work in one of 2 ways. One an autocast ability that when active allows the heros shots to bounce, one extra bounce per level, or to work similar to immolation where it drains mana while active giving the bounce ability untill it turns off.

From what i can tell the bounce ability is based more on the upgrade then the ability. I havent been able to figure it out :( i got the ability to work as a passive ability by using the set upgrade level trigger , but i cant convert this to work for the non passive ability because the same trigger cannot be used to unlearn upgrades so the effect never turns off.

Can anyone think of a work around for the upgrade problem or a different solution i may have missed?
03-04-2004, 03:41 AM#2
Pyrus
try changing the metamorphosus spell so that thae transformed unit -mana regen.
03-04-2004, 03:44 PM#3
Kamux
Make a trigger that detects if the spell is turned off and make it set the tech level to 0.

Event
Unit is issued an order with no target
Condition
Issued order equals to <order you can find in the ability under order deactivate>
Actions
Set tech level
03-04-2004, 04:53 PM#4
Anitarf
I was having the exact same idea for a huntress hero for my map, and exactly the same problems. Aparently there might be a solution, but Grater said there are still some bugs in it...

http://www.wc3campaigns.com/showthread.php?t=49897
03-04-2004, 06:34 PM#5
AcidSilencer
i have the ability working except for one small detail. You cannot use the set research level trigger to unlearn research. Is there a workaround for this?