i am using the rate system in my project for example if this monster get killed he have 5% chance to drope the stone.
but some how the % system is not working proper. if i put 5% idk why it will drope the stone every 5 kills or maybe 7 or idk 4.
and should not drop to fast , here is the system i use
Code:
if (Name == "StoneStealer" && ServerBase.Kernel.Rate(5))
Code:
public static Random Random = new Random();
Code:
public static bool Rate(int value)
{
return value > Random.Next() % 100;
}
public static bool Rate(int value, int discriminant)
{
return value > Random.Next() % discriminant;
}
public static bool Rate(ulong value)
{
return Rate((int)value);






