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

[Solved] Drop item chance

Status
Not open for further replies.
Level 3
Joined
Jul 26, 2011
Messages
38
Hu Guys.

can you help me with this.
i want to make a trigger that if a murlocs dies
there's a chance that will drop an item. .
maybe 40% 50% or 90% chance.




ty. . .
 
Level 3
Joined
Jul 26, 2011
Messages
38
  • Tr
  • Events
    • Unit - A unit dies
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Murloc
    • (Random Integer number between 1 and 100) Less than or Equal to 40/50/90
  • Actions
    • Set Point1 = (Position of (Triggering unit))
    • Item - Create 1 Claw of Victory at Point1
    • Custom script: call RemoveLocation (udg_Point1)

Thanks man! :thumbs_up:
 
Status
Not open for further replies.
Top