Anvil
|
A creature/character feat(ure) definition. More...
Public Member Functions | |
byte | GetRequiredAbilityScore (Ability ability) |
Gets the minimum ability score a character must have to select this feat. More... | |
Static Public Member Functions | |
static ? NwFeat | FromFeatId (int featId) |
Resolves a NwFeat from a feat id. More... | |
static ? NwFeat | FromFeatType (Feat featType) |
Resolves a NwFeat from a Anvil.API.Feat. More... | |
static implicit | operator NwFeat? (Feat featType) |
Properties | |
bool | AllClassesCanUse [get] |
Gets whether all classes can use this feat or not. More... | |
StrRef | Description [get] |
Gets the description of this feat, as shown in the in-game skill window. More... | |
Feat | FeatType [get] |
Gets the associated Feat type for this feat. More... | |
string? | IconResRef [get] |
Gets the ResRef for the icon representing this skill. More... | |
ushort | Id [get] |
Gets the id of this feat. More... | |
bool | IsHostileFeat [get] |
Gets whether the use of this feat is considered as a hostile act. More... | |
byte | MasterFeat [get] |
This number references masterfeats.2da. The master feat is used when a feat falls into a subcategory, such as the way "improved critical (longsword)" is a subcategory of improved critical. More... | |
byte | MaxLevel [get] |
Gets the maximum character level allowed a character to be able to select this feat. More... | |
byte | MinAttackBonus [get] |
Gets the minimum attack bonus a character must have to select this feat. More... | |
byte | MinFortSave [get] |
Gets the minimum fortitude saving throw bonus a character must have to be able to select this feat. More... | |
byte | MinLevel [get] |
Gets the minimum level a character must have to be able to take this feat. More... | |
NwClass? | MinLevelClass [get] |
Gets the corresponding class the character must have MinLevel levels in. More... | |
byte | MinSpellLevel [get] |
The minimum spell level a spellcasting character must be able to cast in order to select this feat. To determine eligibility, a check is made in classes.2da, examining the "SpellGainTable" and either the "SpellKnownTable" (for bards and sorcerers) or the "PrimaryAbil" (for other classes). More... | |
StrRef | Name [get] |
Gets the name of this feat, as shown in the in-game skill window. More... | |
IEnumerable< NwFeat > | RequiredFeatsAll [get] |
Gets all feats that need to be selected before this one may be chosen. More... | |
IReadOnlyList< NwFeat > | RequiredFeatsSome [get] |
Gets feats that need to be selected before this one may be chosen. Unlike RequiredFeatsAll, the creature only needs one of these feats to be able to take this feat. More... | |
NwSkill? | RequiredSkill1 [get] |
Gets the first required skill the character must have to be able to select this feat. More... | |
ushort | RequiredSkill1MinRanks [get] |
Gets the number of skill ranks needed for RequiredSkill1. More... | |
NwSkill? | RequiredSkill2 [get] |
Gets the second required skill the character must have to be able to select this feat. More... | |
ushort | RequiredSkill2MinRanks [get] |
Gets the number of skill ranks needed for RequiredSkill2. More... | |
bool | RequiresAction [get] |
Gets if this feat requires a character action. If this is true and the character uses this feat, it is added to the character's action queue, instead of running instantly. More... | |
bool | RequiresEpic [get] |
Gets if only epic characters can choose this feat. More... | |
NwSpell? | Spell [get] |
The Spell associated with this feat. More... | |
NwFeat? | SuccessorFeat [get] |
Gets the feat which follows this feat. For example, the Disarm feat has Improved Disarm as a successor. More... | |
TalentCategory | TalentCategory [get] |
This determines how the AI treats this feat. It is an ID value in categories.2da. More... | |
int | TalentMaxCR [get] |
To do with the functions around Talents. The "Level" of the feat when we are searching for feats we want to not use if the enemy is of a certain CR. Just as a reference spells.2da entries just double the spell level (so enemy is CR5, we cast level 1 or 2 spells, but not level 3 which doubles to 6). More... | |
bool | TargetSelf [get] |
Gets whether this feat targets the character using the feat (so when using it, it doesn't pop up a selection for who to target). Overrides spells.2da targeting options for PCs. More... | |
byte | UsesPerDay [get] |
Gets the number of uses per day that this feat can be used. More... | |
A creature/character feat(ure) definition.
|
inlinestatic |
|
inlinestatic |
|
inline |
Gets the minimum ability score a character must have to select this feat.
ability | The ability to query. |
|
get |
Gets whether all classes can use this feat or not.
|
get |
Gets the description of this feat, as shown in the in-game skill window.
|
get |
Gets the associated Feat type for this feat.
|
get |
Gets the ResRef for the icon representing this skill.
|
get |
Gets the id of this feat.
|
get |
Gets whether the use of this feat is considered as a hostile act.
|
get |
This number references masterfeats.2da. The master feat is used when a feat falls into a subcategory, such as the way "improved critical (longsword)" is a subcategory of improved critical.
|
get |
Gets the maximum character level allowed a character to be able to select this feat.
|
get |
Gets the minimum attack bonus a character must have to select this feat.
|
get |
Gets the minimum fortitude saving throw bonus a character must have to be able to select this feat.
|
get |
Gets the minimum level a character must have to be able to take this feat.
|
get |
Gets the corresponding class the character must have MinLevel levels in.
|
get |
The minimum spell level a spellcasting character must be able to cast in order to select this feat.
To determine eligibility, a check is made in classes.2da, examining the "SpellGainTable" and either the "SpellKnownTable" (for bards and sorcerers) or the "PrimaryAbil" (for other classes).
|
get |
Gets the name of this feat, as shown in the in-game skill window.
|
get |
Gets all feats that need to be selected before this one may be chosen.
|
get |
Gets feats that need to be selected before this one may be chosen.
Unlike RequiredFeatsAll, the creature only needs one of these feats to be able to take this feat.
|
get |
Gets the first required skill the character must have to be able to select this feat.
|
get |
Gets the number of skill ranks needed for RequiredSkill1.
|
get |
Gets the second required skill the character must have to be able to select this feat.
|
get |
Gets the number of skill ranks needed for RequiredSkill2.
|
get |
Gets if this feat requires a character action.
If this is true and the character uses this feat, it is added to the character's action queue, instead of running instantly.
|
get |
Gets if only epic characters can choose this feat.
|
get |
The Spell associated with this feat.
|
get |
Gets the feat which follows this feat. For example, the Disarm feat has Improved Disarm as a successor.
|
get |
This determines how the AI treats this feat. It is an ID value in categories.2da.
|
get |
To do with the functions around Talents. The "Level" of the feat when we are searching for feats we want to not use if the enemy is of a certain CR.
Just as a reference spells.2da entries just double the spell level (so enemy is CR5, we cast level 1 or 2 spells, but not level 3 which doubles to 6).
|
get |
Gets whether this feat targets the character using the feat (so when using it, it doesn't pop up a selection for who to target).
Overrides spells.2da targeting options for PCs.
|
get |
Gets the number of uses per day that this feat can be used.