cooldown or dummy casting not working (FIXED)
well i was told to post this and here i go.
im trying to make a skill that shoots 1 arrow and at a targeted unit, and a AOE happens at that unit. i looked at a few skills that i could just edit but i couldnt find one with the effect i wanted so i made my own with a dummy unit. now im having 1 of 2 problems: A) the skill works properly but the cooldown on the hero = 0 and mp cost = 0. or B) cooldown/mp work, aoe effect from dummy unit doesnt work.
ive disabled my spawning units thinking that might be the issue but no luck again.
my trigger is this:
Burst shot (unit) is the hero skill i gave the hero casting it
Burst Shot (dummy) the unit skill i gave the dummy based off of fan of knifes
both have 10 levels and both have a 10 second cooldown. the hero's skill has no damage, but yes on mp cost. the dummy unit one has no mp cost but has damage.
i know it leaks and im only useing GUI as of now and i know that JASS is better, bla bla bla.
thx for the help.
THIS HAS BEEN FIXED, EQUAL HELPED ME, THANK YOU TO HIM!
problem was the unit beings casting an ability should have ben begins casting an effect and he also guided me into setting a unit variable for the dummy unit. all works you may close/delete or whatever to this thread.
well i was told to post this and here i go.
im trying to make a skill that shoots 1 arrow and at a targeted unit, and a AOE happens at that unit. i looked at a few skills that i could just edit but i couldnt find one with the effect i wanted so i made my own with a dummy unit. now im having 1 of 2 problems: A) the skill works properly but the cooldown on the hero = 0 and mp cost = 0. or B) cooldown/mp work, aoe effect from dummy unit doesnt work.
ive disabled my spawning units thinking that might be the issue but no luck again.
my trigger is this:
Burst shot (unit) is the hero skill i gave the hero casting it
Burst Shot (dummy) the unit skill i gave the dummy based off of fan of knifes
both have 10 levels and both have a 10 second cooldown. the hero's skill has no damage, but yes on mp cost. the dummy unit one has no mp cost but has damage.
-
Burst Shot
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Burst Shot (Unit)
-
-
Actions
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
-
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
-
Unit - Set level of Burst Shot (Dummy) for (Last created unit) to (Level of Burst Shot (Unit) for (Triggering unit))
-
Unit - Order (Last created unit) to Night Elf Warden - Fan Of Knives
-
-
i know it leaks and im only useing GUI as of now and i know that JASS is better, bla bla bla.
thx for the help.
THIS HAS BEEN FIXED, EQUAL HELPED ME, THANK YOU TO HIM!
problem was the unit beings casting an ability should have ben begins casting an effect and he also guided me into setting a unit variable for the dummy unit. all works you may close/delete or whatever to this thread.
Last edited: