- Joined
- Dec 28, 2017
- Messages
- 2
Hey guys!
I start a new hero some days ago, and i've following the HIVE for some help/information
I've create a ability (based on sleep) with the following attributes:
Deal ur base damage + 0,01% of ur max health. In case of the ability kill ani unit, the hero gain 0,001% of his max health permanently.
Check the code above:
This is the custom Ability
The trgiggers:
I've made the array to get the average damage from the champ, cause i don't know how to get it directly from the hero.
From my tests, the ability work, the damage (with the bonus based on health) work too. When the unit that I use the spell dies on spell, the funcion that calculate the life I get work too.
But now I dont know how to put this real variable for the hero max life (permanently).
From reading another topics, i see that is impossible without the item bug.
If anyone have any idea, or some suggest!
Thanks guys, and sorry for my bad english.
I start a new hero some days ago, and i've following the HIVE for some help/information
I've create a ability (based on sleep) with the following attributes:
Deal ur base damage + 0,01% of ur max health. In case of the ability kill ani unit, the hero gain 0,001% of his max health permanently.
Check the code above:
This is the custom Ability
The trgiggers:
I've made the array to get the average damage from the champ, cause i don't know how to get it directly from the hero.
From my tests, the ability work, the damage (with the bonus based on health) work too. When the unit that I use the spell dies on spell, the funcion that calculate the life I get work too.
But now I dont know how to put this real variable for the hero max life (permanently).
From reading another topics, i see that is impossible without the item bug.
If anyone have any idea, or some suggest!
Thanks guys, and sorry for my bad english.