Table of Contents

Method EnhancementBonusVsRace

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

EnhancementBonusVsRace(IPRacialType, int)

[Obsolete("Use the NwRace/RacialType overload instead.")]
public static ItemProperty EnhancementBonusVsRace(IPRacialType racialType, int bonus)

Parameters

racialType IPRacialType
bonus int

Returns

ItemProperty

EnhancementBonusVsRace(NwRace, int)

Grants an enhancement bonus versus a racial type. Bonus must be between 1 and 20.

public static ItemProperty EnhancementBonusVsRace(NwRace race, int bonus)

Parameters

race NwRace

The race.

bonus int

The enhancement bonus (1–20).

Returns

ItemProperty

The created item property.