• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Xp System

Status
Not open for further replies.
Hmm this is easy:

I think its mui now.


  • system
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) is A Hero) Equal to True
      • ((Attacked unit) is A Hero) Equal to True
    • Actions
      • Set player = (Owner of (Attacking unit))
      • Hero - Add 1000 experience to (Attacking unit), Hide level-up graphics
      • Player - Add 1000 to player Current gold
 
Basing it on the damage it much more complex than simply giving out experience and not basing it on damage. The reason for this is that you need a system that will detect when any unit takes damage, and this is fairly complex to do on your own if you don't know what you're doing. Likely your only option in this case is to use someone else's damage detection system (they're all pretty much in either JASS or vJASS) and adapt it to your needs.
 
Status
Not open for further replies.
Back
Top