TalentSpell(int)

Creates a spell talent

talent TalentSpell(
    int nSpell
);

Parameters

nSpell

SPELL_*


Description

Create a Spell Talent.

This should not be used - it doesn't currently work.



Remarks

It should do the same as ActionCastSpell, but currently is broken and using it doesn't work in anyway whatsoever. Definatly use ActionCastSpell until it is fixed or removed.


Known Bugs

Currently, anytime this is used, it is invalid and if passed into ActionUseTalent, it will result in the NPC not doing anything and standing there.


Version

1.30

Example

// Code sample invalid as TalentSpell/Feat/Skill doesn't work.

See Also

functions: TalentFeat | TalentSkill
categories: Talents/Skills/Feats Functions
constants: SPELL_* Constants


 author: Lilac Soul, editor: Jasperre