Anvil
|
A spell definition. More...
Public Member Functions | |
string? | GetConjureSound (Gender gender) |
Gets the chant/voice that is played when this spell is conjured. More... | |
byte | GetSpellLevelForClass (NwClass nwClass) |
Gets the spell class level for the specified class. More... | |
Static Public Member Functions | |
static ? NwSpell | FromSpellId (int? spellId) |
Resolves a NwSpell from a spell id. More... | |
static ? NwSpell | FromSpellId (uint? spellId) |
Resolves a NwSpell from a spell id. More... | |
static ? NwSpell | FromSpellType (Spell spellType) |
Resolves a NwSpell from a Anvil.API.Spell. More... | |
static implicit | operator NwSpell? (Spell spellType) |
Properties | |
MetaMagic | AllowedMetaMagic [get] |
Gets the type of MetaMagic that may be used with this spell. More... | |
StrRef | AltMessage [get] |
Gets the unformatted message shown in the combat log when something casts this spell. More... | |
SpellCastAnimType | CastAnim [get] |
Gets the animation type used to cast this spell. More... | |
string? | CastGroundVisual [get] |
Gets the ResRef of the visual effect model shown at the ground of the creature when casting this spell. More... | |
string? | CastHandVisual [get] |
Gets the ResRef of the visual effect model shown at the creature's hands when casting this spell. More... | |
string? | CastHeadVisual [get] |
Gets the ResRef of the visual effect model shown above the creature's head when casting this spell. More... | |
string? | CastSound [get] |
Gets the ResRef of the sound that plays when a creature casts this spell. More... | |
TimeSpan | CastTime [get] |
Gets the amount of time to cast the spell, once it has been successfully conjured. More... | |
SpellConjureAnimType | ConjureAnim [get] |
Gets the animation type used to conjure the spell. More... | |
string? | ConjureGroundVisual [get] |
Gets the ResRef of the visual effect model shown at the ground of the creature when conjuring this spell. More... | |
string? | ConjureHandVisual [get] |
Gets the ResRef of the visual effect model shown at the creature's hands when conjuring this spell. More... | |
string? | ConjureHeadVisual [get] |
Gets the ResRef of the visual effect model shown above the creature's head when conjuring this spell. More... | |
string? | ConjureSound [get] |
Gets the ResRef of the sound that plays when a creature conjures this spell. More... | |
TimeSpan | ConjureTime [get] |
Gets the amount of time needed to conjure the spell. This is the animation that plays before the spell is cast. More... | |
IReadOnlyList< NwSpell >?? | CounterSpells [get] |
Gets a list of spells that may directly counter this spell. More... | |
StrRef | Description [get] |
Gets the description of this spell. More... | |
NwFeat? | FeatReference [get] |
Gets the associated feat if this spell is linked to a feat. More... | |
bool | HasProjectile [get] |
Gets if this spell fires a projectile once successfully cast. More... | |
string? | IconResRef [get] |
Gets the spell's icon ResRef. More... | |
int | Id [get] |
Gets the ID of this spell. More... | |
string? | ImpactScript [get] |
Gets the name of the script invoked when the spell impacts a target. This script is only invoked when the spell was successfully cast. More... | |
byte | InnateSpellLevel [get] |
Gets the innate level of this spell. See GetSpellLevelForClass to get the spell level for a specific class. More... | |
bool | IsHostileSpell [get] |
Gets if this spell is considered hostile when cast on other creatures. More... | |
NwSpell? | MasterSpell [get] |
Gets the parent spell if this spell is a subradial spell. The reverse of RadialSpells. More... | |
StrRef | Name [get] |
Gets the name of this spell. More... | |
string? | ProjectileModel [get] |
Gets the ResRef of the projectile model. More... | |
SpellProjectileOrientation | ProjectileOrientation [get] |
Gets the orientation of this spell's projectile. More... | |
ProjectilePathType | ProjectilePathType [get] |
Gets the type of path that this spell's projectile follows by default. More... | |
string? | ProjectileSound [get] |
Gets the sound of this spell's projectile. More... | |
SpellProjectileSpawnPoint | ProjectileSpawnPoint [get] |
Gets the spawn point of this spell's projectile. More... | |
IReadOnlyList< NwSpell > | RadialSpells [get] |
Gets the sub-list of spells that appear in the spell's radial menu. More... | |
SpellRange | Range [get] |
Gets the range of this spell. More... | |
SpellComponents | SpellComponents [get] |
Gets the spell components needed to cast this spell. More... | |
SpellSchool | SpellSchool [get] |
Gets the spell school for this spell. More... | |
Spell | SpellType [get] |
Gets the associated Spell type for this spell. More... | |
bool | SpontaneouslyCast [get] |
Gets if this spell can be spontaneously cast (e.g. cleric heal spells). More... | |
TalentCategory | TalentCategory [get] |
Gets the talent category that this spell is assigned to. More... | |
SpellTargetTypes | TargetTypes [get] |
Gets the types of targets that this spell is valid for. More... | |
bool | UseConcentration [get] |
Gets if this spell should trigger concentration checks. More... | |
SpellUserType | UserType [get] |
Gets the UserType for this spell. More... | |
A spell definition.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
Gets the chant/voice that is played when this spell is conjured.
gender | The gender of the caster. |
|
inline |
Gets the spell class level for the specified class.
nwClass | The class to query. |
|
get |
Gets the type of MetaMagic that may be used with this spell.
|
get |
Gets the unformatted message shown in the combat log when something casts this spell.
|
get |
Gets the animation type used to cast this spell.
|
get |
Gets the ResRef of the visual effect model shown at the ground of the creature when casting this spell.
|
get |
Gets the ResRef of the visual effect model shown at the creature's hands when casting this spell.
|
get |
Gets the ResRef of the visual effect model shown above the creature's head when casting this spell.
|
get |
Gets the ResRef of the sound that plays when a creature casts this spell.
|
get |
Gets the amount of time to cast the spell, once it has been successfully conjured.
|
get |
Gets the animation type used to conjure the spell.
|
get |
Gets the ResRef of the visual effect model shown at the ground of the creature when conjuring this spell.
|
get |
Gets the ResRef of the visual effect model shown at the creature's hands when conjuring this spell.
|
get |
Gets the ResRef of the visual effect model shown above the creature's head when conjuring this spell.
|
get |
Gets the ResRef of the sound that plays when a creature conjures this spell.
|
get |
Gets the amount of time needed to conjure the spell. This is the animation that plays before the spell is cast.
|
get |
Gets a list of spells that may directly counter this spell.
|
get |
Gets the description of this spell.
|
get |
Gets the associated feat if this spell is linked to a feat.
|
get |
Gets if this spell fires a projectile once successfully cast.
|
get |
Gets the spell's icon ResRef.
|
get |
Gets the ID of this spell.
|
get |
Gets the name of the script invoked when the spell impacts a target.
This script is only invoked when the spell was successfully cast.
|
get |
Gets the innate level of this spell.
See GetSpellLevelForClass to get the spell level for a specific class.
|
get |
Gets if this spell is considered hostile when cast on other creatures.
|
get |
Gets the parent spell if this spell is a subradial spell. The reverse of RadialSpells.
|
get |
Gets the name of this spell.
|
get |
Gets the ResRef of the projectile model.
|
get |
Gets the orientation of this spell's projectile.
|
get |
Gets the type of path that this spell's projectile follows by default.
|
get |
Gets the sound of this spell's projectile.
|
get |
Gets the spawn point of this spell's projectile.
|
get |
Gets the sub-list of spells that appear in the spell's radial menu.
|
get |
Gets the range of this spell.
|
get |
Gets the spell components needed to cast this spell.
|
get |
Gets the spell school for this spell.
|
get |
Gets the associated Spell type for this spell.
|
get |
Gets if this spell can be spontaneously cast (e.g. cleric heal spells).
|
get |
Gets the talent category that this spell is assigned to.
|
get |
Gets the types of targets that this spell is valid for.
|
get |
Gets if this spell should trigger concentration checks.
|
get |
Gets the UserType for this spell.