Warcraft III resources & community, 2003–2006 · archived

Training point every other level

4 posts
#1

Training point every other level

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?
#2
use trigger instead. (It's quite buggy, though, I set hero ability points to 6 for each level he/she gains, but I got only 4)
#3
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.
#4
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.


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