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

Item Drop Chance Trigger

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • Drop Chance
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 10) Equal to 5
        • Then - Actions
          • Set DyingLoc = (Position of (Triggering unit))
          • Item - Create Tome of Experience at DyingLoc
          • Custom script: call RemoveLocation(udg_DyingLoc)
        • Else - Actions
 
Status
Not open for further replies.
Top