Greetings people
-I am doing a Hero Arena and i am doing a Lich hero with some custom abilities. I am having problems to do his Ult, however. The ult consists in a Passive ability. When the Lich 'dies', he soon returns to life (like Reincarnation).
I simply did a custom Reincarnation spell, however, i want to do some more things: when this 'custom reincarnation' is NOT on cooldown, the hero gains Bonus Armor and Bonus Magic Resistance. So, how you can think, if it is on cooldown, the bonuses are lost (until the spell is 'charged' again).
How i can do that? There is a method to detect the cooldown of a ability?
-Another question: there is a way to detect a 'attack type'? I am doing a spell that allow the hero to reflect the damage taken back to the unit source of the damage. However, i want the hero reflects ONLY RANGED ATTACKS AND/OR TARGETED SPELLS. There is a way to do that and detect the attack types?
Thanks for now
-I am doing a Hero Arena and i am doing a Lich hero with some custom abilities. I am having problems to do his Ult, however. The ult consists in a Passive ability. When the Lich 'dies', he soon returns to life (like Reincarnation).
I simply did a custom Reincarnation spell, however, i want to do some more things: when this 'custom reincarnation' is NOT on cooldown, the hero gains Bonus Armor and Bonus Magic Resistance. So, how you can think, if it is on cooldown, the bonuses are lost (until the spell is 'charged' again).
How i can do that? There is a method to detect the cooldown of a ability?
-Another question: there is a way to detect a 'attack type'? I am doing a spell that allow the hero to reflect the damage taken back to the unit source of the damage. However, i want the hero reflects ONLY RANGED ATTACKS AND/OR TARGETED SPELLS. There is a way to do that and detect the attack types?
Thanks for now
