• 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.

[Trigger] Hero Experience Trigger

Status
Not open for further replies.
Level 3
Joined
Jul 23, 2007
Messages
27
How can i make a hero get more exp for every unit he kills?This would be usefull for other mapmakers.

Thank You for your time :infl_thumbs_up:
 
Level 6
Joined
Oct 6, 2005
Messages
203
Could you elaborate on that, do you mean the one hero or every hero? (Plus I'm not 100% sure without checking out the editor it can be done :p) Mm... come to think of it I don't know if you could? You might need to request this in a JASS section aswell.
 
Level 6
Joined
Oct 6, 2005
Messages
203
there is an action with Hero - set exp rate to 100% normal and you can change 100% to like 200%. also there is a data in Advanced - Gameplay Constants menu at the top of editor that you can change for increased exp gain.

Yeah but he wants to be able to change the rate during the game.

You're best bet seems to be "Hero - Set exp rate to x of normal". Although I don't know how you will go about.

"??? - Player 1(Red) kills a unit.
"Action - Set xp rate to +1% of current."

(If that's possible).
 
do you know what Exp rate is? if the exp rate is 200% normal then you will get 2x as much xp from kills. also in advanced gameplay constants you should change the creep reduction table to one value of 100.

  • More EXP
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Hero - Make Player 1 (Red) Heroes gain 200.00% experience from future kills
      • Hero - Make Player 2 (Blue) Heroes gain 200.00% experience from future kills
      • Hero - Make Player 3 (Teal) Heroes gain 200.00% experience from future kills
      • Hero - Make Player 4 (Purple) Heroes gain 200.00% experience from future kills
      • Hero - Make Player 5 (Yellow) Heroes gain 200.00% experience from future kills
 
Status
Not open for further replies.
Top