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

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
 
Level 2
Joined
Oct 9, 2006
Messages
17
  • 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
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
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.
Top