trigger units with drop chance

Status
Not open for further replies.
  • Item Drop
    • Events
      • Unit - A unit owned by Neutral Hostile Dies
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • (Unit-type of (Triggering unit)) Equal to Murloc Tiderunner
              • (Unit-type of (Triggering unit)) Equal to Murloc Huntsman
              • (Unit-type of (Triggering unit)) Equal to Murloc Nightcrawler
        • Then - Actions
          • Set VariableSet Drop_Chance[1] = (Random integer number between 1 and 100)
          • Set VariableSet Drop_Chance[2] = (Random integer number between 1 and 100)
          • Set VariableSet Drop_Chance[3] = (Random integer number between 1 and 100)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Drop_Chance[1] Less than or equal to 22
            • Then - Actions
              • Set VariableSet Drop_Loc = (Position of (Triggering unit))
              • Item - Create Tome of Experience at Drop_Loc
              • Custom script: call RemoveLocation (udg_Drop_Loc)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Drop_Chance[2] Less than or equal to 31
            • Then - Actions
              • Set VariableSet Drop_Loc = (Position of (Triggering unit))
              • Item - Create Crown of Kings +5 at Drop_Loc
              • Custom script: call RemoveLocation (udg_Drop_Loc)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Drop_Chance[3] Less than or equal to 42
            • Then - Actions
              • Set VariableSet Drop_Loc = (Position of (Triggering unit))
              • Item - Create Mask of Death at Drop_Loc
              • Custom script: call RemoveLocation (udg_Drop_Loc)
            • Else - Actions
        • Else - Actions
Something like this.
 
Status
Not open for further replies.
Back
Top