Cronous Emulation Server Daemon

GameRandom.rate Method 

Retrieves a boolean specifying whether an event of a given rate occured.

[Visual Basic]
Public Function rate( _ 
   ByVal r As Integer _ 
) As Boolean
[C#]
public bool rate(
   int r
);
[C++]
public: bool rate(
   int r
);
[JScript]
public function rate(
   int r
): bool;

Parameters

r
Rate (percentage)

Return Value

true if the event occured, false otherwise.

See Also

GameRandom Class | croemud.game Namespace