TALENT_CATEGORY_* Constant Group

From NWN Lexicon
(Redirected from Talent category)
Jump to navigationJump to search

Each spell or feat the default AI might choose to use usually has a TALENT_CATEGORY_ set in feat.2da or spells.2da.

Note that the file categories.2da is not used by the game, since apart from not having line 0 it isn't the same as nwscript.nss (it includes one for dispel magic, which is unused in spells.2da anyway).

Constants

Constant Value Description
TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_AREAEFFECT 6
Used with Restoration, Clarity, and other spells that remove effects (in a given area of effect).
TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_POTION 18
Used for beneficial spells that occur as the result of imbibing a potion.
TALENT_CATEGORY_BENEFICIAL_CONDITIONAL_SINGLE 7
Used for Restoration, Clarity, and other spells that remove effects (single target).
TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_AREAEFFECT 8
Specifies a talent that enhances the abilities of creatures in an area.
TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_POTION 21
Specifies the talent of using a potion of some type of ability enhancement.
TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_SELF 10
Specifies a talent that enhances the abilities of the creature queried (OBJECT_SELF).
TALENT_CATEGORY_BENEFICIAL_ENHANCEMENT_SINGLE 9
Specifies a talent that enhances the abilities of a creature.
TALENT_CATEGORY_BENEFICIAL_HEALING_AREAEFFECT 4
Specifies the talents that are area of effect and cause healing.
TALENT_CATEGORY_BENEFICIAL_HEALING_POTION 17
Specifies a talent that of using a healing potion (whether a healing potion is accessible).
TALENT_CATEGORY_BENEFICIAL_HEALING_TOUCH 5
Specifies the talents that heal by touch.
TALENT_CATEGORY_BENEFICIAL_OBTAIN_ALLIES 15
Specifies a talent that will call forth allies.
TALENT_CATEGORY_BENEFICIAL_PROTECTION_AREAEFFECT 14
Specifies a talent that will protect creatures in an area in some way.
TALENT_CATEGORY_BENEFICIAL_PROTECTION_POTION 20
Specifies the talent of using a potion of some type of protection.
TALENT_CATEGORY_BENEFICIAL_PROTECTION_SELF 12
Specifies a talent that will protect the caller in some way.
TALENT_CATEGORY_BENEFICIAL_PROTECTION_SINGLE 13
Specifies a talent that will protect a single creature in some way.
TALENT_CATEGORY_DRAGONS_BREATH 19
Specifies the talent of dragon's breath.
TALENT_CATEGORY_HARMFUL_AREAEFFECT_DISCRIMINANT 1
Specifies the talents that are area of effect and harmful but do not damage friendlies.
TALENT_CATEGORY_HARMFUL_AREAEFFECT_INDISCRIMINANT 11
Specifies a talent that causes harm to all creatures in an area.
TALENT_CATEGORY_HARMFUL_MELEE 22
Specifies the talent of melee based attack.
TALENT_CATEGORY_HARMFUL_RANGED 2
Specifies the talents that are harmful and are delivered over a range.
TALENT_CATEGORY_HARMFUL_TOUCH 3
Specifies the talents that are harmful and are delivered by touch.
TALENT_CATEGORY_PERSISTENT_AREA_OF_EFFECT 16
Specifies a talent that will have a persistent effect in an area like an aura.

See Also

functions: 

GetCreatureTalentRandom GetCreatureTalentBest