Class to calculate if an action is critical
Properties | |
float | Coefficient [get, set] |
The coefficient of chance to have a critic. More... | |
Public Member Functions | |
CriticalChance (float coefficient) | |
bool | isCritical () |
Is the current chance Critical ? More... | |
Static Public Member Functions | |
static bool | isCritical (float coefficient) |
Is the current chance Critical ? More... | |
|
getset |
The coefficient of chance to have a critic.
Nectunia.Utility.CriticalChance.CriticalChance | ( | float | coefficient | ) |
bool Nectunia.Utility.CriticalChance.isCritical | ( | ) |
Is the current chance Critical ?
|
static |
Is the current chance Critical ?
coefficient | The coefficient of chance to have a critic. |