Method | Description | |
---|---|---|
Handle ( |
Checks if attacker has Critical Hit and applies crit bonus by chance. Also sets the target action's critical option if a crit happens.
|
|
Init ( ) : void |
Subscribes handler to required events.
|
Method | Description | |
---|---|---|
OnCreatureAttack ( TargetAction tAction ) : void |
Handles training based on what happened in the combat action.
|
public static Handle ( |
||
attacker | ||
critChance | float | |
damage | float | |
tAction | TargetAction | |
bypassNoviceCheck | bool | |
return | void |