static void BeforePlayerRolls(int playerId, DiceRoll diceRoll, ref VantageKind vantageKind) { Character player = Game.GetPlayerFromId(playerId); if (player == null) { return; } player.BeforePlayerRollsDice(diceRoll, ref vantageKind); }