Have no idea how to create autocast ability which will cast on the owner before he take damage (or under attack). Killed about 2 days, but have no much skill in data for this =( Any ideas?
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Have no idea how to create autocast ability which will cast on the owner before he take damage (or under attack). Killed about 2 days, but have no much skill in data for this =( Any ideas?
Can you go into more detail about what you exactly want to do?
1. Hero has autocast ability which can be used only on itself;
2. This ability must cast protective buff on my Hero before he take damage (melee/range/spell/splash).
Which range? No. In any case, before my Hero will damaged, ability must autocast defensive shield.
"before he takes damage" - means before missile explode, before Zealot blades cause damage, before... if u played WCIII u can watch Faerie Dragon ability Phase Shift = that I want.
Rollback Post to RevisionRollBack
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Okay so in that case you'll want to look at the Valerian Death Prevention behavior from the liberty mod. Have your behavior do the same thing except on all damage instead of just fatal and have a duration of like 3 seconds or whatever. Then, have your ability be an effect - instant type which applies this behavior to the caster. You'll probably have to mess with the autocast validators or something to get this ability to only fire exactly when the hero is about to take damage.
Have no idea how to create autocast ability which will cast on the owner before he take damage (or under attack). Killed about 2 days, but have no much skill in data for this =( Any ideas?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Can you go into more detail about what you exactly want to do?
1. Hero has autocast ability which can be used only on itself;
2. This ability must cast protective buff on my Hero before he take damage (melee/range/spell/splash).
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
What do you mean "before he takes damage"? If the unit is attacked, it's too late to order it to do anything before it takes damage.
Do you want to auto-cast this whenever in the proximity of enemies? Any visible enemy within a range of X?
Which range? No. In any case, before my Hero will damaged, ability must autocast defensive shield. "before he takes damage" - means before missile explode, before Zealot blades cause damage, before... if u played WCIII u can watch Faerie Dragon ability Phase Shift = that I want.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
@xxxNEARBYxxx: Go
Okay so in that case you'll want to look at the Valerian Death Prevention behavior from the liberty mod. Have your behavior do the same thing except on all damage instead of just fatal and have a duration of like 3 seconds or whatever. Then, have your ability be an effect - instant type which applies this behavior to the caster. You'll probably have to mess with the autocast validators or something to get this ability to only fire exactly when the hero is about to take damage.
Phaha... but this a big problem to find validator which cause ability fire exactly when the hero is about to take damage )))
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Then I wouldn't use an ability for that, I would use a behavior with a damage response.
You can simulate cooldown and everything by validating against the presence of a second behavior (short duration) applied with the damage response.
Fake = not good way. I wana see visual cd on my ability, not by behavior.
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Yes, and you can modify an ability's cooldown with a Modify Unit effect, to see the cooldown on the ability and so on.
This is good to know :)