• 🏆 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!

random is constant

Status
Not open for further replies.
Level 26
Joined
Dec 3, 2018
Messages
874
  • Kel bonus
    • Events
      • Unit - Altar of Elders 0097 <gen> Dies
    • Conditions
    • Actions
      • Set VariableSet Random = (Random integer number between 1 and 3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Random Equal to 1
        • Then - Actions
          • Player - Set the current research level of Necromancer Adept Training to ((Current research level of Necromancer Adept Training for Player 3 (Teal)) + 2) for Player 3 (Teal)
          • Quest - Display to (All players) the New Item Received message: Bonus: Necromancer ...
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Random Equal to 2
            • Then - Actions
              • Trigger - Turn on Cultists <gen>
              • Quest - Display to (All players) the New Item Received message: Bonus: Cultist recr...
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Random Equal to 3
                • Then - Actions
                  • Unit - Set level of Raise Dead for Necromancer 0021 <gen> to 3
                  • Unit - Remove Raise Dead from Necromancer 0021 <gen>
                  • Unit - Add Raise Undead to Necromancer 0021 <gen>
                  • Quest - Display to (All players) the New Item Received message: Bonus: Zombie Spawn...
                • Else - Actions
This trigger gives always a constant answer (3) and it should't. what do I do?
 
Status
Not open for further replies.
Top