public ComputeStatBonus ( StatType type ) : int | ||
type | StatType | |
return | int |
public int ComputeStatBonus( StatType type )
{
if ( type == StatType.Str )
return BaseStrBonus;
else if ( type == StatType.Dex )
return BaseDexBonus;
else
return BaseIntBonus;
}