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

[Trigger] Abilty Level Problem

Status
Not open for further replies.
Level 2
Joined
Aug 8, 2008
Messages
17
First off, yes I misspelled ability.

Second, how would you make a custom spell that effects the level of ability? Lets say there's a spell names D. There are two levels in the spell D. So how would you make a certain trigger effect D - Level 2 only?
 
Level 5
Joined
Aug 24, 2008
Messages
199
I would use a Variable I'm not sure if the ability variable (lets call it skill) also saves the level so i would integer. I would add a trigger with hero learns ability set skill = skill + 1.
Then i would add this variable to the condition in the trigger that is done for level 2.

  • Condition
    • skill equal 2
It should work this way. But I'm fairly new to the editor so it might not work.
 
Uh .. there is a condition trigger that says..

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Level of our spell of Your Unit Equal to 1
    • Then - Actions
      • Do your actions!
    • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of our spell of Your Unit Equal to 2
        • Then - Actions
          • Do your actions!
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of our spell of Your Unit Equal to 3
            • Then - Actions
              • Do your actions!
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Your spell of Your Unit Equal to 4
                • Then - Actions
                  • Do your actions!
                • Else - Actions
 
Status
Not open for further replies.
Top