Help needed with trigger: Gain skills when lvl

TheDarkBoy

New Member
Reaction score
3
I am making a RPG and i need a trigger. The trigger i need is supposed to give a hero an ability when he lvls, but not at each lvl. Maybe more like 4-8-12-16 and so on. He also needs a start ability.
Any suggestions? All comments appreciated. (PS: I dont know how JASS works so..)
 

Kazuga

Let the game begin...
Reaction score
110
Just use something like this, and copy paste it for each level and change the ability gained.
Code:
Untitled Trigger 005
    Events
        Unit - A unit Gains a level
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Hero level of (Leveling Hero)) Equal to 4
            Then - Actions
                Unit - Add (Ability)  to (Leveling Hero)
            Else - Actions
 

TheDarkBoy

New Member
Reaction score
3
Wow! Didnt thought i would get response so soon :). Thanks alot, its really appreciated.
EDIT: I cant find "(Hero level of (Leveling Hero)) Equal to 4?
EDIT: Oh there it is :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top