Cronous Emulation Server Daemon

GameRandom.critical_hit Method 

Retrieves a boolean value specifying whether a critical hit encounters.

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

Parameters

r
The rate of critical encounter.

Return Value

true if a critical hit encounters, false otherwise.

See Also

GameRandom Class | croemud.game Namespace