Baldur's Gate Wiki

This article is for defining and explanation of the Spell type category used by the Infinity Engine.

Spell type is also subcategorized and written as "Primary type" or "Secondary type" in the game engine, as well as the IESDP naming conventions.

General[]

The game engine creates a file structure for spells and are identified in the Infinity Engine's SPL file format:

  • Spell type
  • Primary type (Spell school)
  • Secondary type

These types are applicable to the file format for a "spell" - "Spells" include mage spells, priest spells, innate abilities, special abilities and effects used for game advancement (e.g. animation effects, and custom spells).

Spell type[]

The following spell types can be used in the Infinity Engine:
Spell type:
0=Special
1=Wizard
2=Cleric
3=Psionic
4=Innate
5=Bardsong

Each Spell type is also marked and categorized with a "Primary type (spell school)" and a "Secondary type", as follows:

Primary type (spell school)[]

0 - No School
1 - Abjuration
2 - Conjuration
3 - Divination
4 - Enchantment
5 - Illusion
6 - Invocation
7 - Necromancy
8 - Transmutation
9 - Generalist
10 - Wild magic

Secondary type[]

0 - None
1 - Spell Protections
2 - Specific Protections
3 - Illusionary Protections
4 - Magic Attack
5 - Divination Attack
6 - Conjuration
7 - Combat Protections
8 - Contingency
9 - Battleground
10 - Offensive Damage
11 - Disabling
12 - Combination
13 - Non-Combat