
Prototype: GemRB.GetSpell(ResRef)

Description: Returns dictionary with the specified spell's data.

Parameters: ResRef - the resource reference of the spell.

Return value: dictionary
The fields of the dictionary are the following:
"SpellName"           - strref of unidentified name.
"SpellDesc"           - strref of unidentified description.
"SpellbookIcon"       - the spell's icon (.bam resref)
"SpellExclusion"      - the excluded schools and alignments
"SpellDivine"         - this field tells divine magics apart
"SpellSchool"         - the spell's school (primary type)
"SpellType"           - the type of text that appears on spell dispelling

See also: GetItem, SetSpellIcon, spell structure

