diff --git a/osr/antiban/biometrics.simba b/osr/antiban/biometrics.simba index 4c2cdc5b..4da75d8a 100644 --- a/osr/antiban/biometrics.simba +++ b/osr/antiban/biometrics.simba @@ -92,9 +92,12 @@ end; function TAntiban.GetUniqueNumber(Input, Min, Max: Extended): Extended; overload; begin - repeat - Result := Input * Self.GetInfluencer; - until (Result >= Min) and (Result <= Max); + Result := Input * Self.GetInfluencer; + + if Result < Min then + Result := Min + else if Result > Max then + Result := Max; end; diff --git a/osr/interface/xpdrop.simba b/osr/interface/xpdrop.simba index 99d3badc..e023c475 100644 --- a/osr/interface/xpdrop.simba +++ b/osr/interface/xpdrop.simba @@ -15,16 +15,7 @@ const XP_COLORS XP_COLORS is the constant holding all possible XPDrop colors. .. pascal:: - XP_COLORS: TIntegerArray = [ - $FFFFFF, //white - $FFC8C8, //lilac - $FF00FF, //cyan - $C8FFC8, //jade - $64FF64, //lime - $40FFFF, //yellow - $1F98FF, //orange - $C8C8FF //pink - ]; + XP_COLORS: TIntegerArray = [$FFFFFF, $FFC8C8, $FF00FF, $C8FFC8, $64FF64, $40FFFF, $1F98FF, $C8C8FF]; *) const XP_COLORS: TIntegerArray = [