• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Level up an ability for a dummy unit

Status
Not open for further replies.
Level 6
Joined
Apr 5, 2013
Messages
154
So, i'm trying to do a passive ability that has a chance upon attacking to reduce the armor of the target by an amount. So here's how it goes, when the unit with the passive ability attacks, there is a chance that a dummy unit will be created, which casts a modified Acid Bomb on the attacked unit. So here's the problem, how can i level up the Acid Bomb ability on the dummy unit every time the main unit's passive ability is leveled up? Thanks in advance.
 
There's an action "Unit - set level of ability for unit" which does exactly that.
Instead of setting some value yourself (e.g. "Set level of Ability for unit to level 3") you can use "Unit - Level of ability for unit".
The action could look like this then:
  • Unit - Set level of ArmorDebuffAbil for dummy to (Level of PassiveAbil for caster)
So if PassiveAbil for caster is level 2, this action will set level of ArmorDebufAbil to level 2 as well.
 
Status
Not open for further replies.
Back
Top