• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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