The race type of a creature. Contains additional ruleset information about the race.
More...
|
|
int | AbilityPointBuyAmount [get] |
| | Gets the amount of points granted to this race during ability score point buy in character creation.
|
| |
|
int | DefaultAge [get] |
| | Gets the default age used during character creation.
|
| |
|
string? | DefaultCharacterDescription [get] |
| | Gets the description used by default for the character's description.
|
| |
|
string? | Description [get] |
| | Gets the description of this race.
|
| |
|
int | ExtraFeatsAtFirstLevel [get] |
| | Gets the number of extra feats that this race grants characters at first level.
|
| |
|
int | ExtraSkillPointsPerLevel [get] |
| | Gets the number of extra skill points that this race grants characters per level.
|
| |
|
NwClass? | FavoredClass [get] |
| | Gets the favoured class for this race, for the purposes of multi-classing.
|
| |
|
int | FirstLevelSkillPointsMultiplier [get] |
| | Gets the initial muliplier for skill points given at first level.
|
| |
|
ushort | Id [get] |
| | Gets the id of this race.
|
| |
|
bool | IsPlayerRace [get] |
| | Gets if this race can be chosen/used by players.
|
| |
|
string? | Name [get] |
| | Gets the name of this race.
|
| |
|
int | NormalFeatEveryNthLevel [get] |
| | Gets the level period that feats are granted from this race.
|
| |
|
int | NumberNormalFeatsEveryNthLevel [get] |
| | Gets how many feats are given to the character every NormalFeatEveryNthLevel.
|
| |
|
string? | PluralName [get] |
| | Gets the plural name of this race.
|
| |
|
RacialType | RacialType [get] |
| | Gets the associated Id for this race.
|
| |
|
Ability | SkillPointModifierAbility [get] |
| | Gets the ability score used to determine bonus skill points at level up.
|
| |
The race type of a creature. Contains additional ruleset information about the race.
◆ FromRaceId() [1/2]
| static ? NwRace Anvil.API.NwRace.FromRaceId |
( |
int? | raceId | ) |
|
|
inlinestatic |
Resolves a NwRace from a race id.
- Parameters
-
| raceId | The id of the race to resolve. |
- Returns
- The associated NwRace instance. Null if the race id is invalid.
◆ FromRaceId() [2/2]
| static ? NwRace Anvil.API.NwRace.FromRaceId |
( |
ushort? | raceId | ) |
|
|
inlinestatic |
Creates a race structure from the specified race id.
- Parameters
-
| raceId | The associated race id. |
- Returns
- The associated NwRace structure, or null if the race has no matching entry.
◆ FromRacialType()
Resolves a NwRace from a Anvil.API.RacialType.
- Parameters
-
| racialType | The racial type to resolve. |
- Returns
- The associated NwRace instance. Null if the racial type is invalid.
◆ GetAbilityAdjustment()
| sbyte Anvil.API.NwRace.GetAbilityAdjustment |
( |
Ability | ability | ) |
|
|
inline |
Gets the ability score adjustment for the specified ability.
- Parameters
-
| ability | The ability to query. |
- Returns
- A signed byte of the adjustment to the creature's ability score.
◆ GetFavoredEnemyFeat()
| NwFeat? Anvil.API.NwRace.GetFavoredEnemyFeat |
( |
| ) |
|
|
inline |
Gets that race favored enemy feat.
- Returns
- The default favored enemy feat for that race, otherwise null.
◆ IsFirstLevelGrantedFeat()
| bool Anvil.API.NwRace.IsFirstLevelGrantedFeat |
( |
NwFeat | feat | ) |
|
|
inline |
Gets if the specified feat is one that is automatically granted by this race at first level.
- Parameters
-
- Returns
- True if this is a default granted feat for this race, otherwise false.
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Ruleset/NwRace.cs