Warcraft III resources & community, 2003–2006 · archived

Experience gain??

4 posts
#1

Experience gain??

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
#2
Sorry, it's not Raven but I can help as well. Don't look at unit, look at hero. Units do not earn experience.
#3
Either download the beta patch or wait for it to come out and use the new damage actions, or use a dummy unit to cast a damage spell on the target.
#4
i better wait for the official release of the patch and get the damage actions then, sounds pretty cool.

i cant dl the beta patch. but thx for the tip.