• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Carnage chance

Status
Not open for further replies.
Level 18
Joined
May 11, 2012
Messages
2,103
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
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Carnage Chance
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Carnage for (Killing unit)) Greater than 0
      • (Random integer number between 1 and 100) Less than or equal to 100
    • Actions
      • Hero - Modify Strength of (Killing unit): Add (Level of Carnage for (Killing unit))
 
Status
Not open for further replies.
Top