GetSpellType

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(spellType:short) GetSpellType spell:ref

Returns the spell type.

Spell Type:
 0:    Spell
 1:    Disease
 2:    Power
 3:    Lesser Power
 4:    Ability
 5:    Poison

Note[edit | edit source]

  • The Poison type refers to spells set to Poison in the CS, not to poisoned weapons or arrows.

See Also[edit | edit source]