Category:Talents Skills Feats Functions

From NWN Lexicon
Jump to navigationJump to search

Talents/Skills/Feats Function Category

Functions used to deal with talents, skills, and feats.



Functions

Name Brief Description

ActionUseFeat

Causes an NPC to use a feat on oTarget.

ActionUseSkill

Causes a creature to attempt to use a skill on another object.

ActionUseTalentAtLocation

Use tChosenTalent at lTargetLocation.

ActionUseTalentOnObject

Use tChosenTalent on oTarget.

AutoDC

Determines whether a skill check succeeds.

CheckDCStr

Do a DC check and modify the skill by the target's Strength modifier.

DebugPrintTalentID

Sends a message to the server log file of the talent ID specified.

DecrementRemainingFeatUses

Decrements the remaining number of uses of a particular feat for a creature.

DecrementRemainingSpellUses

Decrease the number of spell uses of a particular spell for a given creature.

DoWhirlwindAttack

Perform a whirlwind attack.

EffectACDecrease

Creates an AC decrease effect.

EffectACIncrease

Gives an AC bonus to an object.

EffectSkillIncrease

Returns an effect which will cause a skill increase.

GetCanCastHealingSpells

Gets a TRUE or FALSE depending on if the target can cast Healing spells or not.

GetCreatureHasTalent

Determines whether a creature has a specific talent.

GetCreatureTalentBest

Determines the best talent of a creature from a group of talents.

GetCreatureTalentRandom

Retrieves a random talent from a group of talents that a creature possesses.

GetHasFeat

Test whether a creature is able to perform a feat.

GetHasFeatEffect

Determines whether a creature has the effects of a feat.

GetHasSkill

Determines whether a creature has a skill.

GetIdFromTalent

Determines the identifier of a talent.

GetIsSkillSuccessful

Determines if a skill roll is successful.

GetIsTalentValid

Check whether a talent is valid.

GetMatchCompatibility

Check if creature is able use a talent from a selected class in the requested method.

GetSkillRank

Determines a creature's rank in particular skill.

GetTypeFromTalent

Determines the primary category of the talent requested.

IncrementRemainingFeatUses

Give a creature one extra use of a given feat

IPCreateProficiencyFeatItemOnCreature

Gives a creature all available proficiency feats.

ShadowBolt

Used with Greater Shadow Conjuration spell to cast a damaging bolt towards an NPC.

TalentAdvancedBuff

Causes the NPC/Creature to buff themselves using a priority aligned list of spells if they have them.

TalentAdvancedProtectSelf

AI quickly scans nearby enemies and determines the most beneficial protective talents to use on itself against the type of enemies it faces.

TalentBardSong

If the AI has the Bard Song Feat, use it.

TalentBuffSelf

Used for Potions of Enhancement and Protection

TalentCureCondition

Cure Disease, Poison, Curse and Blindness and Deafness of nearest friendly target.

TalentDragonCombat

Determines the talent a dragon chooses during combat.

TalentFeat

Creates a talent that corresponds to an associated D&D feat.

TalentFlee

Make the calling object flee from another object.

TalentHealingSelf

Checks to see if NPC or creature is damaged. If so, tries to heal either with a spell or a potion.

TalentPersistentAbilities

Determines if current creature has capability to project an aura, and activates it if so.

TalentRangedAttackers

Determines course of action for spell-casting NPC while being attacked by ranged foes.

TalentRangedEnemies

Returns TRUE on successful use of such a talent, FALSE otherwise.

TalentSeeInvisible

Determines if the NPC has the ability to see invisible creatures through feat or spell.

TalentSkill

Creates a skill talent

TalentSneakAttack

Returns TRUE on successful use of such a talent, FALSE otherwise.

TalentSpell

Creates a spell talent

TalentSpellAttack

Returns TRUE on successful use of such a talent, FALSE otherwise.

TalentSummonAllies

Returns TRUE on successful use of such a talent, FALSE otherwise.

TalentUseTurning

Returns TRUE on successful use of such a talent, FALSE otherwise.