Returns the talent points awarded when completing a quest. Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the
QUEST_FINISHED events, or between the
QUEST_FINISHED events); otherwise may return zero or a value from the most recently displayed quest.
(Very few quests award talent points; currently this functionality is only used within the Death Knight starting experience.)
See also Quest functions.
talents- The talent points to be awarded (