• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Carnage chance

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,108
why this trigger activates only on lvl 1 spell? lvl 2,3,4 and 5 doesn't work. Can't figure it out

  • Carnage Chance
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Carnage for (Killing unit)) Greater than 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Level of Carnage for (Killing unit)) Equal to 1
          • (Random integer number between 1 and 100) Less than or equal to 100
        • Then - Actions
          • Hero - Modify Strength of (Killing unit): Add 1
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Carnage for (Killing unit)) Equal to 2
              • (Random integer number between 1 and 100) Equal to 100
            • Then - Actions
              • Hero - Modify Strength of (Killing unit): Add 2
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Carnage for (Killing unit)) Equal to 3
                  • (Random integer number between 1 and 100) Equal to 100
                • Then - Actions
                  • Hero - Modify Strength of (Killing unit): Add 3
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Carnage for (Killing unit)) Equal to 4
                      • (Random integer number between 1 and 100) Equal to 100
                    • Then - Actions
                      • Hero - Modify Strength of (Killing unit): Add 4
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Level of Carnage for (Killing unit)) Equal to 5
                          • (Random integer number between 1 and 100) Equal to 100
                        • Then - Actions
                          • Hero - Modify Strength of (Killing unit): Add 5
                        • Else - Actions
 
Status
Not open for further replies.
Back
Top