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

exp based on level

Status
Not open for further replies.
Level 3
Joined
Aug 20, 2008
Messages
40
can somebody help me make xp system based on difference hero lvl and mob lvl...
if hero lvl higher then mob lvl on 3 or lower that 2 there is no exp gain from killing them - something like that
 
  • exp
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Hero level of (Killing unit)) Greater than or equal to ((Level of (Dying unit)) + 3)
        • Then - Actions
          • Do nothing
        • Else - Actions
 
Bloopers, sry but your trigger does absolutely nothing.

@ topic: you will have to disable experience gaining for all units, and then add experience with triggers
  • exp
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Hero level of (Killing unit)) Greater than or equal to ((Level of (Dying unit)) + 3)
          • Then - Actions
          • Else - Actions
            • add experience to killing unit
use conditions to determine how much experience is gained by checking the level of the dying unit, or the difference of levels of the 2 units
 
Status
Not open for further replies.
Back
Top