- Joined
- Apr 29, 2011
- Messages
- 97
- Reaction score
- 10
I need help regarding the Rarity Percentage Drop of this Rarity functions.
Value of 3000 = 30% Drop?
Value of 1000 = 10% Drop?
Value of 500 = 1% Drop?
Value of 100 = 0.5% Drop?
Value of 10 = 0.1% Drop?
Is this correct? Because i wanted to change it to this Drop Rate:
30% / 20% / 15% / 10% / 5%
It would be appreciated if you can provide the values.
Value of 3000 = 30% Drop?
Value of 1000 = 10% Drop?
Value of 500 = 1% Drop?
Value of 100 = 0.5% Drop?
Value of 10 = 0.1% Drop?
Is this correct? Because i wanted to change it to this Drop Rate:
30% / 20% / 15% / 10% / 5%
It would be appreciated if you can provide the values.
#ifdef __RARITY
// if you want other drop chances for the raritys write me in skype please
DWORD dwRandom = xRandom( 0, 10000 );
if ( dwRandom <= 5390 )
{
return 0;
}
else if (dwRandom > 5390 && dwRandom <= 8390)
{
return 1; // Dusty 30%
}
else if ( dwRandom > 8390 && dwRandom <= 9390 )
{
return 2; // Angelic 10%
}
else if ( dwRandom > 9390 && dwRandom <= 9890 )
{
return 3; // Arctic 1%
}
else if ( dwRandom > 9890 && dwRandom <= 9990 )
{
return 4; // Royal 0,5%
}
else if ( dwRandom > 9990 )
{
return 5; // Mystic 0,1%
}
#endif // __RARITY