• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Need help calculating drop rate rarity

Status
Not open for further replies.
Level 8
Joined
Jul 17, 2004
Messages
283
say you roll a random number between 1-100

if the random number is between 1-95, would this be a 95% chance?

and then if the number rolls between 95-100, this would be a 5% chance?

I'm trying to figure out a good way to do drop rates in triggers.
 
If you mean random number between 1-100 == number between 1-95, then number between 1-95 will be 95%, same as random number between 1-100 == number between 96-100 would be 5%.

If you mean random number between 1-100 == ExactlyNumber(Example "4"), then it would be 1%.

If the random number between 1-100 == random number between 1-100, then i not too sure if this is also 1% since it is hardly to achieve the exactly same number(Both numbers are random!).
 
Confused.

What's a good way of calculating, for example, a 5% chance to drop an item from killing a monster?
 
An example trigger is always the best and simplest way to explain every things :P

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • -------- check if random number equal to or greater than 96--------
      • (Random integer number between 1 and 100) Greater than or equal to 96
    • Then - Actions
      • -------- Here is actions (5% is achieve)--------
    • Else - Actions
There'er lot of way to achieve % drop rate, just depend on yourself. This's just the one of the method.
 
Status
Not open for further replies.
Back
Top