Hey guys, do anyone know how to get a unit's damage data in a trigger/ getting the data and storing in variables/ or modifying the units damage data?
In the map I'm making, I want the abilities to deal a percentage of the castor total damage to the unit getting hit.
And instead of giving units extra damage (+) or using critical strike which is a passive ability (you don't say), I want to create an active ability that multiply the damage for a short period of time.
(Adding critical strike to the dude who is casting and removing it might help :/ but... will it work?)
Example:
<Ability>
Deals 120% of castor's damage.
<Ability>
When cast, damage will be doubled for 99999 second.
I thought it might help the abilities still be used. Like in Dota, if you get too IMBA even normal attacks is stronger than your ability, you won't need to use the ability which is a bit boring. (If I am not mistaken. >__<)
Hope you guys can help. JASS or GUI, I'll be glad. (though I still suck at JASS >_< I may just copy and paste) or a tutorial might help. >_<
(Sorry for bad English if I am using it wrongly.)
In the map I'm making, I want the abilities to deal a percentage of the castor total damage to the unit getting hit.
And instead of giving units extra damage (+) or using critical strike which is a passive ability (you don't say), I want to create an active ability that multiply the damage for a short period of time.
(Adding critical strike to the dude who is casting and removing it might help :/ but... will it work?)
Example:
<Ability>
Deals 120% of castor's damage.
<Ability>
When cast, damage will be doubled for 99999 second.
I thought it might help the abilities still be used. Like in Dota, if you get too IMBA even normal attacks is stronger than your ability, you won't need to use the ability which is a bit boring. (If I am not mistaken. >__<)
Hope you guys can help. JASS or GUI, I'll be glad. (though I still suck at JASS >_< I may just copy and paste) or a tutorial might help. >_<
(Sorry for bad English if I am using it wrongly.)