SaveGame..::..PlayerCriticalRanged Method

Work out whether the player's missile attack was a critical hit

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public int PlayerCriticalRanged(
	int weight,
	int plus,
	int damage
)

Parameters

weight
Type: Int32
The weight of the player's weapon
plus
Type: Int32
The magical plusses on the weapon
damage
Type: Int32
The damage done

Return Value

The modified damage based on the level of critical