ProcRoll

public final class ProcRoll

Rolls weapon skill procs. The combat diagnostic can force a skill's outcome for its own player so it can check what the proc does without waiting for the dice; every other roll is random.

Functions

Link copied to clipboard
public static void clear(UUID playerId)
Link copied to clipboard
public static void force(UUID playerId, String skillId, Boolean outcome)
Forces a skill's proc for one player; null returns it to random rolls.
Link copied to clipboard
public static boolean rolls(Player player, String skillId, double chance)