Please help me if you can. I have created a Frost Nova ability that doesn't use mana; it uses "Snowball" charges on a "Snowball" inventory item instead. My trick was supposed to remove Frost Nova if there were no more Snowball charges left, and to replace Frost Nova within the next 8 seconds. But problem is, the trigger is not removing Frost Nova at all.
P.S.
I typed in that trigger from memory because I don't have WC3 at the library =/. I hope that was clear enough, but if it wasn't then I will reword it.
-
Events
-
-A Unit starts the effect of an ability.
-
Conditions
-
-Ability being cast Equal to Frost Nova.
-
Actions
-
-Set Snowman equal to Triggering Unit.
-
-Set Lvl_FrostNova Equal to Level of Frost Nova for Snowman.
-
-If, then, else multiple fuctions:
-
Conditions
-
- Item - ((Charges remaining in (Snowball carried by (Snowman) Equal to (1))
-
Actions
-
- Item - Set charges remaining in ((Snowball carried by (Snowman) to (Charges remaining of item type (Snowball) carried by (Snowman) - (1)).
-
- Remove Frost Nova from Snowman.
-
-Wait 8 seconds.
-
-Item - Set charges remaining in ((Snowball carried by (Snowman) to (Charges remaining of item type (Snowball) carried by (Snowman) + (1)).
-
-Add Frost Nova to Snowman.
-
-Set level of Frost Nova for Snowman to Lvl_FrostNova.
-
P.S.
I typed in that trigger from memory because I don't have WC3 at the library =/. I hope that was clear enough, but if it wasn't then I will reword it.