how do i make a unit earn experience from custom triggers:
for example: set life of "unit" to life of "unit" -x
if the unit dies by this actino how do i make the caster of the ability earn experience for that kill and experience equal to the level of the enemy unit.
that means if the killed unit is lvl 5 it should give experience as a it gives when i kill it by a hit.
i wonder how blizzard does that with all their abilities?
can someone plesae help.
congrats to moderator status The_Raven
for example: set life of "unit" to life of "unit" -x
if the unit dies by this actino how do i make the caster of the ability earn experience for that kill and experience equal to the level of the enemy unit.
that means if the killed unit is lvl 5 it should give experience as a it gives when i kill it by a hit.
i wonder how blizzard does that with all their abilities?
can someone plesae help.
congrats to moderator status The_Raven