• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need a custom ability (That gives exp to the unit that cuts down a tree)

Status
Not open for further replies.
Level 9
Joined
Dec 12, 2007
Messages
489
I need a custom ability it goes like this:
When a unit cuts down a tree, he gets 50 exp. example
considering bold part, assumption taken:
1. its an active ability
2. unit can't gain experience, so it will be Hero that use this ability
3. 50 exp point is not static

testmap included, features :
- based on Eat Tree ability to be able to target tree
- supports multi level, in case want increasing exp amount
- check for unit/hero on cast, so only Hero cast that get exp
 

Attachments

  • testmap3.w3x
    14.1 KB · Views: 35
Level 9
Joined
Dec 12, 2007
Messages
489
new assumption taken:
- doesn't need to be MUI
- passive ability

testmap provided, to test passive ability, order Mountain King to attack tree using attack order, not right-click as it will trigger the Eat Tree ability.
 

Attachments

  • testmap3.w3x
    15.1 KB · Views: 31
Level 3
Joined
Sep 12, 2013
Messages
39
new assumption taken:
- doesn't need to be MUI
- passive ability

testmap provided, to test passive ability, order Mountain King to attack tree using attack order, not right-click as it will trigger the Eat Tree ability.

Thank you very much, when I test it I will get in touch with you!
And will credit you in the map credits.
Regards
 
Status
Not open for further replies.
Top