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.
 
Level 27
Joined
Sep 26, 2009
Messages
2,492
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.
Top