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

Training point every other level

Status
Not open for further replies.
Level 2
Joined
Mar 31, 2005
Messages
9
Anyone know which constant (if there is one) that needs to be set so hero points are awarded every other level instead of every level?
 
Level 2
Joined
Mar 31, 2005
Messages
9
Yeah, I could set something like that up... but there has to be a constant. EotA does it and it appears to be a native function instead of a trigger assigning points. Main issue is 5 skills of 3 levels each = 15 skills to assign.. If I have a 30 level hero map that's 15 levels of no advancement at the end.
 
Level 2
Joined
Mar 31, 2005
Messages
9
Anyone who is looking to do this I got what I was looking for by creating a trigger to remove the gained ability point every other level.

Code:
Hero Points
    Events
        Unit - A unit Gains a level
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Custom value of (Triggering unit)) Equal to 1
            Then - Actions
                -------- Don't let them have their point --------
                Unit - Set the custom value of (Triggering unit) to 0
                Hero - Modify unspent skill points of (Triggering unit): Subtract 1 points
            Else - Actions
                -------- Let them have their point --------
                Unit - Set the custom value of (Triggering unit) to 1
 
Status
Not open for further replies.
Top