IWD2 Opcodes
20 || 40 || 60 ||
80 || 100 || 120 || 140 ||
160 || 180 || 200 ||
220 || 240 || 260 ||
280
298 || 299-399 || 400 || 420 || 440 || 457
298 || 299-399 || 400 || 420 || 440 || 457
#0 (0x0)
Stat: AC vs. Damage Type Modifier
Variants:
BG1
Parameter #1: AC Modifier
Parameter #2: Type
Parameter #1: AC Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'AC Modifier' field to the category specified
by the 'Type' field.
Known values for 'Type' are:
0 All
1 Crushing
2 Missile
4 Piercing
8 Slashing
16 Base AC setting (sets the targets AC to the value specified by the 'AC Modifier' field. If the targets AC is already 'AC Modifier' or below, this effect will do nothing).
AC is capped to the range [-20, 20] Applies the modifier value specified by the 'AC Modifier' field to the category specified by the 'Type' field.
Known values for 'Type' are:
0 Generic
1 Armor
2 Deflection
3 Shield
4 Crushing
5 Piercing
6 Slashing
7 Missile
Known values for 'Type' are:
0 All
1 Crushing
2 Missile
4 Piercing
8 Slashing
16 Base AC setting (sets the targets AC to the value specified by the 'AC Modifier' field. If the targets AC is already 'AC Modifier' or below, this effect will do nothing).
AC is capped to the range [-20, 20] Applies the modifier value specified by the 'AC Modifier' field to the category specified by the 'Type' field.
Known values for 'Type' are:
0 Generic
1 Armor
2 Deflection
3 Shield
4 Crushing
5 Piercing
6 Slashing
7 Missile
Warning:
The following note is likely not true, but a leftover from the documentation of the opcode
for other engine versions. AC is capped to the range [-20, 20]
#1 (0x1)
Stat: Attacks Per Round Modifier
Variants:
BGEE
Parameter #1: Key Modifier
Parameter #2: Type
Parameter #1: Key Modifier
Parameter #2: Type
Description:
Alters a characters Attacks per Round, by changing the Key by the modifier value
specified by the 'Key Value' field, in the style specified by 'Type' field.
Key Attacks Per Round
0 0
1 1
2 2
3 3
4 4
5 5
6 0.5
7 1.5
8 2.5
9 3.5
10 4.5
Known values for 'Type' are:
0 Cumulative Modifier -> Key = Key + 'Key Modifier' value
1 Flat Value Modifier -> Key = 'Key Modifier' value
2 Percentage Modifier -> Key = (Key * 'Key Modifier' value) / 100
3 Cumulative Modifier -> Same as 0
Key Attacks Per Round
0 0
1 1
2 2
3 3
4 4
5 5
6 0.5
7 1.5
8 2.5
9 3.5
10 4.5
Known values for 'Type' are:
0 Cumulative Modifier -> Key = Key + 'Key Modifier' value
1 Flat Value Modifier -> Key = 'Key Modifier' value
2 Percentage Modifier -> Key = (Key * 'Key Modifier' value) / 100
3 Cumulative Modifier -> Same as 0
Info:
When this opcode is stacked, the values of the Key Modifier are stacked,
not the number of attacks.
Note:
IWD1 treats all keys above 5 as 5.
PST does not support Type 3, while BG(2)EE uses it differently.
#2 (0x2)
Cure: Sleep
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes opcode #39 effects and the STATE_SLEEPING flag from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Note:
Does not remove the STATE_HELPLESS flag.
Note:
At least in EEs, it can remove opcode #177 effects targeting an EFF with opcode #39. Does not always work when delayed.
#3 (0x3)
State: Berserking
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the berserk effect to the targeted creature(s), as specifed by the 'Type' field.
Target will uncontrollably attack enemies if any are in view, and will occasionally attack neutral creatures. This effect only affects party members.
Target will uncontrollably attack enemies if any are in view, and will occasionally attack neutral creatures. This effect only affects party members.
Known values for 'Type' are:
0 Default
1 Always Active
2 Blood Rage
#4 (0x4)
Cure: Berserking
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes opcode #3 effects and STATE_BERSERK from the targeted creature(s). Does not remove opcode #245, opcode #246 and opcode #247 effects.
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
Note:
At least in BG2 and EEs, this effect only affects player characters.
Note:
At least in BG2 and EEs, this effect can remove opcode #177 effects targeting an EFF with opcode #3.
#5 (0x5)
Charm: Charm Specific Creature
Variants:
IWD1
PST
BG1
Parameter #1: General Type
Parameter #2: Undefined
Parameter #1: General Type
Parameter #2: Undefined
Description:
Charms the targeted creature(s), if the target is matched by the value in the 'General Type' field. Values for 'General Type' are from General.ids.
#6 (0x6)
Stat: Charisma Modifier
Variants:
IWD1
PST
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Charisma = Charisma + 'Statistic Modifier' value
1 Flat Value Modifier -> Charisma = 'Statistic Modifier' value
2 Percentage Modifier -> Charisma = (Charisma * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Charisma raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Charisma = Charisma + 'Statistic Modifier' value
1 Flat Value Modifier -> Charisma = 'Statistic Modifier' value
2 Percentage Modifier -> Charisma = (Charisma * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Charisma raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#7 (0x7)
Colour: Set Character colours by Palette
Variants:
IWD1
Parameter #1: Gradient Number
Parameter #2: Location
Parameter #1: Gradient Number
Parameter #2: Location
Description:
Alters the colour of the area specified by the 'Location' field, to the colour gradient specified by the 'Gradient Number' field.
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
#8 (0x8)
Colour: Change by RGB
Variants:
BG1
IWD1
PST
Parameter #1: RGB colour
Parameter #2: Location
Parameter #1: RGB colour
Parameter #2: Location
Description:
Alters the colour of the area specified by the 'Location' field, to the colour specified by the 'RGB colour' field.
The 'RGB Colour' field is handled as follows:
Second byte = Red (0-255)
Third byte = Green (0-255)
Fourth byte = Blue (0-255)
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
The 'RGB Colour' field is handled as follows:
Second byte = Red (0-255)
Third byte = Green (0-255)
Fourth byte = Blue (0-255)
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
#9 (0x9)
Colour: Glow Pulse
Variants:
BG1
IWD1
PST
Parameter #1: RGB Colour
Parameter #2: Location and Speed
Parameter #1: RGB Colour
Parameter #2: Location and Speed
Description:
Pulses the area specified by the 'Location and Speed' field, at the rate specified by the 'Location and Speed' field, with the colour specified by the 'RGB Colour' field. If the colour values are all set to 0, the glow effect only occurs if the creature is in darkness; outside at night, inside a building, or standing in shadows.
The 'RGB Colour' field is handled as follows:
Second byte = Red (0-255)
Third byte = Green (0-255)
Fourth byte = Blue (0-255)
The 'Location' field is handled as follows:
First byte = Location
Third byte = Speed (0-255)
A speed of 0 does not pulsate. A speed of 1 is fastest, and a speed of 255 is slowest.
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
The 'RGB Colour' field is handled as follows:
Second byte = Red (0-255)
Third byte = Green (0-255)
Fourth byte = Blue (0-255)
The 'Location' field is handled as follows:
First byte = Location
Third byte = Speed (0-255)
A speed of 0 does not pulsate. A speed of 1 is fastest, and a speed of 255 is slowest.
Known values for 'Location' are:
00 Belt Buckle (on armour) or amulets (on robes) - entire body for some animations
01 Minor colour
02 Major colour
03 Skin colour
04 Strap colour (on armour) or minor trimming (on robes - the centre strip down a robe and the hem on some robes)
05 Armor colour (and major trimming on robe - cross trim and cape trim on robe of archmagi)
06 Hair colour
16 Quillons or Crossguard
20 Grip (usually not visible as it's in the characters hand)
21 Blade or major portion of weapon
32 Shield hub
33 Shield interior
34 Shield panelling
34 Helmet misc
37 Shield rim
48 Helm ornamentation - i.e. wings
49 Helm ornamentation - i.e. feathers/horsehair
50 Helm ornamentation - i.e. feathers/horsehair
52 Helm face
53 Helm - the main covering
255 Whole Body (at least in IWD2)
#10 (0xA)
Stat: Constitution Modifier
Variants:
IWD1
PST
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Constitution = Constitution + 'Statistic Modifier' value
1 Flat Value Modifier -> Constitution = 'Statistic Modifier' value
2 Percentage Modifier -> Constitution = (Constitution * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Constitution raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Constitution = Constitution + 'Statistic Modifier' value
1 Flat Value Modifier -> Constitution = 'Statistic Modifier' value
2 Percentage Modifier -> Constitution = (Constitution * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Constitution raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#11 (0xB)
Cure: Poison
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes opcode #25 poison effects and STATE_POISON from the targeted creature(s).
Info:
This effect ignores durations attributed to it.
Info:
At least in EEs, this effect can remove opcode #177 effects targeting an EFF with opcode #25.
#12 (0xC)
HP: Damage
Variants:
BG2
BGEE
PST
Parameter #1: Damage Amount
Parameter #2: Type
Parameter #1: Damage Amount
Parameter #2: Type
Description:
Damages the target by the value specified by the 'Damage Amount' field, with the damage type specified by the 'Type' field.
Known values for 'Type' are:
0 Crushing
1 Crushing Set to Value
2 Crushing Set to Percentage
65536 Acid
65537 Acid Set to Value
65538 Acid Set to Percentage
131072 Cold
131073 Cold Set to Value
131074 Cold Set to Percentage
262144 Electricity
262145 Electricity Set to Value
262146 Electricity Set to Percentage
524288 Fire
524289 Fire Set to Value
524290 Fire Set to Percentage
1048576 Piercing
1048577 Piercing Set to Value
1048578 Piercing Set to Percentage
2097152 Poison
2097153 Poison Set to Value
2097154 Poison Set to Percentage
4194304 Magic
4194305 Magic Set to Value
4194306 Magic Set to Percentage
8388608 Missile
8388609 Missile Set to Value
8388610 Missile Set to Percentage
16777216 Slashing
16777217 Slashing Set to Value
16777218 Slashing Set to Percentage
33554432 Magic Fire
33554433 Magic Fire Set to Value
33554434 Magic Fire Set to Percentage
67108864 Magic Cold
67108865 Magic Cold Set to Value
67108866 Magic Cold Set to Percentage
134217728 Stunning
134217729 Stunning Set to Value
134217730 Stunning Set to Percentage
268435456 Soul Eater
268435457 Soul Eater Set to Value
268435458 Soul Eater Set to Percentage
1073741824 Disease
1073741825 Disease Set to Value
1073741826 Disease Set to Percentage
Known values for 'Type' are:
0 Crushing
1 Crushing Set to Value
2 Crushing Set to Percentage
65536 Acid
65537 Acid Set to Value
65538 Acid Set to Percentage
131072 Cold
131073 Cold Set to Value
131074 Cold Set to Percentage
262144 Electricity
262145 Electricity Set to Value
262146 Electricity Set to Percentage
524288 Fire
524289 Fire Set to Value
524290 Fire Set to Percentage
1048576 Piercing
1048577 Piercing Set to Value
1048578 Piercing Set to Percentage
2097152 Poison
2097153 Poison Set to Value
2097154 Poison Set to Percentage
4194304 Magic
4194305 Magic Set to Value
4194306 Magic Set to Percentage
8388608 Missile
8388609 Missile Set to Value
8388610 Missile Set to Percentage
16777216 Slashing
16777217 Slashing Set to Value
16777218 Slashing Set to Percentage
33554432 Magic Fire
33554433 Magic Fire Set to Value
33554434 Magic Fire Set to Percentage
67108864 Magic Cold
67108865 Magic Cold Set to Value
67108866 Magic Cold Set to Percentage
134217728 Stunning
134217729 Stunning Set to Value
134217730 Stunning Set to Percentage
268435456 Soul Eater
268435457 Soul Eater Set to Value
268435458 Soul Eater Set to Percentage
1073741824 Disease
1073741825 Disease Set to Value
1073741826 Disease Set to Percentage
The Dice values can be used to inflict varying damage amounts - e.g. 2d6 would do 2-12 damage (Damage type is still specified by the 'Type' value).
If 'Damage Amount' and the Dice values are both non-zero, the total damage inflicted is: 'Damage Amount' + Dice value.
'Damage Amount' can be positive or negative (though the damage sound will play in either case).
Note:
‘Stunning’ damage does not stun the target. Stunning damage cannot kill a creature, creatures are reduced to 1 HP and are knocked unconscious.
Warning:
Using ‘Magic Fire’ as a damage type will result the game to crash if the damage kills the target.
#13 (0xD)
Death: Instant Death
Variants:
BG1
IWD1
PST
Parameter #1: Text Notification
Parameter #2: Death Type
Parameter #1: Text Notification
Parameter #2: Death Type
Description:
Instantly kills the targeted creature(s), in the style specified by the 'Death Type' value.
Known values for 'Text Notification' are:
0 Show death message
1 Don't show death message
Known values for 'Death Type' are:
0 Acid death
1 Burning death
2 Crushed death
4 Normal death
8 Chunked death
16 Stoned death
32 Freezing death
64 Exploding stoned death/Level Drain death
128 Exploding freezing death
256 Electrified death
512 Disintegration death
1024 Destruction (in IWD2)
Other
Any -> Removes death states that they do not set (e.g, a normal Death will remove STATE_FROZEN_DEATH).
Known values for 'Text Notification' are:
0 Show death message
1 Don't show death message
Known values for 'Death Type' are:
0 Acid death
- Sets state STATE_ACID_DEATH (0x00000400), STATE_DEAD (0x00000800)
- Kicked from party, drops inventory
1 Burning death
- Sets state STATE_FLAME_DEATH (0x00000200), STATE_DEAD (0x00000800)
- Character Tint Solid, character color ~[0x00404040] (Darkens avatar)
- Kicked from party, drops inventory
2 Crushed death
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Kicked from party, drops inventory
4 Normal death
- Sets state STATE_DEAD (0x00000800)
- Drops inventory
8 Chunked death
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Sets ANIMATE[0x230][EXPLODING_TORSO]
- Plays sound ("GORE.WAV")/("GORE2.WAV")
- Kicked from party, drops inventory, sets all color indexes to 70
16 Stoned death
- Sets state STATE_STONE_DEATH (0x00000080)
- Any hostile action against the creature(s) applies an Exploding Stoned Death to them
- Kicked from party, retains inventory, overlay's color index 72
32 Freezing death
- Applies Exploding Freezing Death to the target with a (random) 0-5 second delay
- Sets state STATE_FROZEN_DEATH (0x00000040)
- Any hostile action against the creature applies an Exploding Freezing Death to the target
- Kicked from party, retains inventory, overlay's color index 71
64 Exploding stoned death/Level Drain death
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Sets ANIMATE[0x100][CHUNKS]
- Kicked from party, retains inventory, sets all color indexes to 72
128 Exploding freezing death
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Sets ANIMATE[0x100][CHUNKS]
- Kicked from party, retains inventory, sets all color indexes to 71
256 Electrified death
- Sets state STATE_FLAMING_DEATH (0x00000200), STATE_DEAD (0x00000800)
- Character Tint Solid, character color ~[0x00404040] (Darkens avatar)
- Kicked from party, drops inventory
512 Disintegration death
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Sets ANIMATE[0x100][CHUNKS]
- Kicked from party, retains inventory, sets all color indexes to 72
1024 Destruction (in IWD2)
- Sets state STATE_EXPLODING_DEATH (0x00000100), STATE_DEAD (0x00000800)
- Sets ANIMATE[0x230][EXPLODING_TORSO]
- Plays sound ("GORE.WAV")/("GORE2.WAV")
- Kicked from party, retains inventory, sets all color indexes to 70
Other
- Removes all death states, but does not restore HP
- Drops inventory
Any -> Removes death states that they do not set (e.g, a normal Death will remove STATE_FROZEN_DEATH).
#14 (0xE)
Graphics: Defrost
Variants:
BGEE
PST
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
Temporarily removes the colouring indicating frozen_death from the targeted creature(s), but does not remove the frozen_death state itself.
#15 (0xF)
Stat: Dexterity Modifier
Variants:
IWD1
PST
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Dexterity = Dexterity + 'Statistic Modifier' value
1 Flat Value Modifier -> Dexterity = 'Statistic Modifier' value
2 Percentage Modifier -> Dexterity = (Dexterity * 'Statistic Modifier' value) / 100
3 Cats Grace Spell ('Statistic Modifier' must be 0)
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Dexterity raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Dexterity = Dexterity + 'Statistic Modifier' value
1 Flat Value Modifier -> Dexterity = 'Statistic Modifier' value
2 Percentage Modifier -> Dexterity = (Dexterity * 'Statistic Modifier' value) / 100
3 Cats Grace Spell ('Statistic Modifier' must be 0)
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Dexterity raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#16 (0x10)
State: Haste
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the Haste effect to the targeted creature(s). See description for other games.
IWD2 may grant +4 AC (untested).
Info:
This effect will cancel out the slow opcode.
#17 (0x11)
HP: Current HP Modifier
Variants:
BG2
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> HP = HP + 'Statistic Modifier' value
1 Flat Value Modifier -> HP = 'Statistic Modifier' value
2 Percentage Modifier -> HP = (HP * 'Statistic Modifier' value) / 100
3 Lay on Hands
4 Wholeness of Body
5 Lathlanders Renewal
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> HP = HP + 'Statistic Modifier' value
1 Flat Value Modifier -> HP = 'Statistic Modifier' value
2 Percentage Modifier -> HP = (HP * 'Statistic Modifier' value) / 100
3 Lay on Hands
4 Wholeness of Body
5 Lathlanders Renewal
'Statistic Modifier' can be positive or negative.
Note:
If ‘Statistic Modifier’ and the Dice values are both non-zero, the total HP change is: ‘Statistic Modifier’ + Dice value.
#18 (0x12)
HP: Maximum HP Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> HP = HP + 'Statistic Modifier' value (affects current and max HP)
1 Flat Value Modifier -> HP = 'Statistic Modifier' value (affects current and max HP)
2 Percentage Modifier -> HP = (HP * 'Statistic Modifier' value) / 100 (affects current and max HP)
3 As 0 (does not affect current HP)
4 As 1 (does not affect current HP)
5 As 2 (does not affect current HP)
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> HP = HP + 'Statistic Modifier' value (affects current and max HP)
1 Flat Value Modifier -> HP = 'Statistic Modifier' value (affects current and max HP)
2 Percentage Modifier -> HP = (HP * 'Statistic Modifier' value) / 100 (affects current and max HP)
3 As 0 (does not affect current HP)
4 As 1 (does not affect current HP)
5 As 2 (does not affect current HP)
'Statistic Modifier' can be positive or negative.
Note:
For non-permanent timing modes of ‘Type’ 2 or 5 use the base maximum HP value, and therefor override other ‘Type’ 2 or 5 modifiers.
Note:
If ‘Statistic Modifier’ and the Dice values are both non-zero, the total HP change is: ‘Statistic Modifier’ + Dice value.
#19 (0x13)
Stat: Intelligence Modifier
Variants:
IWD1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Intelligence = Intelligence + 'Statistic Modifier' value
1 Flat Value Modifier -> Intelligence = 'Statistic Modifier' value
2 Percentage Modifier -> Intelligence = (Intelligence * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Intelligence raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Intelligence = Intelligence + 'Statistic Modifier' value
1 Flat Value Modifier -> Intelligence = 'Statistic Modifier' value
2 Percentage Modifier -> Intelligence = (Intelligence * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Intelligence raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#20 (0x14)
Empty:
Variants:
BG1
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode is missing or completely unknown.
#21 (0x15)
Stat: Lore Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Lore = Lore + 'Statistic Modifier' value
1 Flat Value Modifier -> Lore = 'Statistic Modifier' value
2 Master Value -> Lore = 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Lore = Lore + 'Statistic Modifier' value
1 Flat Value Modifier -> Lore = 'Statistic Modifier' value
2 Master Value -> Lore = 100
'Statistic Modifier' can be positive or negative.
Warning:
This effect does not work with Timing Mode 1.
#22 (0x16)
Stat: Cumulative Luck Modifier
Variants:
PST
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field. The effect does not set STATE_LUCK.
Known values for 'Type' are:
0 Cumulative Modifier -> Luck = Luck + 'Statistic Modifier' value
1 Lucky Streak
2 Fortunes Favorite (perfect rolls)
Known values for 'Type' are:
0 Cumulative Modifier -> Luck = Luck + 'Statistic Modifier' value
1 Lucky Streak
2 Fortunes Favorite (perfect rolls)
#23 (0x17)
Stat: Morale Modifier
Variants:
BG2
Parameter #1: Statistic Modifier
Parameter #2: Type
Special: Mode
Parameter #1: Statistic Modifier
Parameter #2: Type
Special: Mode
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Morale = Morale + 'Statistic Modifier' value
1 Flat Value Modifier -> Morale = 'Statistic Modifier' value
2 Percentage Modifier -> Morale = (Morale * 'Statistic Modifier' value) / 100
At least in EEs, known values for 'Mode' are:
0 BG2 mode -> It's hardcoded to fill the following values:
In addition, it checks if the creature is berserking, and if it is, it returns without doing anything.
1 BG1 mode -> Default (functions as expected)
Known values for 'Type' are:
0 Cumulative Modifier -> Morale = Morale + 'Statistic Modifier' value
1 Flat Value Modifier -> Morale = 'Statistic Modifier' value
2 Percentage Modifier -> Morale = (Morale * 'Statistic Modifier' value) / 100
At least in EEs, known values for 'Mode' are:
0 BG2 mode -> It's hardcoded to fill the following values:
- param #1 = 10
- param #2 = 1
- m_done = 1 (internal field that immediately removes the effect from creature, no matter duration)
In addition, it checks if the creature is berserking, and if it is, it returns without doing anything.
1 BG1 mode -> Default (functions as expected)
Note:
Any Morale-based effect (i.e. Panic) may be added or removed by this effect.
#24 (0x18)
State: Horror
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the horror effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Normal
1 Harpy Wail
Known values for 'Type' are:
0 Normal
1 Harpy Wail
#25 (0x19)
State: Poison
Variants:
BG1
BGEE
IWD1
PST
BG2
Parameter #1: Damage Amount
Parameter #2: Type
Parameter #1: Damage Amount
Parameter #2: Type
Description:
Damages the target by the 'Damage Amount' value, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Inflict 'Damange Amount' per second
2 Inflict 'Damage Amount' per second
3 Inflict 1 damge per 'Damage Amount'
4 Inflict 'Damage Amount' per round
6 Snakebite
8 Envonomed Weapon
Known values for 'Type' are:
0 Inflict 'Damange Amount' per second
2 Inflict 'Damage Amount' per second
3 Inflict 1 damge per 'Damage Amount'
4 Inflict 'Damage Amount' per round
6 Snakebite
8 Envonomed Weapon
Important:
The 'Damage Amount' parameter should be set a positive value.
#26 (0x1A)
Item: Remove Curse
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes cursed items from the targeted creature(s).
#27 (0x1B)
Stat: Acid Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
#28 (0x1C)
Stat: Cold Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
#29 (0x1D)
Stat: Electricity Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
#30 (0x1E)
Stat: Fire Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
#31 (0x1F)
Stat: Magic Damage Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
2 Percentage Modifier -> Resistance = (Resistance * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
2 Percentage Modifier -> Resistance = (Resistance * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#32 (0x20)
Cure: Death (Raise Dead)
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Raises the targeted creature(s) from the dead.
Known values for 'Type' are:
0 Standard resurrection
43 Resurrection and un-petrification
This effect ignores durations attributed to it.
Known values for 'Type' are:
0 Standard resurrection
43 Resurrection and un-petrification
This effect ignores durations attributed to it.
#33 (0x21)
Stat: Save vs. Fortitude Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
'Statistic Modifier' can be positive or negative.
#34 (0x22)
Stat: Save vs. Reflex Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#35 (0x23)
Stat: Save vs. Will Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#36 (0x24)
Empty:
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode is missing or completely unknown.
#37 (0x25)
Empty:
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode is missing or completely unknown.
#38 (0x26)
State: Silence
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the silence effect to the targeted creature(s).
A silenced creature cannot cast spells, use special abilities or initiate dialog.
The engine is hard-coded to allow these spells to be cast by a silenced creature:
- SPWI219 (Vocalize)
- SPIN649 (Teleport to Pocket Plane) in BG2/BGEE
#39 (0x27)
State: Unconsciousness
Variants:
PST
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the unconsciousness effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Awaken on Damage
1 Don't Awaken on Damage
Known values for 'Type' are:
0 Awaken on Damage
1 Don't Awaken on Damage
#40 (0x28)
State: Slow
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the slow effect to the targeted creature(s).
Info:
This effect will cancel out the haste opcode.
Note:
This effect doubles the casting time of all spells. Not verified for IWD2.
Warning:
This opcode will set the STATE_SLOWED flag and nothing else when applied with timing mode 1, and cannot be removed within the game by any means, only suppressed by Haste.
#41 (0x29)
Sparkle
Variants:
BG1
IWD1
PST
BG2
Parameter #1: Sparkle Color
Parameter #2: Sparkle Type
Parameter #1: Sparkle Color
Parameter #2: Sparkle Type
Description:
The Sparkle Type parameter sets the type of Sparkle effect of the color set by the Sparkle Color parameter.
Known values for the Sparkle Type parameter are:
1 explosion
2 swirl
3 shower.
Known values for the Sparkle Type parameter are:
1 explosion
2 swirl
3 shower.
#42 (0x2A)
Spell: Wizard Spell Slots Modifier
Variants:
IWD1
Parameter #1: Slot Amount Modifier
Parameter #2: Spell Level
Parameter #1: Slot Amount Modifier
Parameter #2: Spell Level
Description:
Alters the number of wizard spell slots available to the targeted creature(s), as specified by the 'Slot Amount Modifier' field, at the level specified by the 'Spell Level' field. Wizard spells are used by Bards, Sorcerers and Wizards in IWD2.
Known values for 'Spell Level' are:
0 Double spells
1 Level 1
2 Level 2
4 Level 3
8 Level 4
16 Level 5
32 Level 6
64 Level 7
128 Level 8
256 Level 9
For a 'Spell Level' of 0, the amount of spell slots is doubled for the level specified by the 'Slot Amount Modifier' value and all levels below. The target creature(s) must have at least 1 slot at the selected level to have their slot count changed. If the resultant slot count is negative, the creature is given 12 slots.
'Statistic Modifier' can be positive or negative.
Known values for 'Spell Level' are:
0 Double spells
1 Level 1
2 Level 2
4 Level 3
8 Level 4
16 Level 5
32 Level 6
64 Level 7
128 Level 8
256 Level 9
For a 'Spell Level' of 0, the amount of spell slots is doubled for the level specified by the 'Slot Amount Modifier' value and all levels below. The target creature(s) must have at least 1 slot at the selected level to have their slot count changed. If the resultant slot count is negative, the creature is given 12 slots.
'Statistic Modifier' can be positive or negative.
#43 (0x2B)
Cure: Stone to Flesh
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Changes the targeted creature(s) from stone to flesh.
Important:
Both parameters should be 0 (zero).
#44 (0x2C)
Stat: Strength Modifier
Variants:
IWD1
PST
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Strength = Strength + 'Statistic Modifier' value
1 Flat Value Modifier -> Strength = 'Statistic Modifier' value
2 Percentage Modifier -> Strength = (Strength * 'Statistic Modifier' value) / 100
3 Strength Spell ('Statistic Modifier' must be 0)
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Strength raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Strength = Strength + 'Statistic Modifier' value
1 Flat Value Modifier -> Strength = 'Statistic Modifier' value
2 Percentage Modifier -> Strength = (Strength * 'Statistic Modifier' value) / 100
3 Strength Spell ('Statistic Modifier' must be 0)
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Strength raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#45 (0x2D)
State: Stun
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Stuns the targeted creature(s) in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Normal
1 Unstun on Damage
2 Power Word Stun
Known values for 'Type' are:
0 Normal
1 Unstun on Damage
2 Power Word Stun
#46 (0x2E)
Cure: Stun (Unstun)
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Unstuns the targeted creature(s) (opcode #45).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
#47 (0x2F)
Cure: Invisibility
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the invisibility effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
#48 (0x30)
Cure: Silence (Vocalize)
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the silence effect and the silenced state from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
#49 (0x31)
Stat: Wisdom Modifier
Variants:
IWD1
PST
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Wisdom = Wisdom + 'Statistic Modifier' value
1 Flat Value Modifier -> Wisdom = 'Statistic Modifier' value
2 Percentage Modifier -> Wisdom = (Wisdom * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Wisdom raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
Known values for 'Type' are:
0 Cumulative Modifier -> Wisdom = Wisdom + 'Statistic Modifier' value
1 Flat Value Modifier -> Wisdom = 'Statistic Modifier' value
2 Percentage Modifier -> Wisdom = (Wisdom * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
With a Timing Modes of Permanent or Delayed, if 'Type' is 0 and 'Statistic Modifier' is positive, the statistic will alter and remain shown in white text, and a message 'Wisdom raised permanently' will be shown.
With a Timing Modes of Permanent or Delayed, if 'Type' is 1 or 2, or 'Statistic Modifier' is negative, the statistic will alter and remain shown in white text, though no message is shown.
With all other Timing Modes, the statistic will alter and be shown in red text.
#50 (0x32)
Single Color Pulse All
Variants:
BG1
IWD1
PST
BG2
Parameter #1: RGB Color
Parameter #2: Irrelevant
Parameter #1: RGB Color
Parameter #2: Irrelevant
Description:
Set the RGB Color parameter to the color value you want to use with the second byte being the Red portion (0-255), the third byte the Green portion (0-255), and the fourth byte being the Blue portion (0-255).
#51 (0x33)
Color Tint solid
Variants:
BG1
IWD1
BG2
Parameter #1: RGB Color
Parameter #2: Location
Parameter #1: RGB Color
Parameter #2: Location
Description:
Set the RGB Color parameter to the color value you want to use with the second byte being the Red portion (0-255), the third byte the Green portion (0-255), and the fourth byte being the Blue portion (0-255) and the part specified by the Location parameter will be that color.
The known values of the Location part of the Location and Speed parameter:
00 Body metal
01 Body User 2
02 Body User 1
03 Body Skin
04 Body Leather
05 Body Armor
06 Body Hair
16 Weapon Metal
18 Weapon User 1
19 Weapon User 2
20 Weapon Leather
21 Weapon Armor
32 Shield Metal
33 Shield User 2
34 Shield User 1
36 Shield Leather
37 Shield Armor
48 Helmet Metal
49 Helmet User 2
50 Helmet User 1
52 Helmet Leather
53 Helmet Armor
255 Whole Body.
The known values of the Location part of the Location and Speed parameter:
00 Body metal
01 Body User 2
02 Body User 1
03 Body Skin
04 Body Leather
05 Body Armor
06 Body Hair
16 Weapon Metal
18 Weapon User 1
19 Weapon User 2
20 Weapon Leather
21 Weapon Armor
32 Shield Metal
33 Shield User 2
34 Shield User 1
36 Shield Leather
37 Shield Armor
48 Helmet Metal
49 Helmet User 2
50 Helmet User 1
52 Helmet Leather
53 Helmet Armor
255 Whole Body.
#52 (0x34)
Color Light Solid
Variants:
BG1
IWD1
PST
BG2
Parameter #1: RGB Color
Parameter #2: Location
Parameter #1: RGB Color
Parameter #2: Location
Description:
Set the RGB Color parameter to the color value you want to use with the second byte being the Red portion (0-255), the third byte the Green portion (0-255), and the fourth byte being the Blue portion (0-255) and the part specified by the Location parameter will be that color.
The known values of the Location part of the Location and Speed parameter:
00 Body metal
01 Body User 2
02 Body User 1
03 Body Skin
04 Body Leather
05 Body Armor
06 Body Hair
16 Weapon Metal
18 Weapon User 1
19 Weapon User 2
20 Weapon Leather
21 Weapon Armor
32 Shield Metal
33 Shield User 2
34 Shield User 1
36 Shield Leather
37 Shield Armor
48 Helmet Metal
49 Helmet User 2
50 Helmet User 1
52 Helmet Leather
53 Helmet Armor
255 Whole Body.
The known values of the Location part of the Location and Speed parameter:
00 Body metal
01 Body User 2
02 Body User 1
03 Body Skin
04 Body Leather
05 Body Armor
06 Body Hair
16 Weapon Metal
18 Weapon User 1
19 Weapon User 2
20 Weapon Leather
21 Weapon Armor
32 Shield Metal
33 Shield User 2
34 Shield User 1
36 Shield Leather
37 Shield Armor
48 Helmet Metal
49 Helmet User 2
50 Helmet User 1
52 Helmet Leather
53 Helmet Armor
255 Whole Body.
#53 (0x35)
Animation Change
Variants:
IWD1
PST
BG1
Parameter #1: Animation Type
Parameter #2: Irrelevant
Parameter #1: Animation Type
Parameter #2: Irrelevant
Description:
This effect will change the animation type as set by the Animation Type parameter.
#54 (0x36)
Stat: Base Attack Bonus Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> BAB = BAB + 'Statistic Modifier' value
1 Flat Value Modifier -> BAB = 'Statistic Modifier' value
2 Percentage Modifier -> BAB = (BAB * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> BAB = BAB + 'Statistic Modifier' value
1 Flat Value Modifier -> BAB = 'Statistic Modifier' value
2 Percentage Modifier -> BAB = (BAB * 'Statistic Modifier' value) / 100
#55 (0x37)
Death: Kill Creature Type
Variants:
PST
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
Kills the targeted creature(s) with HD less than those specified by the Dice values, if the target(s) match the IDS mask.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
9 Kit.ids (EE-only)
'IDS Entry' is a value from the specified IDS file, indicating the specific creature type to affect.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
9 Kit.ids (EE-only)
'IDS Entry' is a value from the specified IDS file, indicating the specific creature type to affect.
#56 (0x38)
Alignment: Invert
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Inverts the alignment of the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#57 (0x39)
Alignment: Change
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Alignment
Parameter #1: Irrelevant
Parameter #2: Alignment
Description:
Alters the alignment of the targeted creature(s) to the value specified by 'Alignment'.
Known values for 'Alignment' are:
00 None
17 Lawful Good
18 Lawful Neutral
19 Lawful Evil
33 Neutral Good
34 True Neutral
35 Neutral Evil
49 Chaotic Good
50 Chaotic Neutral
51 Chaotic Evil
Known values for 'Alignment' are:
00 None
17 Lawful Good
18 Lawful Neutral
19 Lawful Evil
33 Neutral Good
34 True Neutral
35 Neutral Evil
49 Chaotic Good
50 Chaotic Neutral
51 Chaotic Evil
#58 (0x3A)
Cure: Dispellable Effects (Dispel Magic)
Parameter #1: Level
Parameter #2: Type
Parameter #1: Level
Parameter #2: Type
Description:
Dispels magic from the targeted creature(s) (excepting magical weapons eg. Spirtual Hammer). Depending on the value of the 'Type' field, the 'Level' field can be used to set the level of the effect.
Known values for 'Type' are:
0 Always dispel
1 Use Caster Level
2 Use 'Level' field
With 'Type' of 1 or 2, the base chance of successfully dispelling is 50%. This chance is modified by the relative levels of the dispeller to the caster. Each level below gives a -10% chance, each level above gives a +5% chance. There is always a 1% chance of success or failure.
Known values for 'Type' are:
0 Always dispel
1 Use Caster Level
2 Use 'Level' field
With 'Type' of 1 or 2, the base chance of successfully dispelling is 50%. This chance is modified by the relative levels of the dispeller to the caster. Each level below gives a -10% chance, each level above gives a +5% chance. There is always a 1% chance of success or failure.
#59 (0x3B)
Stat: Stealth Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Stealth = Stealth + 'Statistic Modifier' value
1 Flat Value Modifier -> Stealth = 'Statistic Modifier' value
2 Percentage Modifier -> Stealth = (Stealth * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Stealth = Stealth + 'Statistic Modifier' value
1 Flat Value Modifier -> Stealth = 'Statistic Modifier' value
2 Percentage Modifier -> Stealth = (Stealth * 'Statistic Modifier' value) / 100
Note:
In BG2 and EEs, this effect alters the Move Silently skill.
#60 (0x3C)
Stat: Miscast Magic
Variants:
BG2
BG1
Parameter #1: Percent Chance
Parameter #2: Type
Parameter #1: Percent Chance
Parameter #2: Type
Description:
The targeted creature(s) will fail to cast the type of spell specified by the 'Type' field, 'Percent Chance' percent of the time.
Known values for 'Type' are:
0 Mage Spells
1 Cleric Spells
2 Innate
Known values for 'Type' are:
0 Mage Spells
1 Cleric Spells
2 Innate
#61 (0x3D)
Stat: Alchemy
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field, to the alchemy skill.
Known values for 'Type' are:
0 Cumulative Modifier -> Alchemy = Alchemy + 'Statistic Modifier' value
1 Flat Value Modifier -> Alchemy = 'Statistic Modifier' value
2 Master Modifier -> Alchemy = 100
Known values for 'Type' are:
0 Cumulative Modifier -> Alchemy = Alchemy + 'Statistic Modifier' value
1 Flat Value Modifier -> Alchemy = 'Statistic Modifier' value
2 Master Modifier -> Alchemy = 100
#62 (0x3E)
Spell: Priest Spell Slots Modifier
Variants:
BG1
Parameter #1: Slot Amount Modifier
Parameter #2: Spell Level
Parameter #1: Slot Amount Modifier
Parameter #2: Spell Level
Description:
Alters the number of priest spell slots available to the targeted creature(s), as specified by the 'Slot Amount Modifier' field, at the level specified by the 'Spell Level' field. Priest spells are used by Clerics, Druids, Paladins and Rangers.
Known values for 'Spell Level' are:
0 Double spells
1 Level 1
2 Level 2
4 Level 3
8 Level 4
16 Level 5
32 Level 6
64 Level 7
512 Double spells
For a 'Spell Level' of 0, the amount of spell slots is doubled for the level specified by the 'Slot Amount Modifier' value and all levels below. For a 'Spell Level' of 512, the amount of spell slots is doubled for the level(s) specified by the 'Slot Amount Modifier' field. The target creature(s) must have at least 1 slot at the selected level to have their slot count changed. If the resultant slot count is negative, the creature is given 12 slots.
'Statistic Modifier' can be positive or negative.
Known values for 'Spell Level' are:
0 Double spells
1 Level 1
2 Level 2
4 Level 3
8 Level 4
16 Level 5
32 Level 6
64 Level 7
512 Double spells
For a 'Spell Level' of 0, the amount of spell slots is doubled for the level specified by the 'Slot Amount Modifier' value and all levels below. For a 'Spell Level' of 512, the amount of spell slots is doubled for the level(s) specified by the 'Slot Amount Modifier' field. The target creature(s) must have at least 1 slot at the selected level to have their slot count changed. If the resultant slot count is negative, the creature is given 12 slots.
'Statistic Modifier' can be positive or negative.
#63 (0x3F)
State: Infravision
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the targeted creature(s) infravision.
Important:
Both parameters should be 0 (zero).
#64 (0x40)
State: Remove Infravision
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes infravision from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Note:
This will not remove racial infravision.
Important:
Both parameters should be 0 (zero).
#65 (0x41)
Overlay: Blur
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the blur effect to the targeted creature(s). Graphical displacement is affected by movement rate.
Important:
Both parameters should be 0 (zero).
#66 (0x42)
Graphics: Transparency Fade
Variants:
PST
BG1
Parameter #1: Fade Amount
Parameter #2: Type
Parameter #1: Fade Amount
Parameter #2: Type
Description:
Fades the targeted creature(s) by the value in the amount specified by the 'Fade Amount' field.
Known values for 'Fade Amount' are:
1 Fully visible
..
255 Almost invisible
Known values for 'Type' are:
0 Default
1 Fade In
2 Fade Out
This effect sets stat #60 (TRANSLUCENT) to param #1.
Known values for 'Fade Amount' are:
1 Fully visible
..
255 Almost invisible
Known values for 'Type' are:
0 Default
1 Fade In
2 Fade Out
This effect sets stat #60 (TRANSLUCENT) to param #1.
#67 (0x43)
Summon
Variants:
PST
BG1
Parameter #1: Creature Number
Parameter #2: Summoning Animation
Parameter #1: Creature Number
Parameter #2: Summoning Animation
Description:
The Creature Number parameter set the number to be summoned, and the Summoning Animation parameter sets the type of animation to use for the summoning.
Known values for the Summoning Animation parameter are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke only
Known values for the Summoning Animation parameter are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke only
Info:
The Dice values can be used to set the number of creatures summoned, in addition to the Number parameter
#68 (0x44)
Summon: Unsummon Creature
Parameter #1: Text Notification
Parameter #2: Irrelevant
Parameter #1: Text Notification
Parameter #2: Irrelevant
Description:
Unsummons a creature, with feedback controlled by 'Text Notification'.
Known values for 'Text Notification' are:
0 No text notification
1 Show text notification
Known values for 'Text Notification' are:
0 No text notification
1 Show text notification
Note:
At least in BG2 and EEs, the Resource key should be set to the filename of the
animation to play when unsummoning the creature, and defaults to SPGFLSH1 if left empty.
#69 (0x45)
Protection: From Detection (Non-Detection)
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the non-detection effect to the targeted creature(s), setting STATE_NONDETECTION while active. This effect is negated by effect #70 Cure: Non-Detection. While in the non-detection state, the creature is immune to effects #47: Cure Invisibility and #116: Remove invisibilty, though they are affected by effects that remove illusionary protections by school or secondary type.
#70 (0x46)
(End Non-Detection)
Variants:
PST
BG1
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#71 (0x47)
IDS: Sex Change
Parameter #1: Gender Modifier
Parameter #2: Type
Parameter #1: Gender Modifier
Parameter #2: Type
Description:
Alters the gender of the targetted creature(s) to the value specified by the 'Gender.ids' field, in the style specified by the 'Type' value.
Known values for 'Type' are:
0 Reverse Gender
1 Flat Value Modifier -> Gender = 'Statistic Modifier' value (values from gender.ids)
The effect modifies stat 193.
Known values for 'Type' are:
0 Reverse Gender
1 Flat Value Modifier -> Gender = 'Statistic Modifier' value (values from gender.ids)
The effect modifies stat 193.
#72 (0x48)
AI Change
Variants:
BG1
PST
BG2
Parameter #1: Reaction State
Parameter #2: Type
Parameter #1: Reaction State
Parameter #2: Type
Description:
Set the Reaction State parameter to the value of the state you wish the Effect to do.
Known values of the Type parameter are:
0 EnemyAlly
1 General
2 Race
3 Class
4 Specific
5 Gender
6 Alignment.
Known values of the Type parameter are:
0 EnemyAlly
1 General
2 Race
3 Class
4 Specific
5 Gender
6 Alignment.
#73 (0x49)
Damage Mod
Variants:
BG1
Parameter #1: Damage Modifier
Parameter #2: Type
Parameter #1: Damage Modifier
Parameter #2: Type
Description:
Inflicts a percentage extra damage (set by the 'Damage Modifier' parameter) of the type specified by the 'Type' parameter.
Known values for 'Type' are:
0 Standard
1 Fire
2 Cold
3 Electricity
4 Acid
5 Magic
6 Poison
7 Slashing
8 Piercing
9 Crushing
10 Missile
Known values for 'Type' are:
0 Standard
1 Fire
2 Cold
3 Electricity
4 Acid
5 Magic
6 Poison
7 Slashing
8 Piercing
9 Crushing
10 Missile
Note:
‘Type’ 0 causes a flat damage increase, rather than a percentage.
#74 (0x4A)
State: Blindness
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the blindness effect to the targeted creature(s). This sets VISUALRANGE to 2, sets STATE_BLIND to true and incurs a cummulative 10 point base THAC0 penalty (unverified in PST).
#75 (0x4B)
Cure: Blindness
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the blindness effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
#76 (0x4C)
State: Feeblemindedness
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the feeblemind effect to the targeted creature(s) - creatures are unselectable, immobile and do not respond to combat. The Feeblemind portrait icon is automatically applied.
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
A creature's scripts do not run while the creature is feebleminded.
#77 (0x4D)
Cure: Feeblemindedness
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the feeblemind effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
#78 (0x4E)
State: Disease
Variants:
BG1
BG2
BGEE
PST
Parameter #1: Damage
Parameter #2: Type
Parameter #1: Damage
Parameter #2: Type
Description:
Set the Damage parameter as the amount of damage, and the Disease Type parameter as how the disease functions.
Known values for 'Type' are:
0 Hit Points per second
1 Hit Points per round
2 Hit Points per Second
3 Seconds per Hit Points
4 Strength Penalty
5 Dexterity Penalty
6 Constitution Penalty
7 Intelligence Penalty
8 Wisdom Penalty
9 Charisma Penalty
10 Slow Effect
11 Mold Touch
13 Contagion
14 Cloud of Pestilence (at least in IWD2)
15 Dolorous Decay (at least in IWD2)
'Damage' can be positive (penalty) or negative (bonus).
Known values for 'Type' are:
0 Hit Points per second
1 Hit Points per round
2 Hit Points per Second
3 Seconds per Hit Points
4 Strength Penalty
5 Dexterity Penalty
6 Constitution Penalty
7 Intelligence Penalty
8 Wisdom Penalty
9 Charisma Penalty
10 Slow Effect
11 Mold Touch
13 Contagion
14 Cloud of Pestilence (at least in IWD2)
15 Dolorous Decay (at least in IWD2)
'Damage' can be positive (penalty) or negative (bonus).
Important:
Permanent timing modes require a duration for this effect to work.
Note:
Paladins are immune to this opcode in IWD1.
#79 (0x4F)
Cure: Disease
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the disease effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
#80 (0x50)
State: Deafness
Variants:
BG1
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
This effect causes the target resistant of bard songs and some sound based spells, and increases failure of arcane or divine spells by 20%.
#81 (0x51)
Cure: Deafness
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Remove the deafness effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
Warning:
PST: it is unclear if this effect exists or does anything!
#82 (0x52)
Set AI Script
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Sets the script type specified by the 'Type' value to the contents of the resource key.
Known values for 'Type' are:
0 OVERRIDE
1 AREA
2 SPECIFICS
4 CLASS
5 RACE
6 GENERAL
7 DEFAULT
Known values for 'Type' are:
0 OVERRIDE
1 AREA
2 SPECIFICS
4 CLASS
5 RACE
6 GENERAL
7 DEFAULT
Warning:
This effect can unset scripts from a creature, which can break the game.
#83 (0x53)
Protection: From Projectile Weapon
Variants:
BG1
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Gives the targeted creature(s) immunity to the weapon type specified by the 'Type' value.
Known values for 'Type' are:
0 Instant
1 Arrow
2 Arrow Exploding
3 Arrow Flaming
4 Arrow Heavy
5 Arrow (Non-Magical)
6 Axe
7 Axe Exploding
8 Axe Flaming
9 Axe Heavy
10 Axe (Non-Magical)
11 Bolt
12 Bolt Exploding
13 Bolt Flaming
14 Bolt Heavy
15 Bolt (Non-Magical)
16 Bullet
17 Bullet Exploding
18 Bullet Flaming
19 Bullet Heavy
20 Bullet (Non-Magical)
26 Dagger
27 Dagger Exploding
28 Dagger Flaming
29 Dagger Heavy
30 Dagger (Non-Magical)
31 Dart
32 Dart Exploding
33 Dart Flaming
34 Dart Heavy
35 Dart (Non-Magical)
36 Magic Missile
37 Fireball
39 Lightning Bolt
41 Sleep
55 Spear
56 Spear Exploding
57 Spear Flaming
58 Spear Heaby
59 Spear (Non-Magical)
62 Web Travel
63 Web Ground
64 Gaze
65 Holy Might
66 Flame Strike
67 Magic Missile 1
68 Magic Missile 2
69 Magic Missile 3
70 Magic Missile 4
71 Magic Missile 5
72 Magic Missile 6
73 Magic Missile 7
74 Magic Missile 8
75 Magic Missile 9
76 Magic Missile 10
94 Cloud
95 Skull Trap
96 Color Spray
97 Ice Storm
98 Fire Wall
99 Glyph
100 Grease
101 Flame Arrow Green
102 Flame Arrow Blue
103 Fireball Green
104 FireBall Blue
105 Potion
106 Potion Exploding
107 Acid Blob
108 Scorcher
109 Travel Door
186 Cloudkill
187 Flame Arrow Ice
188 Cow
189 Hold
190 Scorcher Ice
191 Acid Blob Mustard
192 Acid Blob Grey
193 Acid Blob Ochre
217 Icewind Magic Missile
313 Modenkainen's Force Missiles
345 Sekolah's Fire.
Known values for 'Type' are:
0 Instant
1 Arrow
2 Arrow Exploding
3 Arrow Flaming
4 Arrow Heavy
5 Arrow (Non-Magical)
6 Axe
7 Axe Exploding
8 Axe Flaming
9 Axe Heavy
10 Axe (Non-Magical)
11 Bolt
12 Bolt Exploding
13 Bolt Flaming
14 Bolt Heavy
15 Bolt (Non-Magical)
16 Bullet
17 Bullet Exploding
18 Bullet Flaming
19 Bullet Heavy
20 Bullet (Non-Magical)
26 Dagger
27 Dagger Exploding
28 Dagger Flaming
29 Dagger Heavy
30 Dagger (Non-Magical)
31 Dart
32 Dart Exploding
33 Dart Flaming
34 Dart Heavy
35 Dart (Non-Magical)
36 Magic Missile
37 Fireball
39 Lightning Bolt
41 Sleep
55 Spear
56 Spear Exploding
57 Spear Flaming
58 Spear Heaby
59 Spear (Non-Magical)
62 Web Travel
63 Web Ground
64 Gaze
65 Holy Might
66 Flame Strike
67 Magic Missile 1
68 Magic Missile 2
69 Magic Missile 3
70 Magic Missile 4
71 Magic Missile 5
72 Magic Missile 6
73 Magic Missile 7
74 Magic Missile 8
75 Magic Missile 9
76 Magic Missile 10
94 Cloud
95 Skull Trap
96 Color Spray
97 Ice Storm
98 Fire Wall
99 Glyph
100 Grease
101 Flame Arrow Green
102 Flame Arrow Blue
103 Fireball Green
104 FireBall Blue
105 Potion
106 Potion Exploding
107 Acid Blob
108 Scorcher
109 Travel Door
186 Cloudkill
187 Flame Arrow Ice
188 Cow
189 Hold
190 Scorcher Ice
191 Acid Blob Mustard
192 Acid Blob Grey
193 Acid Blob Ochre
217 Icewind Magic Missile
313 Modenkainen's Force Missiles
345 Sekolah's Fire.
#84 (0x54)
Stat: Magical Fire Resistance Modifier
Variants:
IWD1
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
*DO NOT USE*
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#85 (0x55)
Stat: Magical Cold Resistance Modifier
Variants:
IWD1
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
*DO NOT USE*
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#86 (0x56)
Stat: Slashing Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#87 (0x57)
Stat: Crushing Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#88 (0x58)
Stat: Piercing Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#89 (0x59)
Stat: Missiles Resistance Modifier
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> Damage = Damage + 'Statistic Modifier' value
1 Flat Value Modifier -> Damage = 'Statistic Modifier' value
#90 (0x5A)
Stat: Open Locks Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#91 (0x5B)
Stat: Find Traps Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#92 (0x5C)
Stat: Pick Pockets Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#93 (0x5D)
Stat: Fatigue Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#94 (0x5E)
Stat: Drunkenness Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#95 (0x5F)
Stat: Tracking Skill Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
#96 (0x60)
Stat: Level Change
Variants:
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Level = Level + 'Statistic Modifier' value
1 Flat Value Modifier -> Level = 'Statistic Modifier' value
2 Percentage Modifier -> Level = (Level * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Level = Level + 'Statistic Modifier' value
1 Flat Value Modifier -> Level = 'Statistic Modifier' value
2 Percentage Modifier -> Level = (Level * 'Statistic Modifier' value) / 100
Note:
In IWD2 the class to receive the change is specified at 0x2C
#97 (0x61)
Stat: Strength-Bonus Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Bonus = Bonus + 'Statistic Modifier' value
1 Flat Value Modifier -> Bonus = 'Statistic Modifier' value
2 Percentage Modifier -> Bonus = (Bonus * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Bonus = Bonus + 'Statistic Modifier' value
1 Flat Value Modifier -> Bonus = 'Statistic Modifier' value
2 Percentage Modifier -> Bonus = (Bonus * 'Statistic Modifier' value) / 100
#98 (0x62)
HP: Regeneration
Variants:
BG1
BGEE
IWD1
PST
BG2
Parameter #1: Regeneration Amount
Parameter #2: Type
Parameter #1: Regeneration Amount
Parameter #2: Type
Description:
Restores HP to the value of 'Regeneration Amount' in the style specified by the 'Type' field, to the targeted creature(s).
Known values for 'Type' are:
0 Restore 'Regeneration Amount' per second
1 Restore 'Regeneration Amount' as a percentage of total HP
2 Restore x HP every second
3 Restore 1HP every x seconds
4 Restrore x HP per round
Known values for 'Type' are:
0 Restore 'Regeneration Amount' per second
1 Restore 'Regeneration Amount' as a percentage of total HP
2 Restore x HP every second
3 Restore 1HP every x seconds
4 Restrore x HP per round
Important:
Permanent timing modes require a duration for this effect to work.
#99 (0x63)
Spell Effect: Duration Modifier
Parameter #1: Duration Modifier
Parameter #2: Type
Parameter #1: Duration Modifier
Parameter #2: Type
Description:
Alters spell durations of the targeted creature(s), to the percentage specified by the 'Duration Modifier' field, affecting the spell type specified by the 'Type' field. Timing mode 0 is the only timing mode reliably affected. Timings handled through PRO files are ignored.
eg.
'Duration Modifier' = 0 -> Spells have no duration
'Duration Modifier' = 100 -> Spells have normal duration
'Duration Modifier' = 200 -> Spells have double duration
Known values for 'Type' are:
0 Mage
1 Priest
eg.
'Duration Modifier' = 0 -> Spells have no duration
'Duration Modifier' = 100 -> Spells have normal duration
'Duration Modifier' = 200 -> Spells have double duration
Known values for 'Type' are:
0 Mage
1 Priest
Note:
Not seen to work in BG1.
#100 (0x64)
Protection: from Creature Type
Variants:
BG1
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
*DONT USE*
Gives the targeted creature(s) protection from the creature type specified by the 'IDS File' and 'IDS Entry' fields.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
Gives the targeted creature(s) protection from the creature type specified by the 'IDS File' and 'IDS Entry' fields.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
#101 (0x65)
Protection: from Opcode
Parameter #1: Irrelevant
Parameter #2: opcode
Parameter #1: Irrelevant
Parameter #2: opcode
Description:
Gives the targeted creature(s) protection from the opcode specified by the 'opcode' field.
#102 (0x66)
Protection: from Spell Levels
Parameter #1: Spell Level
Parameter #2: Irrelevant
Parameter #1: Spell Level
Parameter #2: Irrelevant
Description:
Gives the targeted creature(s) protection from spells up to the level specified by the 'Spell Level' field. A spell is assigned to a spell level by the power level of the first effect greater than the 'Spell Level' parameter in the extended header that is being called.
Known values for 'Spell Level' are:
1
..
9
Known values for 'Spell Level' are:
1
..
9
#103 (0x67)
Text: Change Name
Parameter #1: String Reference
Parameter #2: Irrelevant
Parameter #1: String Reference
Parameter #2: Irrelevant
Description:
Alters the name of the targeted creature(s) to the strref specified by the 'String Reference' field. When used with a duration timing, after the duration, the name will be set to a blank entry.
#104 (0x68)
Stat: Experience Points
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> XP = XP + 'Statistic Modifier' value
1 Flat Value Modifier -> XP = 'Statistic Modifier' value
2 Percentage Modifier -> XP = (XP * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> XP = XP + 'Statistic Modifier' value
1 Flat Value Modifier -> XP = 'Statistic Modifier' value
2 Percentage Modifier -> XP = (XP * 'Statistic Modifier' value) / 100
#105 (0x69)
Stat: Gold
Variants:
BG2
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Gold = Gold + 'Statistic Modifier' value
1 Flat Value Modifier -> Gold = 'Statistic Modifier' value
2 Percentage Modifier -> Gold = (Gold * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Gold = Gold + 'Statistic Modifier' value
1 Flat Value Modifier -> Gold = 'Statistic Modifier' value
2 Percentage Modifier -> Gold = (Gold * 'Statistic Modifier' value) / 100
Note:
This effect can only be used to lower the gold value.
Note:
PST does not support the percentage modifier type (unknown what it actually does).
#106 (0x6A)
Stat: Morale Break Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Morale Break = Morale Break + 'Statistic Modifier' value
1 Flat Value Modifier -> Morale Break = 'Statistic Modifier' value
2 Percentage Modifier -> Morale Break = (Morale * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Morale Break = Morale Break + 'Statistic Modifier' value
1 Flat Value Modifier -> Morale Break = 'Statistic Modifier' value
2 Percentage Modifier -> Morale Break = (Morale * 'Statistic Modifier' value) / 100
#107 (0x6B)
Portrait Change
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Sets the portrait of the targeted creature(s) to that specified in the resource key, based on the 'Type' value. This effect ignores durations attributed to it.
Known values for 'Type' are:
0 Small portrait
1 Large portrait
Known values for 'Type' are:
0 Small portrait
1 Large portrait
#108 (0x6C)
Stat: Reputation
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Sets the individual reputation of the targeted creature(s) to the value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
This does not affect the main reputation of the Party, unless 'Type' 3 or 4 are used. Though it can affect ranger/paladinhood of any target.
Known values for 'Type' are:
0 Cumulative Modifier -> Reputation = Reputation + 'Statistic Modifier' value
1 Flat Value Modifier -> Reputation = 'Statistic Modifier' value
2 Percentage Modifier -> Reputation = (Reputation * 'Statistic Modifier' value) / 100
3 Increment Party Reputation -> by 10x param#1, cannot lower reputation below 100, will raise reputation to 100 if already less (only in EEs)
4 Reset Party Reputation to 100 (only in EEs)
This does not affect the main reputation of the Party, unless 'Type' 3 or 4 are used. Though it can affect ranger/paladinhood of any target.
Known values for 'Type' are:
0 Cumulative Modifier -> Reputation = Reputation + 'Statistic Modifier' value
1 Flat Value Modifier -> Reputation = 'Statistic Modifier' value
2 Percentage Modifier -> Reputation = (Reputation * 'Statistic Modifier' value) / 100
3 Increment Party Reputation -> by 10x param#1, cannot lower reputation below 100, will raise reputation to 100 if already less (only in EEs)
4 Reset Party Reputation to 100 (only in EEs)
#109 (0x6D)
State: Hold
Variants:
BG2
BGEE
PST
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
Applies the hold effect to the targeted creature(s), if the targeted creature(s) match the value specified by the 'IDS Entry' field, in the specified 'IDS File'.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
#110 (0x6E)
(Retreat From)
Variants:
BG1
PST
BG2
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#111 (0x6F)
Item: Create Magical Weapon
Parameter #1: Amount
Parameter #2: Irrelevant
Parameter #1: Amount
Parameter #2: Irrelevant
Description:
Creates the item specified by the resource key. The number of items created is controlled by the 'Amount' field. The item is created in the Magical Weapon slot (SLOT_MISC19 - #34).
Important:
The Magical Weapon slot does not allow Item Abilities (header_type = 3).
Warning:
The resource field should not be empty, or the game will crash (not consistently, but it happens).
#112 (0x70)
Item: Remove Item
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes a single instance (or stack) of the item specified by the resource key from the targeted creature(s). Items in container items (e.g. Bags of Holding) will not be removed. If a creature has multiple instances of the item, the one in the lowest slot number (see slots.ids) is removed. EFF_M02 is hard-coded to play when an item is removed. This effect should be used to remove equipped items (use opcode #123 for inventory items).
#113 (0x71)
Item: (Equip Weapon)
Variants:
BG2
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#114 (0x72)
Graphics: Dither
Variants:
IWD1
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
Warning:
This effect has never been seen to work.
#115 (0x73)
Detect: Alignment
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Alignment Mask
Parameter #1: Irrelevant
Parameter #2: Alignment Mask
Description:
*DONT USE*
Detects the alignment specified by the 'Alignment Mask' field.
Known values for 'Alignment Mask' are:
0 Evil (Glow red)
1 Neutral (Glow blue)
2 Good (Glow Green)
Detects the alignment specified by the 'Alignment Mask' field.
Known values for 'Alignment Mask' are:
0 Evil (Glow red)
1 Neutral (Glow blue)
2 Good (Glow Green)
#116 (0x74)
State: Cure Invisibility
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes invisibility from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
Important:
Both parameters should be 0 (zero).
#117 (0x75)
Spell Effect: Clairvoyance
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the clairvoyance effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#118 (0x76)
Empty:
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode has no effect.
#119 (0x77)
Spell Effect: Mirror Image
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the mirror image effect to the targeted creature(s), creating mirror images in the style specified by the 'Type' field. The number of images is dicated by the level of the caster.
Know values for 'Type' are:
0 Normal
1 Reflected Image
Know values for 'Type' are:
0 Normal
1 Reflected Image
#120 (0x78)
Protection: from Melee Weapons
Parameter #1: Enchantment
Parameter #2: Type
Parameter #1: Enchantment
Parameter #2: Type
Description:
Gives the targeted creature(s) immunity to melee weapons as specified by the 'Type' field. The 'Enchantment' field is used if 'Type' is set to 0.
Known values for 'Type' are:
0 Enchantment
1 Magical
2 Non-Magical
3 Silver
4 Non-Silver
5 Silver / Non-Magical
6 Two-Handed
7 Non Two-Handed
8 Cursed
9 Non-Cursed
10 Cold-Iron
11 Non Cold-Iron
Known values for 'Type' are:
0 Enchantment
1 Magical
2 Non-Magical
3 Silver
4 Non-Silver
5 Silver / Non-Magical
6 Two-Handed
7 Non Two-Handed
8 Cursed
9 Non-Cursed
10 Cold-Iron
11 Non Cold-Iron
#121 (0x79)
Empty:
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode has no effect. Sometimes known as "Graphics: (Visual Animation Effect)".
#122 (0x7A)
Item: Create Inventory Item
Variants:
BG1
BG2
Parameter #1: Location
Parameter #2: Type
Parameter #1: Location
Parameter #2: Type
Description:
Creates the item specified by the resource key, in the place specified by the 'Location' and 'Type' fields.
Know values for 'Type' are:
0 Group
1 Slot (Set 'Location to the slot index)
Know values for 'Type' are:
0 Group
1 Slot (Set 'Location to the slot index)
#123 (0x7B)
Item: Remove Inventory Item
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the item specified by the resource key from the targeted creature(s). This effect should be used to remove inventory items (use opcode #112 for equipped items).
#124 (0x7C)
Spell Effect: Teleport (Dimension Door)
Variants:
PST
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Teleports the targeted creature(s) in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Default
1 Source to Target
2 Return to Saved Location
3 Exchanged Source and Target
Known values for 'Type' are:
0 Default
1 Source to Target
2 Return to Saved Location
3 Exchanged Source and Target
Important:
In IWD2 both parameters should be 0.
#125 (0x7D)
Spell Effect: Unlock (Knock)
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the knock effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#126 (0x7E)
Stat: Movement Modifier
Variants:
PST
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
The engine allows values for 'Statistic Modifier' from 0 (immobile) to 255 (instantaneous), though behaviour is only consistent in the range 0 - 30.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
The engine allows values for 'Statistic Modifier' from 0 (immobile) to 255 (instantaneous), though behaviour is only consistent in the range 0 - 30.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
Note:
BG1 does not support the cumulative modifier and will behave as if in flat modifier mode.
#127 (0x7F)
Summon: Monster Summoning
Variants:
PST
BG1
Parameter #1: Number
Parameter #2: Type
Parameter #1: Number
Parameter #2: Type
Description:
*DONT USE*
Summons a number of monsters.
Each creature files has a Creature Power Level number (at 0x18). The amount of monsters summoned by this effect is equal to the 'Number' field / Creature Power Level.
The 'Type' field set which 2da file to pick the creatures to summon from. The 2da files are monsumX and anisumX, where X = Type + 1. The specific 2da files used are:
0 MONSUM01 Monster Summon 1
1 MONSUM02 Monster Summon 2
2 MONSUM03 Monster Summon 3
3 ANISUM01 Animal Summon 1
4 ANISUM02 Animal Summon 2
5 MONSUM01 Monster Summon 1 Hostile
6 MONSUM02 Monster Summon 2 Hostile
7 MONSUM03 Monster Summon 3 Hostile
8 ANISUM01 Animal Summon 1 Hostile
9 ANISUM02 Animal Summon 2 Hostile
A custom .2da file can be entered in the resource field.
If used from an external effect (.eff), th
e vvc field controls the bam file played when summoning.
Summons a number of monsters.
Each creature files has a Creature Power Level number (at 0x18). The amount of monsters summoned by this effect is equal to the 'Number' field / Creature Power Level.
The 'Type' field set which 2da file to pick the creatures to summon from. The 2da files are monsumX and anisumX, where X = Type + 1. The specific 2da files used are:
0 MONSUM01 Monster Summon 1
1 MONSUM02 Monster Summon 2
2 MONSUM03 Monster Summon 3
3 ANISUM01 Animal Summon 1
4 ANISUM02 Animal Summon 2
5 MONSUM01 Monster Summon 1 Hostile
6 MONSUM02 Monster Summon 2 Hostile
7 MONSUM03 Monster Summon 3 Hostile
8 ANISUM01 Animal Summon 1 Hostile
9 ANISUM02 Animal Summon 2 Hostile
A custom .2da file can be entered in the resource field.
If used from an external effect (.eff), th
e vvc field controls the bam file played when summoning.
#128 (0x80)
State: Confusion
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the confusion effect the targeted creature(s). The creature will run around uncontrollable, randomly attacking.
#129 (0x81)
State: Aid
Variants:
PST
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Description:
Applies a bless effect, a bonus to HP and a bonus to saving throws to the targeted creature(s). The bonus is a number of 8-sided dice, with the number of dice controlled by the 'Statistic Modifier' value.
#130 (0x82)
State: Bless
Variants:
PST
Parameter #1: Modifier
Parameter #2: Irrelevant
Parameter #1: Modifier
Parameter #2: Irrelevant
Description:
Modifies the THAC0, damage and morale of the target creature(s) by the amount specified by the 'Modifier' parameter.
Note:
In IWD2 the effect is non-cumulative and also removes any Bane effects.
This does not apply to Doom in other games.
#131 (0x83)
State: Chant
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the chant effect to the targeted creature(s), in the style specified by the 'Type' field. Chant affects the minimum damage caused by a weapon (up to the normal maximum damage of the weapon) and the attack roll modifier (up to a maximum of 20, excluding natural attack roll modifiers, e.g. high STR, invisibility etc) by 'Statistic Modifier' amount. The effect sets STATE_CHANT.
Known values for 'Type are:
0 Beneficial
1 Detrimenal
Known values for 'Type are:
0 Beneficial
1 Detrimenal
#132 (0x84)
State: Raise Strength, Constitution, & Dexterity Non-Cumulative
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Description:
Raises the strength, constitution and dexterity of the targeted creature(s) by the value specified by the 'Statistic Modifier' field. A negative value of 'Statistic Modifier' sets the strength, constitution and dexterity of the targeted creature(s) to 25.
#133 (0x85)
Spell Effect: Luck Non-Cumulative
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field to the targetted creatures luck. Luck affects the minimum damage caused by a weapon (up to the normal maximum damage of the weapon) and the attack roll modifier (up to a maximum of 20, excluding natural attack roll modifiers, e.g. high STR, invisibility etc) by 'Statistic Modifier' amount. 'Statistic Modifier' also affects the damge rolls of opponents (in feature blocks, not extension headers). The effect sets STATE_LUCK.
#134 (0x86)
State: Petrification
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the petrification effect to the targeted creature(s). This effects kills & removes PC's from the party, and ends the game if used on the Protagonist (not in IWDs or PST).
Important:
Both parameters should be 0 (zero).
#135 (0x87)
Polymorph into Specific
Variants:
BG1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Polymorphs the targeted creature(s) into the creature specified by the resource key. Potentially identical to bg2/iwd1 version.
#136 (0x88)
State: Force Visible
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
Renders the targeted creature(s) partially visible: removes normal invisibility, but not the improved invisibility state; the targeted is visible and attackable, but not targetable by spells.
The effect has no meaning on visible targets.
This effect has no duration.
The effect has no meaning on visible targets.
This effect has no duration.
Important:
Leave both parameters at zero for this effect to work.
#137 (0x89)
State: Negative Chant
Variants:
BG1
Parameter #1: Modifier
Parameter #2: Irrelevant
Parameter #1: Modifier
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the chant effect to the targeted creature(s).
This effect works as the reverse of chant. The effect sets STATE_CHANTBAD.
Applies the chant effect to the targeted creature(s).
This effect works as the reverse of chant. The effect sets STATE_CHANTBAD.
#138 (0x8A)
Graphics: Character Animation Change
Variants:
BG1
IWD1
PST
Parameter #1: Irrelevant
Parameter #2: Animation Sequence
Parameter #1: Irrelevant
Parameter #2: Animation Sequence
Description:
The targeted creature(s) shows the animation sequence specified by the 'Animation Sequence' field.
Known values for 'Type' are (from SEQ.IDS):
0 Attack
1 Awake
2 Cast
3 Conjure
4 Damage
5 Die
6 Turn head
7 Ready
8 Shoot
9 Twitch
10 Walk
11 Attack (Slash)
12 Attack (Backslash)
13 Attack (Jab)
14 Emerge
15 Hide
16 Sleep
Known values for 'Type' are (from SEQ.IDS):
0 Attack
1 Awake
2 Cast
3 Conjure
4 Damage
5 Die
6 Turn head
7 Ready
8 Shoot
9 Twitch
10 Walk
11 Attack (Slash)
12 Attack (Backslash)
13 Attack (Jab)
14 Emerge
15 Hide
16 Sleep
#139 (0x8B)
Text: Display String
Parameter #1: String Reference
Parameter #2: Irrelevant
Parameter #1: String Reference
Parameter #2: Irrelevant
Description:
Displays the strref specified by the 'String Reference' value.
Info:
At least in EE games, it is possible to colorize the string. In order to do so, follow the instructions concerning the colorization of the name of your character during Character Creation.
#140 (0x8C)
Graphics: Casting Glow
Variants:
BGEE
PST
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Creates 2D Animation for casting glow.
Known values for 'Type' are:
0 .. 8 = Crash
9 Casting Glow (Necromancy)
10 Casting Glow (Alteration)
11 Casting Glow (Enchantment)
12 Casting Glow (Abjuration)
13 Casting Glow (Illusion)
14 Casting Glow (Conjuration)
15 Casting Glow (Invocation)
16 Casting Glow (Divination)
17+ Crashes
Known values for 'Type' are:
0 .. 8 = Crash
9 Casting Glow (Necromancy)
10 Casting Glow (Alteration)
11 Casting Glow (Enchantment)
12 Casting Glow (Abjuration)
13 Casting Glow (Illusion)
14 Casting Glow (Conjuration)
15 Casting Glow (Invocation)
16 Casting Glow (Divination)
17+ Crashes
#141 (0x8D)
Graphics: Lighting Effects
Variants:
BGEE
PST
BG1
Parameter #1: Target
Parameter #2: Type
Parameter #1: Target
Parameter #2: Type
Description:
Shows the lighting effect (a .bam file) specified by the 'Type' value at the location specified by 'Target'. These effects are usually used for spell hits based on the spell school.
Known values for 'Target' are:
0 Current Location
Non-0 Target Location
Known values for 'Type' are:
0 Necromancy Air
1 Necromancy Earth
2 Necromancy Water
4 Alteration Air
5 Alteration Earth
6 Alteration Water
8 Enchantment Air
9 Enchantment Earth
10 Enchantment Water
12 Abjuration Air
13 Abjuration Earth
14 Abjuration Water
16 Illusion Air
17 Illusion Earth
18 Illusion Water
20 Conjure Air
21 Conjure Earth
22 Conjure Water
24 Invocation Air
25 Invocation Earth
26 Invocation Water
28 Divination Air
29 Divination Earth
30 Divination Water
32 Mushroom Fire
33 Mushroom Grey
34 Mushroom Green
35 Shaft Fire
36 Shaft Light
37 Swirl White
38 Door
39 Finger of Death
Known values for 'Target' are:
0 Current Location
Non-0 Target Location
Known values for 'Type' are:
0 Necromancy Air
1 Necromancy Earth
2 Necromancy Water
4 Alteration Air
5 Alteration Earth
6 Alteration Water
8 Enchantment Air
9 Enchantment Earth
10 Enchantment Water
12 Abjuration Air
13 Abjuration Earth
14 Abjuration Water
16 Illusion Air
17 Illusion Earth
18 Illusion Water
20 Conjure Air
21 Conjure Earth
22 Conjure Water
24 Invocation Air
25 Invocation Earth
26 Invocation Water
28 Divination Air
29 Divination Earth
30 Divination Water
32 Mushroom Fire
33 Mushroom Grey
34 Mushroom Green
35 Shaft Fire
36 Shaft Light
37 Swirl White
38 Door
39 Finger of Death
#142 (0x8E)
Portrait Icon
Variants:
BG1
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Icon Type
Parameter #1: Irrelevant
Parameter #2: Icon Type
Description:
The Icon Type parameter sets which icon is shown.
Known values are:
00 charm
03 confused
04 beserk
05 intoxicated
06 poisoned
07 diseased
08 blind
09 protection from evil
10 protection from petrification
11 protection from normal missiles
12 armour
13 held
14 asleep
15 shield
16 protection from fire
17 bless
18 chant
19 free action
20 barkskin
21 strength
22 heroism
23 spell invulnerability
24 protection from acid
25 protection from cold
27 protection from electricity
28 protection from magic
29 protection from undead
30 protection from poison
31 non-detectable
32 good luck
33 bad luck
34 silenced
35 cursed
36 panic
37 resist fear
38 hasted
39 fatigued
40 bard song
41 slowed
42 regenerating
43 nauseous
44 stunned
45 ghost armour
46 stoneskin
47 hopelessness
48 courage
49 friends
50 hope
51 malison
52 spirit armour
53 dominated
54 feebleminded
55 tenser's transformation
56 mind blank
57 aid
58 find traps
59 draw upon holy might
60 miscast magic
61 strength of one
62 prayer
63 defensive harmony
64 recitation
65 champion's strength
66 chaotic commands
67 righteous wrath of the faithful
68 phased
69 pain
70 impervious sanctity of mind
71 petrified
72 iron body
73 animal rage
74 exaltation
75 cat's grace
76 blood rage
77 the ballad of three heroes
78 the tale of curran strongheart
79 tymora's melody
80 the song of kaudies
81 the siren's yearning
82 war chant of sith
83 deaf
84 armour of faith
85 bleeding wound
86 holy power
87 death ward
88 unconscious
89 iron skins
90 enfeeblement
91 sanctuary
92 entangle
93 protection from the elements
94 grease
95 web
96 minor globe of invulnerability
97 globe of invulnerability
98 shroud of flame
99 antimagic shell
100 otiluke's resilient sphere
101 intelligence drained by mind flayer
102 cloak of fear
103 entropy shielf
104 insect plague
105 storm shell
106 shield of Lathlander
107 greater shield of Lathlander
108 seven eyes
109 blur
110 invisibility
111 barbarian rage
112 called shot
113 defensive spin
114 maximized attacks
115 offensive spin
116 envenom weapon
117 unconscious
118 doom
119 aegis
120 executioner's eyes
121 fire shield (red)
122 fire shield (blue)
123 energy drained
124 faerie fire
125 tortoise shell
126 spell shield
127 negative energy protection
128 aura of vitality
129 death armour
130 blink
131 vipergout
132 mind fog
134 stunning fist
135 quivering palm
136 rams paradox
137 blindess
138 heroic inspiration
139 vocalize
140 despair
141 ilmater's endurance
142 destructive blow
143 master thievery
144 improved invisibility.
Known values are:
00 charm
03 confused
04 beserk
05 intoxicated
06 poisoned
07 diseased
08 blind
09 protection from evil
10 protection from petrification
11 protection from normal missiles
12 armour
13 held
14 asleep
15 shield
16 protection from fire
17 bless
18 chant
19 free action
20 barkskin
21 strength
22 heroism
23 spell invulnerability
24 protection from acid
25 protection from cold
27 protection from electricity
28 protection from magic
29 protection from undead
30 protection from poison
31 non-detectable
32 good luck
33 bad luck
34 silenced
35 cursed
36 panic
37 resist fear
38 hasted
39 fatigued
40 bard song
41 slowed
42 regenerating
43 nauseous
44 stunned
45 ghost armour
46 stoneskin
47 hopelessness
48 courage
49 friends
50 hope
51 malison
52 spirit armour
53 dominated
54 feebleminded
55 tenser's transformation
56 mind blank
57 aid
58 find traps
59 draw upon holy might
60 miscast magic
61 strength of one
62 prayer
63 defensive harmony
64 recitation
65 champion's strength
66 chaotic commands
67 righteous wrath of the faithful
68 phased
69 pain
70 impervious sanctity of mind
71 petrified
72 iron body
73 animal rage
74 exaltation
75 cat's grace
76 blood rage
77 the ballad of three heroes
78 the tale of curran strongheart
79 tymora's melody
80 the song of kaudies
81 the siren's yearning
82 war chant of sith
83 deaf
84 armour of faith
85 bleeding wound
86 holy power
87 death ward
88 unconscious
89 iron skins
90 enfeeblement
91 sanctuary
92 entangle
93 protection from the elements
94 grease
95 web
96 minor globe of invulnerability
97 globe of invulnerability
98 shroud of flame
99 antimagic shell
100 otiluke's resilient sphere
101 intelligence drained by mind flayer
102 cloak of fear
103 entropy shielf
104 insect plague
105 storm shell
106 shield of Lathlander
107 greater shield of Lathlander
108 seven eyes
109 blur
110 invisibility
111 barbarian rage
112 called shot
113 defensive spin
114 maximized attacks
115 offensive spin
116 envenom weapon
117 unconscious
118 doom
119 aegis
120 executioner's eyes
121 fire shield (red)
122 fire shield (blue)
123 energy drained
124 faerie fire
125 tortoise shell
126 spell shield
127 negative energy protection
128 aura of vitality
129 death armour
130 blink
131 vipergout
132 mind fog
134 stunning fist
135 quivering palm
136 rams paradox
137 blindess
138 heroic inspiration
139 vocalize
140 despair
141 ilmater's endurance
142 destructive blow
143 master thievery
144 improved invisibility.
#143 (0x8F)
Item: Create Item in Slot
Variants:
PST
BG1
Parameter #1: Slot
Parameter #2: Irrelevant
Parameter #1: Slot
Parameter #2: Irrelevant
Description:
Creates the item specified by the resource key in the slot specified by the 'Slot' field, on the targeted creature(s).
#144 (0x90)
Button: Disable Button
Variants:
BG1
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Button
Parameter #1: Irrelevant
Parameter #2: Button
Description:
Disabled the button specified by the 'Button' field.
Known values for 'Button' are:
0 Stealth Button
1 Thieving Skill Button
2 Spell Select Button
3 Quick Spell Button 1
4 Quick Spell Button 2
5 Quick Spell Button 3
6 Quick Spell Button 4
7 Quick Spell Button 5
8 Quick Spell Button 6
9 Quick Spell Button 7
11 Quick Spell Button 8
12 Bard Song
13 Quick Song 1
14 Quick Song 2
15 Quick Song 3
16 Quick Song 4
17 Quick Song 5
18 Quick Song 6
19 Quick Song 7
20 Quick Song 8
21 Quick Song 9
22 Quick Skill 1
23 Quick Skill 2
24 Quick Skill 2
25 Quick Skill 3
26 Quick Skill 4
27 Quick Skill 5
28 Quick Skill 6
29 Quick Skill 7
30 Quick Skill 8
31 Quick Skill 0
32 Quick Skill 1
33 Quick Skill 2
34 Quick Skill 3
35 Quick Skill 4
36 Quick Skill 5
37 Quick Skill 6
38 Quick Skill 7
39 Quick Skill 8
Known values for 'Button' are:
0 Stealth Button
1 Thieving Skill Button
2 Spell Select Button
3 Quick Spell Button 1
4 Quick Spell Button 2
5 Quick Spell Button 3
6 Quick Spell Button 4
7 Quick Spell Button 5
8 Quick Spell Button 6
9 Quick Spell Button 7
11 Quick Spell Button 8
12 Bard Song
13 Quick Song 1
14 Quick Song 2
15 Quick Song 3
16 Quick Song 4
17 Quick Song 5
18 Quick Song 6
19 Quick Song 7
20 Quick Song 8
21 Quick Song 9
22 Quick Skill 1
23 Quick Skill 2
24 Quick Skill 2
25 Quick Skill 3
26 Quick Skill 4
27 Quick Skill 5
28 Quick Skill 6
29 Quick Skill 7
30 Quick Skill 8
31 Quick Skill 0
32 Quick Skill 1
33 Quick Skill 2
34 Quick Skill 3
35 Quick Skill 4
36 Quick Skill 5
37 Quick Skill 6
38 Quick Skill 7
39 Quick Skill 8
#145 (0x91)
Spell: Disable Spell Casting Abilities
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Spell Type
Parameter #1: Irrelevant
Parameter #2: Spell Type
Description:
Disables spell casting abilities of the targeted creature(s), in the style specified by the 'Spell Type;' field.
Known values for 'Type' are:
0 All
1 All, except Innate
2 Wizard
3 Cleric
4 Innate
Known values for 'Type' are:
0 All
1 All, except Innate
2 Wizard
3 Cleric
4 Innate
#146 (0x92)
Spell: Cast Spell (as Target)
Variants:
PST
BG1
Parameter #1: Casting Level
Parameter #2: Type
Parameter #1: Casting Level
Parameter #2: Type
Description:
Casts the spell specified by the resource key at the level specified by the 'Casting Level' field, in the style specified by the 'Type' field. A 'Casting Level' of 0 casts at the level of the casting creature.
Known values for 'Type' are:
0 Normal Casting
Known values for 'Type' are:
0 Normal Casting
#147 (0x93)
Spell: Learn Spell
Variants:
BG2
PST
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The targeted creature(s) learn the spell specified by the resource key, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Mage
1 Cleric
2 Innate
Known values for 'Type' are:
0 Mage
1 Cleric
2 Innate
#148 (0x94)
Spell: Cast Spell (at Point)
Parameter #1: Casting Level
Parameter #2: Type
Parameter #1: Casting Level
Parameter #2: Type
Description:
Casts the spell specified by the resource key, at the level specified by the 'Casting Level' field, in the style specified by the 'Type' field. A 'Casting Level' of 0 casts at the level of the casting creature.
Known values for 'Type' are:
0 Normal Casting
1 Cast Instantly
Known values for 'Type' are:
0 Normal Casting
1 Cast Instantly
Note:
This opcode does not work if the target is a container in non-ee versions.
#149 (0x95)
(Identify)
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#150 (0x96)
Spell Effect: Find Traps
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the find traps effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
Important:
This effect is automatically successful, but can only find traps that are normally detectable by the Find Traps skill.
#151 (0x97)
Summon: Replace Creature
Variants:
PST
BG1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Replaces the targeted creature(s) with creature specified by the resource key, in the style specified by the 'Type' value.
Known values for 'Type' are:
0 Remove target silently
1 Remove target - explode
Known values for 'Type' are:
0 Remove target silently
1 Remove target - explode
#152 (0x98)
Spell Effect: Play Movie
Variants:
BG1
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Plays the movie specified by the resource key.
Both parameters should be 0 (zero).
Known movies are:
Both parameters should be 0 (zero).
Known movies are:
#153 (0x99)
Overlay: Sanctuary
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the sanctuary effect to the targeted creature(s).
This effect sets stat #63 (SANCTUARY) to 1.
This effect sets stat #63 (SANCTUARY) to 1.
Important:
Both parameters should be 0 (zero).
#154 (0x9A)
Overlay: Entangle
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the entangle visual effect to the targeted creature(s). Does not actually prevent the target from moving.
This effect sets stat #62 (ENTANGLE) to 1.
This effect sets stat #62 (ENTANGLE) to 1.
Important:
Both parameters should be set to 0.
#155 (0x9B)
Overlay: Minor Globe
Variants:
BGEE
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the minor globe effect to the targeted creature(s).
Both parameters should be 0 (zero).
Applies the minor globe effect to the targeted creature(s).
Both parameters should be 0 (zero).
#156 (0x9C)
Overlay: Protection from Normal Missiles Cylinder
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the protection from normal missiles cylinder visual effect to the targeted creature(s).
This effect sets stat #65 (SHIELDGLOBE) to 1.
This effect sets stat #65 (SHIELDGLOBE) to 1.
Important:
Both parameters should be 0 (zero).
#157 (0x9D)
State: Web Effect
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the web effect to the targeted creature(s). The affected creature becomes immobile and its AI scripts stop running.
This effect sets stats #58 (HELD) and #67 (WEB) to 1. It also sets the STATE_HELPLESS flag.
This effect sets stats #58 (HELD) and #67 (WEB) to 1. It also sets the STATE_HELPLESS flag.
Important:
Both parameters should be 0 (zero).
Note:
It cannot be removed by any of the stun/held removal opcodes.
#158 (0x9E)
Overlay: Grease
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the grease visual effect to the targeted creature(s). Does not actually affect the target's movement rate.
This effect sets stat #66 (GREASE) to 1.
This effect sets stat #66 (GREASE) to 1.
Important:
Both parameters should be 0 (zero).
#159 (0x9F)
Spell Effect: Mirror Image (Exact Number)
Parameter #1: Amount
Parameter #2: Irrelevant
Parameter #1: Amount
Parameter #2: Irrelevant
Description:
Applies the mirror image effect to the targeted creature(s), creating a number of images equal to the 'Amount' value.
#160 (0xA0)
Remove Sanctuary
Variants:
BG1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Removes the sanctuary effect from the targeted creature(s).
Both parameters should be 0 (zero).
Removes the sanctuary effect from the targeted creature(s).
Both parameters should be 0 (zero).
#161 (0xA1)
Cure: Horror
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the horror effect from the targeted creature(s).
This effect ignores durations attributed to it.
This effect ignores durations attributed to it.
#162 (0xA2)
Cure: Hold
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the paralysis effect (opcode #109 and opcode #175) from the targeted creature(s).
Important:
This effect should be used with an instant timing mode.
#163 (0xA3)
Protection: Free Action
Variants:
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the free action effect to the targeted creature(s), restoring the creatures movement rate to its default value if the current movement rate value is below the default for the animation type.
Also check out the EE description here.
Also check out the EE description here.
#164 (0xA4)
Cure: Drunkeness
Variants:
BGEE
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#165 (0xA5)
Spell Effect: Pause Target
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the pause effect to the targeted creature(s).
In particular:
This effect sets STAT #70 to 1.
In particular:
- Their inventory is still access-able.
- They are still select-able, and can be issued orders (for instance, activating modal abilities), though not all actions can be taken.
- It does not interrupt/end modal abilities the creature is currently using.
- They are not "helpless", an attack roll is still required to hit them.
- Their scripts stop running.
This effect sets STAT #70 to 1.
Important:
Both parameters should be 0.
#166 (0xA6)
Stat: Magic Resistance Modifier
Variants:
BG1
PST
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> Resistance = Resistance + 'Statistic Modifier' value
1 Flat Value Modifier -> Resistance = 'Statistic Modifier' value
#167 (0xA7)
Stat: THAC0 Modifier with Missile Weapons
Variants:
PST
BG1
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> THAC0 = THAC0 + 'Statistic Modifier' value
1 Flat Value Modifier -> THAC0 = 'Statistic Modifier' value
Known values for 'Type' are:
0 Cumulative Modifier -> THAC0 = THAC0 + 'Statistic Modifier' value
1 Flat Value Modifier -> THAC0 = 'Statistic Modifier' value
#168 (0xA8)
Summon: Remove Creature
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Moves the targeted creature(s) to area ".ARE" (a non-existent area). Also known as Script: Destroy Self.
This deletes non-global creatures from the game (most common usage).
For Global Creatures:
This deletes non-global creatures from the game (most common usage).
For Global Creatures:
- This effect removes the creature from the player's party (if they were in it).
- The effect will keep the creature out of the party and any other Area for its duration, but does not re-instate the creature once it expires.
- They can still be recovered through script actions once the effect expires.
Important:
Both parameters should be 0 (zero).
#169 (0xA9)
Graphics: Prevent Special Effect Icon
Variants:
BG1
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Icon
Parameter #1: Irrelevant
Parameter #2: Icon
Description:
Prevents the icon specified by the 'Icon' field from being displayed.
Known values for 'Icon' are:
00 charm
03 confused
04 beserk
05 intoxicated
06 poisoned
07 diseased
08 blind
09 protection from evil
10 protection from petrification
11 protection from normal missiles
12 armour
13 held
14 asleep
15 shield
16 protection from fire
17 bless
18 chant
19 free action
20 barkskin
21 strength
22 heroism
23 spell invulnerability
24 protection from acid
25 protection from cold
27 protection from electricity
28 protection from magic
29 protection from undead
30 protection from poison
31 non-detectable
32 good luck
33 bad luck
34 silenced
35 cursed
36 panic
37 resist fear
38 hasted
39 fatigued
40 bard song
41 slowed
42 regenerating
43 nauseous
44 stunned
45 ghost armour
46 stoneskin
47 hopelessness
48 courage
49 friends
50 hope
51 malison
52 spirit armour
53 dominated
54 feebleminded
55 tenser's transformation
56 mind blank
57 aid
58 find traps
59 draw upon holy might
60 miscast magic
61 strength of one
62 prayer
63 defensive harmony
64 recitation
65 champion's strength
66 chaotic commands
67 righteous wrath of the faithful
68 phased
69 pain
70 impervious sanctity of mind
71 petrified
72 iron body
73 animal rage
74 exaltation
75 cat's grace
76 blood rage
77 the ballad of three heroes
78 the tale of curran strongheart
79 tymora's melody
80 the song of kaudies
81 the siren's yearning
82 war chant of sith
83 deaf
84 armour of faith
85 bleeding wound
86 holy power
87 death ward
88 unconscious
89 iron skins
90 enfeeblement
91 sanctuary
92 entangle
93 protection from the elements
94 grease
95 web
96 minor globe of invulnerability
97 globe of invulnerability
98 shroud of flame
99 antimagic shell
100 otiluke's resilient sphere
101 intelligence drained by mind flayer
102 cloak of fear
103 entropy shielf
104 insect plague
105 storm shell
106 shield of Lathlander
107 greater shield of Lathlander
108 seven eyes
109 blur
110 invisibility
111 barbarian rage
112 called shot
113 defensive spin
114 maximized attacks
115 offensive spin
116 envenom weapon
117 unconscious
118 doom
119 aegis
120 executioner's eyes
121 fire shield (red)
122 fire shield (blue)
123 energy drained
124 faerie fire
125 tortoise shell
126 spell shield
127 negative energy protection
128 aura of vitality
129 death armour
130 blink
131 vipergout
132 mind fog
134 stunning fist
135 quivering palm
136 rams paradox
137 blindess
138 heroic inspiration
139 vocalize
140 despair
141 ilmater's endurance
142 destructive blow
143 master thievery
144 improved invisibility
Known values for 'Icon' are:
00 charm
03 confused
04 beserk
05 intoxicated
06 poisoned
07 diseased
08 blind
09 protection from evil
10 protection from petrification
11 protection from normal missiles
12 armour
13 held
14 asleep
15 shield
16 protection from fire
17 bless
18 chant
19 free action
20 barkskin
21 strength
22 heroism
23 spell invulnerability
24 protection from acid
25 protection from cold
27 protection from electricity
28 protection from magic
29 protection from undead
30 protection from poison
31 non-detectable
32 good luck
33 bad luck
34 silenced
35 cursed
36 panic
37 resist fear
38 hasted
39 fatigued
40 bard song
41 slowed
42 regenerating
43 nauseous
44 stunned
45 ghost armour
46 stoneskin
47 hopelessness
48 courage
49 friends
50 hope
51 malison
52 spirit armour
53 dominated
54 feebleminded
55 tenser's transformation
56 mind blank
57 aid
58 find traps
59 draw upon holy might
60 miscast magic
61 strength of one
62 prayer
63 defensive harmony
64 recitation
65 champion's strength
66 chaotic commands
67 righteous wrath of the faithful
68 phased
69 pain
70 impervious sanctity of mind
71 petrified
72 iron body
73 animal rage
74 exaltation
75 cat's grace
76 blood rage
77 the ballad of three heroes
78 the tale of curran strongheart
79 tymora's melody
80 the song of kaudies
81 the siren's yearning
82 war chant of sith
83 deaf
84 armour of faith
85 bleeding wound
86 holy power
87 death ward
88 unconscious
89 iron skins
90 enfeeblement
91 sanctuary
92 entangle
93 protection from the elements
94 grease
95 web
96 minor globe of invulnerability
97 globe of invulnerability
98 shroud of flame
99 antimagic shell
100 otiluke's resilient sphere
101 intelligence drained by mind flayer
102 cloak of fear
103 entropy shielf
104 insect plague
105 storm shell
106 shield of Lathlander
107 greater shield of Lathlander
108 seven eyes
109 blur
110 invisibility
111 barbarian rage
112 called shot
113 defensive spin
114 maximized attacks
115 offensive spin
116 envenom weapon
117 unconscious
118 doom
119 aegis
120 executioner's eyes
121 fire shield (red)
122 fire shield (blue)
123 energy drained
124 faerie fire
125 tortoise shell
126 spell shield
127 negative energy protection
128 aura of vitality
129 death armour
130 blink
131 vipergout
132 mind fog
134 stunning fist
135 quivering palm
136 rams paradox
137 blindess
138 heroic inspiration
139 vocalize
140 despair
141 ilmater's endurance
142 destructive blow
143 master thievery
144 improved invisibility
#170 (0xAA)
Graphics: Play Damage Animation
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Animation
Parameter #1: Irrelevant
Parameter #2: Animation
Description:
Plays the damage animation specified by the 'Animation' field.
Known values for 'Type' are:
0 Blood (behind)
1 Blood (front)
2 Blood (left)
3 Blood (right)
4 Fire 1
5 Fire 2
6 Fire 3
7 Electricity 1
8 Electricity 2
9 Electricity 3
Known values for 'Type' are:
0 Blood (behind)
1 Blood (front)
2 Blood (left)
3 Blood (right)
4 Fire 1
5 Fire 2
6 Fire 3
7 Electricity 1
8 Electricity 2
9 Electricity 3
#171 (0xAB)
Spell: Give Ability
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the spell specified by the resource key to the targeted creature(s).
#172 (0xAC)
Spell: Remove Spell
Variants:
BG1
IWD1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the spell specified by the resource key from the targeted creature(s) spellbook.
If the key is not 8 characters long, all memorized copies will be removed.
If the key is 8 characters, memorized copies will remain intact.
Important:
Both parameters should be 0 (zero).
Two 8 characters long keys that are identical up to the 7th character are indistinguishable!
#173 (0xAD)
Stat: Poison Resistance Modifier
Variants:
BGEE
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Parameter #1: Statistic Modifier
Parameter #2: Irrelevant
Description:
Sets the Poison Resistance of the target creature(s) to the value specified by 'Statistic Modifier'.
Also known as "Stat: Set Poison Resistance".
Also known as "Stat: Set Poison Resistance".
#174 (0xAE)
Spell Effect: Play Sound Effect
Variants:
BG1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Plays the sound effect specified by the resource key.
Important:
Both parameters should be 0.
#175 (0xAF)
State: Hold
Variants:
BG1
BG2
IWD1
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
*DONT USE*
Applies a yellow fade in graphic effect to the targeted creature(s), and shows the Hold icon, if the targeted creature(s) match the value specified by the 'IDS Entry' field, in the specified 'IDS File'.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
Applies a yellow fade in graphic effect to the targeted creature(s), and shows the Hold icon, if the targeted creature(s) match the value specified by the 'IDS Entry' field, in the specified 'IDS File'.
Known values for 'IDS File' are:
2 EA.ids
3 General.ids
4 Race.ids
5 Class.ids
6 Specific.ids
7 Gender.ids
8 Align.ids
#176 (0xB0)
Stat: Movement Modifier (II)
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
(As #126, but unaffected by Free Action).
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
The engine allows values for 'Statistic Modifier' from 0 (immobile) to 255 (instantaneous), though behaviour is only consistent in the range 0 - 30.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
The engine allows values for 'Statistic Modifier' from 0 (immobile) to 255 (instantaneous), though behaviour is only consistent in the range 0 - 30.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
Warning:
PST: This effect doesn’t exist and always crashes the game.
#177 (0xB1)
Use EFF File
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
Applies the eff file specified by the resource key to the targeted creature(s), if the targeted creature(s) match the value specified by the 'IDS Entry' field, in the specified 'IDS File'.
NB. When using an eff to alter thac0/dmg bonus, set param1 = 0, and param2 = 2.
Known values for 'IDS File' are:
NB. When using an eff to alter thac0/dmg bonus, set param1 = 0, and param2 = 2.
Known values for 'IDS File' are:
- 2 => EA.IDS
- 3 => GENERAL.IDS
- 4 => RACE.IDS
- 5 => CLASS.IDS
- 6 => SPECIFIC.IDS
- 7 => GENDER.IDS
- 8 => ALIGN.IDS
- 9 => KIT.IDS (EE only)
Warning:
This effect causes a crash if used by a container
PST: This effect doesn’t exist and always crashes the game.
IWD2: there was a note to not use this effect in older IESDP.
PST: This effect doesn’t exist and always crashes the game.
IWD2: there was a note to not use this effect in older IESDP.
#180 (0xB4)
Item: Can't Use Item
Variants:
PST
BG1
Parameter #1: String Reference
Parameter #2: Constant
Parameter #1: String Reference
Parameter #2: Constant
Description:
*DONT USE*
The targeted creatures(s) cannot use the item specified by the resource key. The strref specified by the 'String Reference' field is displayed when an attempt to use the item is made.
The 'constant' field should be set to 0.
The targeted creatures(s) cannot use the item specified by the resource key. The strref specified by the 'String Reference' field is displayed when an attempt to use the item is made.
The 'constant' field should be set to 0.
#181 (0xB5)
Item: Can't Use Itemtype
Variants:
BG1
BG2
BGEE
IWD1
PST
Parameter #1: String Reference
Parameter #2: Type
Parameter #1: String Reference
Parameter #2: Type
Description:
*DONT USE*
The targeted creature(s) cannot use the item type specified by the 'Type' field. The strref specified by the 'String Reference' field is displayed when at attempt to use such an item is made.
Known values for 'Type' are:
0 Generic
1 Amulet
2 Armor
3 Belt
4 Boots
5 Bow Ammo
6 Gloves
7 Helmet
8 Key
9 Potion
10 Ring
11 Scroll
12 Shield
13 Spell
14 Sling Ammo
15 Bows
16 Dagger
17 Mace
18 Sling
19 Small Sword
20 Large Sword
21 Warhammer
22 Morningstar
23 Flail
24 Thrown
25 Axe
26 Staff
27 Crossbow
28 Fist
29 Spear
30 Halberd
31 Crossbow Ammo
32 Cloak
33 Gold
34 Gem
35 Wand
The targeted creature(s) cannot use the item type specified by the 'Type' field. The strref specified by the 'String Reference' field is displayed when at attempt to use such an item is made.
Known values for 'Type' are:
0 Generic
1 Amulet
2 Armor
3 Belt
4 Boots
5 Bow Ammo
6 Gloves
7 Helmet
8 Key
9 Potion
10 Ring
11 Scroll
12 Shield
13 Spell
14 Sling Ammo
15 Bows
16 Dagger
17 Mace
18 Sling
19 Small Sword
20 Large Sword
21 Warhammer
22 Morningstar
23 Flail
24 Thrown
25 Axe
26 Staff
27 Crossbow
28 Fist
29 Spear
30 Halberd
31 Crossbow Ammo
32 Cloak
33 Gold
34 Gem
35 Wand
#182 (0xB6)
Item: Apply Effect Item
Parameter #1: Unknown
Parameter #2: Unknown
Parameter #1: Unknown
Parameter #2: Unknown
Description:
Applies an effect when the specified item is equipped.
Warning:
This effect has never been seen to work.
Warning:
PST: This effect doesn’t exist and always crashes the game.
#183 (0xB7)
Item: Apply Effect Itemtype
Variants:
PST
BG1
Parameter #1: String Reference
Parameter #2: Type
Parameter #1: String Reference
Parameter #2: Type
Description:
*DONT USE*
Applies the effect specified by the resource key to the targeted creature(s) when an item of the item type specified by the 'Type' field is equipped. The strref specified by the 'String Reference' field is displayed when at attempt to use such an item is made.
Known value for 'Type' are:
0 Generic
1 Amulet
2 Armor
3 Belt
4 Boots
5 Bow Ammo
6 Gloves
7 Helmet
8 Key
9 Potion
10 Ring
11 Scroll
12 Shield
13 Spell
14 Sling Ammo
15 Bows
16 Dagger
17 Mace
18 Sling
19 Small Sword
20 Large Sword
21 Warhammer
22 Morningstar
23 Flail
24 Thrown
25 Axe
26 Staff
27 Crossbow
28 Fist
29 Spear
30 Halberd
31 Crossbow Ammo
32 Cloak
33 Gold
34 Gem
35 Wand
Applies the effect specified by the resource key to the targeted creature(s) when an item of the item type specified by the 'Type' field is equipped. The strref specified by the 'String Reference' field is displayed when at attempt to use such an item is made.
Known value for 'Type' are:
0 Generic
1 Amulet
2 Armor
3 Belt
4 Boots
5 Bow Ammo
6 Gloves
7 Helmet
8 Key
9 Potion
10 Ring
11 Scroll
12 Shield
13 Spell
14 Sling Ammo
15 Bows
16 Dagger
17 Mace
18 Sling
19 Small Sword
20 Large Sword
21 Warhammer
22 Morningstar
23 Flail
24 Thrown
25 Axe
26 Staff
27 Crossbow
28 Fist
29 Spear
30 Halberd
31 Crossbow Ammo
32 Cloak
33 Gold
34 Gem
35 Wand
#184 (0xB8)
Graphics: Passwall (Don't Jump)
Parameter #1: Undefined
Parameter #2: Jump
Parameter #1: Undefined
Parameter #2: Jump
Description:
Allows creatures to be placed in impassable areas, based on the value of the 'Jump' field.
Known values for 'Jump' are:
0 Do Jump from impassable areas
1+ Don't Jump from impassable areas
Known values for 'Jump' are:
0 Do Jump from impassable areas
1+ Don't Jump from impassable areas
Warning:
PST: This effect doesn’t exist and always crashes the game.
IWD2: Don’t use.
IWD2: Don’t use.
#185 (0xB9)
State: Hold
Variants:
BG1
BG2
PST
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
Applies a yellow fade in graphic effect to the targeted creature(s), and shows the Hold icon, if the targeted creature(s) match the value specified by the 'IDS Entry' field, in the specified 'IDS File'.
#186 (0xBA)
Script: MoveToArea
Variants:
PST
Parameter #1: Delay
Parameter #2: Orientation
Parameter #1: Delay
Parameter #2: Orientation
Description:
Marks the targetted creature(s) as travelling to the area specified by the resource key. The creature appears in the specified area after a delay (specified by the 'Delay' field), with the orientation specified by the 'Orientation' field. The creature appears at the point specified by the Target Point fields (external EFF files only).
Warning:
IWD2: there was a note to not use this effect in older IESDP.
There is some confusion whether the Target (bg1, iwds) or the Caster point field is used.
There is some confusion whether the Target (bg1, iwds) or the Caster point field is used.
#187 (0xBB)
Script: Store Local Variable
Variants:
BG1
PST
Parameter #1: Value
Parameter #2: Irrelevant
Parameter #1: Value
Parameter #2: Irrelevant
Description:
This effect stores a various data types, usually a variable in the 'variable' field.
Resistance.param3: Point
Param4: Float
Param1: Int
Param2: Any
Resource1+2+3: String
Resistance.param3: Point
Param4: Float
Param1: Int
Param2: Any
Resource1+2+3: String
Important:
This effect can only be used in an external effect (ie. an eff file).
#188 (0xBC)
Spell Effect: Aura Cleansing
Variants:
PST
Parameter #1: Irrelevant
Parameter #2: Stat Value
Parameter #1: Irrelevant
Parameter #2: Stat Value
Description:
Set the 'Stat Value' field to any non-zero value if you want no time needed between spells.
The effect modifies STAT #76 to 'param2'.
The effect modifies STAT #76 to 'param2'.
Note:
The ‘Stat Value’ parameter can take any value. If you set it to 0, you will disable the effect (for its duration).
#189 (0xBD)
Stat: Casting Time Modifier
Variants:
BG1
PST
Parameter #1: Speed Modifier
Parameter #2: Type
Parameter #1: Speed Modifier
Parameter #2: Type
Description:
Alters the casting time of spells by the value specified by the 'Speed Modifier' field. This effect is cummulative.
This effect sets stat #77 (MENTALSPEED) to param #1. Known value for param2 are:
0: Increment by param#1. Positive values decrease the casting time, negative values increase the casting time.
1: Set casting time of every spell to param#1. Negative values set casting time to 0
2: Set casting time of spells with casting time higher than param#1 to param#1. Other spells are unaffected.
This effect sets stat #77 (MENTALSPEED) to param #1. Known value for param2 are:
0: Increment by param#1. Positive values decrease the casting time, negative values increase the casting time.
1: Set casting time of every spell to param#1. Negative values set casting time to 0
2: Set casting time of spells with casting time higher than param#1 to param#1. Other spells are unaffected.
Note:
Param#2==2 was tested only for BGEE and might not work on non-EE.
#190 (0xBE)
Stat: Attack Speed Factor
Variants:
PST
Parameter #1: Speed Modifier
Parameter #2: Irrelevant
Parameter #1: Speed Modifier
Parameter #2: Irrelevant
Description:
Alters the weapon's attack speed by the value specified by the 'Speed Modifier' field. This effect is not cumulative. Attack speed ranges from 0 (good) to 10 (bad). This effect acts as a bonus, so a high 'Speed Modifier' is good.
This effect sets stat #78 (PHYSICALSPEED) to param #1.
This effect sets stat #78 (PHYSICALSPEED) to param #1.
#191 (0xBF)
Spell: Casting Level Modifier
Variants:
BG2
BGEE
PST
Parameter #1: Modifier
Parameter #2: Type
Parameter #1: Modifier
Parameter #2: Type
Description:
Applies the value specified by the 'Modifier' field as a bonus to casting spell levels, of a type specified by the 'Type' field.
Known values for 'Type' are:
0 Mage
1 Cleric
Known values for 'Type' are:
0 Mage
1 Cleric
Note:
This effect changes the casting level stat, but has no actual affect in-game IWD1
#192 (0xC0)
Spell Effect: Find Familiar
Variants:
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Crashes if used by Player1, else displays 'Only the Protagonist may cast Find Familiar'
#193 (0xC1)
Spell Effect: Invisible Detection by Script
Variants:
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Constant Value
Parameter #1: Irrelevant
Parameter #2: Constant Value
Description:
Allows invisible creatures to be attacked (via scripts).
Known values for the 'Constant Value' field are
0 Enabled
1 Disabled
Known values for the 'Constant Value' field are
0 Enabled
1 Disabled
#194 (0xC2)
Ignore Dialog Pause
Variants:
IWD1
PST
BG2
Parameter #1: Undefined
Parameter #2: Constant Value
Parameter #1: Undefined
Parameter #2: Constant Value
Description:
*DONT USE*
Allows the targeted creature(s) to carry on their actions during dialogs which pause action.
Known values for the 'Constant Value' field are
0 Enabled
1 Disabled
Allows the targeted creature(s) to carry on their actions during dialogs which pause action.
Known values for the 'Constant Value' field are
0 Enabled
1 Disabled
#197 (0xC5)
*DON'T USE* Projectile Bounce
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Reference Value
Parameter #1: Irrelevant
Parameter #2: Reference Value
Description:
The Reference Value parameter sets what is to be affected by this effect.
Known values are:
0 Instant
1 Arrow
2 Arrow Exploding
3 Arrow Flaming
4 Arrow Heavy
5 Arrow Shocking
6 Axe
7 Axe Exploding
8 Axe Flaming
9 Axe Heavy
10 Axe Shocking
11 Bolt
12 Bolt Exploding
13 Bolt Flaming
14 Bolt Heavy
15 Bolt Shocking
16 Bullet
17 Bullet Exploding
18 Bullet Flaming
19 Bullet Heavy
20 Bullet Shocking
26 Dagger
27 Dagger Exploding
28 Dagger Flaming
29 Dagger Heavy
30 Dagger Shocking
31 Dart
32 Dart Exploding
33 Dart Flaming
34 Dart Heavy
35 Dart Shocking
36 Magic Missile
37 Fireball
39 Lightning Bolt
41 Sleep
55 Spear
56 Spear Exploding
57 Spear Flaming
58 Spear Heaby
59 Spear Shocking
62 Web Travel
63 Web Ground
64 Gaze
65 Holy Might
66 Flame Strike
94 Cloud
95 Skull Trap
96 Color Spray
97 Ice Storm
98 Fire Wall
99 Glyph
100 Grease
101 Flame Arrow Green
102 Flame Arrow Blue
103 Fireball Green
104 FireBall Blue
105 Potion
106 Potion Exploding
107 Acid Blob
108 Scorcher
109 Travel Door
186 Cloudkill
187 Flame Arrow Ice
188 Cow
189 Hold
190 Scorcher Ice
191 Acid Blob Mustard
192 Acid Blob Grey
193 Acid Blob Ochre.
Known values are:
0 Instant
1 Arrow
2 Arrow Exploding
3 Arrow Flaming
4 Arrow Heavy
5 Arrow Shocking
6 Axe
7 Axe Exploding
8 Axe Flaming
9 Axe Heavy
10 Axe Shocking
11 Bolt
12 Bolt Exploding
13 Bolt Flaming
14 Bolt Heavy
15 Bolt Shocking
16 Bullet
17 Bullet Exploding
18 Bullet Flaming
19 Bullet Heavy
20 Bullet Shocking
26 Dagger
27 Dagger Exploding
28 Dagger Flaming
29 Dagger Heavy
30 Dagger Shocking
31 Dart
32 Dart Exploding
33 Dart Flaming
34 Dart Heavy
35 Dart Shocking
36 Magic Missile
37 Fireball
39 Lightning Bolt
41 Sleep
55 Spear
56 Spear Exploding
57 Spear Flaming
58 Spear Heaby
59 Spear Shocking
62 Web Travel
63 Web Ground
64 Gaze
65 Holy Might
66 Flame Strike
94 Cloud
95 Skull Trap
96 Color Spray
97 Ice Storm
98 Fire Wall
99 Glyph
100 Grease
101 Flame Arrow Green
102 Flame Arrow Blue
103 Fireball Green
104 FireBall Blue
105 Potion
106 Potion Exploding
107 Acid Blob
108 Scorcher
109 Travel Door
186 Cloudkill
187 Flame Arrow Ice
188 Cow
189 Hold
190 Scorcher Ice
191 Acid Blob Mustard
192 Acid Blob Grey
193 Acid Blob Ochre.
#198 (0xC6)
Spell: Bounce Opcode
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: opcode
Parameter #1: Irrelevant
Parameter #2: opcode
Description:
*DONT USE*
The targeted creature(s) will reflect attacks as specified by the 'opcode' field
The targeted creature(s) will reflect attacks as specified by the 'opcode' field
#199 (0xC7)
Spell: Bounce Spells
Variants:
IWD1
PST
BG2
Parameter #1: Reflected Level
Parameter #2: Irrelevant
Parameter #1: Reflected Level
Parameter #2: Irrelevant
Description:
*DONT USE*
The targeted creature(s) will reflect spells from the spell level specified in the 'Reflected Level' field.
The targeted creature(s) will reflect spells from the spell level specified in the 'Reflected Level' field.
#200 (0xC8)
Spell: Decrementing Bounce Spells
Variants:
IWD1
PST
BG2
Parameter #1: Amount
Parameter #2: Level
Parameter #1: Amount
Parameter #2: Level
Description:
*DONT USE*
The targeted creature(s) will reflect a number of spells (specified by the 'Amount' field), from the spell level specified in the 'Level' field. A spell is assigned to a spell level by the power level of the first effect greater than the 'Level' parameter in the extended header that is being called.
The targeted creature(s) will reflect a number of spells (specified by the 'Amount' field), from the spell level specified in the 'Level' field. A spell is assigned to a spell level by the power level of the first effect greater than the 'Level' parameter in the extended header that is being called.
#201 (0xC9)
Spell: Decrementing Spell Immunity
Variants:
IWD1
PST
BG2
Parameter #1: Amount
Parameter #2: Level
Parameter #1: Amount
Parameter #2: Level
Description:
*DONT USE*
The targeted creature(s) will absorb a number of spells (specified by the 'Amount' field), from the spell level specified in the 'Level' field. A spell is assigned to a spell level by the power level of the first effect greater than the 'Level' parameter in the extended header that is being called.
The targeted creature(s) will absorb a number of spells (specified by the 'Amount' field), from the spell level specified in the 'Level' field. A spell is assigned to a spell level by the power level of the first effect greater than the 'Level' parameter in the extended header that is being called.
#202 (0xCA)
Spell: Bounce Spell School
Variants:
IWD1
PST
BG2
Parameter #1: Undetermined
Parameter #2: Spell School
Parameter #1: Undetermined
Parameter #2: Spell School
Description:
*DONT USE*
The targeted creature(s) will turn spells from the school specified by the 'Spell School' field.
Known values for 'Spell School' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Evocation
7 Necromancy
8 Alteration
9 Generalist
The targeted creature(s) will turn spells from the school specified by the 'Spell School' field.
Known values for 'Spell School' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Evocation
7 Necromancy
8 Alteration
9 Generalist
#203 (0xCB)
Spell: Bounce Secondary Type
Variants:
IWD1
PST
BG2
Parameter #1: Undetermined
Parameter #2: Secondary Type
Parameter #1: Undetermined
Parameter #2: Secondary Type
Description:
*DONT USE*
The targeted creature(s) will turn spells with a secondary type matching that specified by the 'Secondary Type' field.
Known values for 'Secondary Type' are:
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
The targeted creature(s) will turn spells with a secondary type matching that specified by the 'Secondary Type' field.
Known values for 'Secondary Type' are:
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
#204 (0xCC)
Spell: Protection from Spell (School)
Variants:
IWD1
PST
BG2
Parameter #1: Undetermined
Parameter #2: Spell School
Parameter #1: Undetermined
Parameter #2: Spell School
Description:
*DONT USE*
Gives the targeted creature(s) immunity to spells from the school specified by the 'Spell School' field.
Known values for 'Spell School' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Evocation
7 Necromancy
8 Alteration
9 Generalist
Gives the targeted creature(s) immunity to spells from the school specified by the 'Spell School' field.
Known values for 'Spell School' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Evocation
7 Necromancy
8 Alteration
9 Generalist
#205 (0xCD)
Spell: Protection from Spell (Secondary Type)
Variants:
IWD1
PST
BG2
Parameter #1: Undetermined
Parameter #2: Type
Parameter #1: Undetermined
Parameter #2: Type
Description:
*DONT USE*
Gives the targeted creature(s) immunity to the spell type specified by the 'Type' field.
Known values for 'Type' are:
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
Gives the targeted creature(s) immunity to the spell type specified by the 'Type' field.
Known values for 'Type' are:
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
#206 (0xCE)
Immunity Spell
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect works.
Kknown values for 'Type' are:
0 for default
1 for undead
2 for not undead
3 for fire using/dwelling
4 for not fire using/dwelling
5 for humanoid
6 for not humanoid
7 for animal
8 for not animal
9 for elemental
10 for not elemental
11 for fungus
12 for not fungus
13 for huge creature
14 for not huge creature
15 for elf
16 for not elf
17 for umber hulk
18 for not umber hulk
19 for half-elf
20 for not half-elf
21 for humanoid or animal
22 for not humanoid or animal
23 for blind
24 for not blind
25 for cold using/dwelling
26 for not cold using/dwelling
27 for golem
28 for not golem
29 for minotaur
30 for not minotaur
31 for undead or fungus
32 for not undead or fungus
33 for good
34 for not good
35 for neutral
36 for not neutral
37 for evil
38 for not evil
39 for paladin
40 for not paladin
41 for same moral alignment as source
42 for not same moral alignment as source
43 forsource
44 for not source
45 for water using/dwelling
46 for not water using/dwelling
47 for breathing
48 for not breathing
49 for allies
50 for not allies
51 for enemies
52 for not enemies
53 for fire or cold using/dwelling
54 for not fire or cold using/dwelling
55 for unnatural
56 for not unnatural
57 for male
58 for not male
59 for lawful
60 for not lawful
61 for chaotic
62 for not chaotic
63 for evasion check (thief) - disabled
64 for orc
65 for not orc
66 for deaf
67 for not deaf
68 for summoned creature
69 for not summoned creature
70 mind flayer
71 for not mind flayer
72 for silenced
73 for not silenced
74 for intelligence less than (parameter 1 is value)
75 for intelligence greater than (parameter 1 is value)
76 is intelligence less than or equal (parameter 1 is value)
77 is intelligence greater than or equal (parameter 1 is value)
78 is bard skald - causes crash
79 is not bard skald - causes crash
80 is near enemies
81 is not near enemies
82 - drow
83 - not drow
84 - gray dwarf
85 - not gray dwarf
86 - daytime
87 - not daytime
88 - outdoor
89 - not outdoor
90 is keg
91 is not keg
92 is outsider
93 is not outsider.
Kknown values for 'Type' are:
0 for default
1 for undead
2 for not undead
3 for fire using/dwelling
4 for not fire using/dwelling
5 for humanoid
6 for not humanoid
7 for animal
8 for not animal
9 for elemental
10 for not elemental
11 for fungus
12 for not fungus
13 for huge creature
14 for not huge creature
15 for elf
16 for not elf
17 for umber hulk
18 for not umber hulk
19 for half-elf
20 for not half-elf
21 for humanoid or animal
22 for not humanoid or animal
23 for blind
24 for not blind
25 for cold using/dwelling
26 for not cold using/dwelling
27 for golem
28 for not golem
29 for minotaur
30 for not minotaur
31 for undead or fungus
32 for not undead or fungus
33 for good
34 for not good
35 for neutral
36 for not neutral
37 for evil
38 for not evil
39 for paladin
40 for not paladin
41 for same moral alignment as source
42 for not same moral alignment as source
43 forsource
44 for not source
45 for water using/dwelling
46 for not water using/dwelling
47 for breathing
48 for not breathing
49 for allies
50 for not allies
51 for enemies
52 for not enemies
53 for fire or cold using/dwelling
54 for not fire or cold using/dwelling
55 for unnatural
56 for not unnatural
57 for male
58 for not male
59 for lawful
60 for not lawful
61 for chaotic
62 for not chaotic
63 for evasion check (thief) - disabled
64 for orc
65 for not orc
66 for deaf
67 for not deaf
68 for summoned creature
69 for not summoned creature
70 mind flayer
71 for not mind flayer
72 for silenced
73 for not silenced
74 for intelligence less than (parameter 1 is value)
75 for intelligence greater than (parameter 1 is value)
76 is intelligence less than or equal (parameter 1 is value)
77 is intelligence greater than or equal (parameter 1 is value)
78 is bard skald - causes crash
79 is not bard skald - causes crash
80 is near enemies
81 is not near enemies
82 - drow
83 - not drow
84 - gray dwarf
85 - not gray dwarf
86 - daytime
87 - not daytime
88 - outdoor
89 - not outdoor
90 is keg
91 is not keg
92 is outsider
93 is not outsider.
#207 (0xCF)
Spell: Bounce Specified Spell
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
The targeted creature(s) will reflect the spell specified by the resource key.
Both parameters should be 0 (zero).
The targeted creature(s) will reflect the spell specified by the resource key.
Both parameters should be 0 (zero).
#208 (0xD0)
HP: Minimum Limit
Variants:
PST
Parameter #1: Minimum Value
Parameter #2: Irrelevant
Parameter #1: Minimum Value
Parameter #2: Irrelevant
Description:
The targeted creature(s) HP value will not drop below the value specified by the 'Minimum Value' field.
This effect sets stat #83 (MINHITPOINTS) to param #1.
This effect sets stat #83 (MINHITPOINTS) to param #1.
#209 (0xD1)
Death: Kill 60HP
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Instantly kills the targeted creature(s), if the targeted creature(s) has less than 60 HP.
Both parameters should be 0 (zero).
Instantly kills the targeted creature(s), if the targeted creature(s) has less than 60 HP.
Both parameters should be 0 (zero).
#210 (0xD2)
Spell Effect: Stun 90HP
Variants:
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the stun effect to the targeted creature(s), if the targeted creature(s) has less than 90 HP.
The duration of the effect is:
1 to 29 HP -> stunned for 4d4 rounds
30 to 59 HP -> stunned for 2d4 rounds
60 to 89 HP -> stunned for 1d4 rounds
Applies the stun effect to the targeted creature(s), if the targeted creature(s) has less than 90 HP.
The duration of the effect is:
1 to 29 HP -> stunned for 4d4 rounds
30 to 59 HP -> stunned for 2d4 rounds
60 to 89 HP -> stunned for 1d4 rounds
#211 (0xD3)
Spell Effect: Imprisonment
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the imprisonment effect to the targeted creature(s).
Both parameters should be 0 (zero).
Applies the imprisonment effect to the targeted creature(s).
Both parameters should be 0 (zero).
#212 (0xD4)
Protection: Freedom
Variants:
IWD1
PST
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the freedom effect to the targeted creature(s).
The freedom effect frees creatures trapped by the imprisonment effect.
Both parameters should be 0 (zero).
Applies the freedom effect to the targeted creature(s).
The freedom effect frees creatures trapped by the imprisonment effect.
Both parameters should be 0 (zero).
#213 (0xD5)
Spell Effect: Maze
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the maze effect to the targeted creature(s).
The duration of the effect is:
0 to 2 int -> 2d4 rounds
3 to 5 int -> 1d4 rounds
6 to 8 int -> 5d4 rounds
9 to 11 int -> 4d4 rounds
12 to 14 int -> 3d4 rounds
15 to 17 int -> 2d4 rounds
18+ int -> 1d4 rounds
Applies the maze effect to the targeted creature(s).
The duration of the effect is:
0 to 2 int -> 2d4 rounds
3 to 5 int -> 1d4 rounds
6 to 8 int -> 5d4 rounds
9 to 11 int -> 4d4 rounds
12 to 14 int -> 3d4 rounds
15 to 17 int -> 2d4 rounds
18+ int -> 1d4 rounds
#214 (0xD6)
Empty:
Variants:
BGEE
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This opcode has no effect. Also known as "Secondary Cast List".
#215 (0xD7)
Graphics: Play 3D Effect
Variants:
IWD1
BG2
Parameter #1: Undetermined
Parameter #2: Effect State
Parameter #1: Undetermined
Parameter #2: Effect State
Description:
*DONT USE*
Plays the BAM/VVC specified by the resource key, in the style specified by the 'Effect State' value.
Known values for 'Effect State' are:
0 Play On Place Cast
1 Play Over Target
Plays the BAM/VVC specified by the resource key, in the style specified by the 'Effect State' value.
Known values for 'Effect State' are:
0 Play On Place Cast
1 Play Over Target
#216 (0xD8)
Spell Effect: Level Drain
Variants:
BGEE
IWD1
BG2
Parameter #1: Amount
Parameter #2: Irrelevant
Parameter #1: Amount
Parameter #2: Irrelevant
Description:
*DONT USE*
Drains levels from the targeted creature(s) as specified by the 'Amount' field. 'Amount' can be positive or negative, negative values will alter level and spellbook slots, but not experience.
Drains levels from the targeted creature(s) as specified by the 'Amount' field. 'Amount' can be positive or negative, negative values will alter level and spellbook slots, but not experience.
#217 (0xD9)
Spell Effect: Unconsciousness 20HP
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the unconsciousness effect to the targeted creature(s), if the targeted creature(s) has less than 20 HP.
Both parameters should be 0 (zero).
Applies the unconsciousness effect to the targeted creature(s), if the targeted creature(s) has less than 20 HP.
Both parameters should be 0 (zero).
#218 (0xDA)
Protection: Stoneskin
Variants:
BG2
BGEE
Parameter #1: Amount
Parameter #2: Type
Parameter #1: Amount
Parameter #2: Type
Description:
Gives the targeted creature(s) a number of protections from physical attacks, as specified by the 'Amount' field, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Stoneskin
1 Ironskin
Known values for 'Type' are:
0 Stoneskin
1 Ironskin
#219 (0xDB)
Stat: AC vs. Creature Type Modifier
Variants:
BG2
BGEE
IWD1
Parameter #1: IDS Entry
Parameter #2: IDS File
Parameter #1: IDS Entry
Parameter #2: IDS File
Description:
*DONT USE*
Gives the targeted creature(s) a 2 point bonus AC against the creature type specified by the 'IDS Entry' in the IDS file specified by the 'IDS File' field.
A 2 point bonus is also given to saving throws if the specified creatures attack requires a saving throw.
Known values for 'IDS File' are:
2 Object.IDS
3 General.IDS
4 Race.IDS
5 Class.IDS
7 Gender.IDS
8 Align.IDS
Gives the targeted creature(s) a 2 point bonus AC against the creature type specified by the 'IDS Entry' in the IDS file specified by the 'IDS File' field.
A 2 point bonus is also given to saving throws if the specified creatures attack requires a saving throw.
Known values for 'IDS File' are:
2 Object.IDS
3 General.IDS
4 Race.IDS
5 Class.IDS
7 Gender.IDS
8 Align.IDS
#220 (0xDC)
Removal: Remove School
Variants:
IWD1
BG2
Parameter #1: Maximum Level
Parameter #2: School Type
Parameter #1: Maximum Level
Parameter #2: School Type
Description:
*DONT USE*
Removes spells from the school specified by the 'School Type' field from the targeted creature(s), up to the level specified by the 'Maximum level' field.
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
Removes spells from the school specified by the 'School Type' field from the targeted creature(s), up to the level specified by the 'Maximum level' field.
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
#221 (0xDD)
Removal: Remove Secondary Type
Variants:
IWD1
BG2
Parameter #1: Maximum Level
Parameter #2: Secondary Type
Parameter #1: Maximum Level
Parameter #2: Secondary Type
Description:
*DONT USE*
Removes spells with a secondary type matching that specified by he 'Secondary Type' field from the targeted creature(s), up to the level specified by the 'Maximum level' field.
Known values for 'Secondary Type' are:
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
Removes spells with a secondary type matching that specified by he 'Secondary Type' field from the targeted creature(s), up to the level specified by the 'Maximum level' field.
Known values for 'Secondary Type' are:
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
#222 (0xDE)
Spell Effect: Teleport Field
Variants:
IWD1
BG2
Parameter #1: Max Range
Parameter #2: Irrelevant
Parameter #1: Max Range
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the teleport field to the targeted creature(s).
The 'Max Range' field sets the maximum range of the teleporting effect.
Applies the teleport field to the targeted creature(s).
The 'Max Range' field sets the maximum range of the teleporting effect.
#223 (0xDF)
Spell Effect: Immunity School Decrement
Variants:
IWD1
BG2
Parameter #1: Max Level
Parameter #2: School Type
Parameter #1: Max Level
Parameter #2: School Type
Description:
*DONT USE*
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
#224 (0xE0)
Cure: Level Drain (Restoration)
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the restoration effect to the targeted creature(s).
Both parameters should be 0 (zero).
Applies the restoration effect to the targeted creature(s).
Both parameters should be 0 (zero).
#225 (0xE1)
Spell: Reveal Magic
Variants:
IWD1
BG2
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
*DONT USED*
Highlights the targeted creature(s) if they are affected by dispellable magic. The effect appears to be without duration.
Highlights the targeted creature(s) if they are affected by dispellable magic. The effect appears to be without duration.
#226 (0xE2)
Spell: Immunity Secondary Type Decrement
Variants:
IWD1
BG2
Parameter #1: Max Level
Parameter #2: Secondary Type
Parameter #1: Max Level
Parameter #2: Secondary Type
Description:
*DONT USE*
Known values for 'Secondary Type' are:
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
Known values for 'Secondary Type' are:
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
#227 (0xE3)
Spell: Bounce School Decrement
Variants:
IWD1
BG2
Parameter #1: Max Level
Parameter #2: School Type
Parameter #1: Max Level
Parameter #2: School Type
Description:
*DONT USE*
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
#228 (0xE4)
Spell: Bounce Secondary Type Decrement
Variants:
IWD1
BG2
Parameter #1: Max Level
Parameter #2: Secondary Type
Parameter #1: Max Level
Parameter #2: Secondary Type
Description:
*DONT USE*
Known values for 'Secondary Type' are:
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
Known values for 'Secondary Type' are:
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
#229 (0xE5)
Removal: Remove One School
Variants:
BGEE
IWD1
BG2
Parameter #1: Max Level
Parameter #2: School Type
Parameter #1: Max Level
Parameter #2: School Type
Description:
*DONT USE*
Removes spell effects of the school specified by the 'School Type' field up to the 'Max Level' value, from the targeted creature(s).
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
Removes spell effects of the school specified by the 'School Type' field up to the 'Max Level' value, from the targeted creature(s).
Known values for 'School Type' are:
1 Abjurer
2 Conjurer
3 Diviner
4 Enchanter
5 Illusionist
6 Invoker
7 Necromancer
8 Transmuter
9 Generalist
#230 (0xE6)
Removal: Remove One Secondary Type
Variants:
BGEE
IWD1
BG2
Parameter #1: Max Level
Parameter #2: Secondary Type
Parameter #1: Max Level
Parameter #2: Secondary Type
Description:
*DONT USE*
Removes spell effects of the school specified by the 'School Type' field up to the 'Max Level' value, from the targeted creature(s).
Known values for 'Secondary Type' are:
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
Removes spell effects of the school specified by the 'School Type' field up to the 'Max Level' value, from the targeted creature(s).
Known values for 'Secondary Type' are:
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
#231 (0xE7)
Spell Effect: Time Stop
Variants:
IWD1
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the time stop effect.
The timestop effect lasts half as long as the Duration specified for the effect.
In particular:
The timestop effect lasts half as long as the Duration specified for the effect.
In particular:
- All creatures not immune to Time Stop will be rendered uncontrollable, can be hit automatically by attacks as if they were HELPLESS (but do not actually have STATE_HELPLESS set), and their frequency-based effects will not trigger (poison/regeneration), but their duration will run.
- Projectiles are suspended mid-flight until the Time Stop ends, at which point they will resume normal function.
- Area effect projectiles are suppressed until the Time Stop ends, at which point they will resume normal function, though their duration will run during the Time Stop.
- Projectiles that hit "instantly" (#0 and #1 for spells/items) are unaffected by Time Stop, which includes all melee weapons.
Important:
Both parameters should be 0 (zero).
Note:
Only one creature may have a Time Stop effect running at a time, applying a Time Stop effect during another will override the previous. The caster is always immune to their own Time Stop effect, they do not require opcode #310, unless their own Time Stop is at risk of being overridden.
#232 (0xE8)
Color Glow Dissipate
Variants:
BG2
BGEE
IWD1
Parameter #1: RGB Color
Parameter #2: Irrelevant
Parameter #1: RGB Color
Parameter #2: Irrelevant
Description:
Set the RGB Color parameter to the color value you want to use with the second byte being the Red portion (0-255), the third byte the Green portion (0-255), and the fourth byte being the Blue portion (0-255).
#233 (0xE9)
Graphics: Icewind Visual Spell Hit
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Plays the graphic animation specified by the 'Type' field.
Known values for 'Type' are:
0 None
1 Abjuration
2 Alteration
3 Invocation
4 Necromancy
5 Conjuration
6 Enchantment
7 Illusion
8 Divination
9 Armor
10 Spirit Armor
11 Ghost Armor
12 Strength
13 Confusion
14 Nothing
15 Death Spell
16 Disintegrate
17 Power Word Silence
18 Power Word Stun
19 Finger of Death
20 Mordenkainen's Sword
21 Monster Summoning I
22 Monster Summoning II
23 Monster Summoning III
24 Monster Summoning IV
25 Monster Summoning V
26 Monster Summoning VI
27 Monster Summoning VII
28 Nothing
29 Nothing
30 Nothing
31 Bless
32 Curse
33 Prayer
34 Recitation
35 Cure Light Wounds
36 Cure Moderate Wounds
37 Cure Serious Wounds
38 Cure Critical wounds
39 Heal
40 Animal Summoning I
41 Animal Summoning II
42 Animal Summoning III
43 Slow Poison
44 Neutralize Poison
45 Call Lightning
46 Static Charge
47 Remove Paralysis
48 Free Action
49 Miscast Magic
50 Strength of One
51 Champion's Strength
52 Flame Strike
53 Raise Dead
54 Resurrection
55 Chaotic Commands
56 Righteous Wrath of the Faithful
57 Sunray
58 Spike Stones
59 Dimension Door Origin
60 Dimension Door Destination
61 Cone of Cold
62 Sol's Searing Orb
63 Fire
64 Cold
65 Electricity
66 Acid
67 Paralysis
68 Malavon's Spike Swath
69 Righteous Wrath of the Faithful Ground
70 Belhifet's Death Animation
71 Portal
72 Sunscorch
73 Blade Barrier (front)
74 Blade Barrier (back)
75 Circle of Bones (front)
76 Circle of Bones (back)
77 Cause Light Wounds
78 Cause Moderate Wounds
79 Cause Serious Wounds
80 Cause Critical Wounds
81 Cause Disease
82 Poison
83 Slay Living
84 Harm
85 Destruction
86 Exaltation
87 Cloudburst
88 Mold Touch
89 Lower Resistance
90 Nothing
91 Soul Eater
92 Smashing Wave
93 Suffocate
94 Abi-Dalzim's Horrid Wilting
95 Nothing
96 Vitriolic Sphere
97 Wailing Virgin Death
98 Undead Ward
99 Wailing Virgin on Hit
100 Wylfdene's Death 1
101 Wylfdene's Death 2
102 Dragon's Death 1
103 Dragon's Death 2
104 Monster Summoning Circle
105 Animal Summoning Circle
106 Earth Summoning Circle
107 Fire Summoning Circle
108 Water Summoning Circle
Known values for 'Type' are:
0 None
1 Abjuration
2 Alteration
3 Invocation
4 Necromancy
5 Conjuration
6 Enchantment
7 Illusion
8 Divination
9 Armor
10 Spirit Armor
11 Ghost Armor
12 Strength
13 Confusion
14 Nothing
15 Death Spell
16 Disintegrate
17 Power Word Silence
18 Power Word Stun
19 Finger of Death
20 Mordenkainen's Sword
21 Monster Summoning I
22 Monster Summoning II
23 Monster Summoning III
24 Monster Summoning IV
25 Monster Summoning V
26 Monster Summoning VI
27 Monster Summoning VII
28 Nothing
29 Nothing
30 Nothing
31 Bless
32 Curse
33 Prayer
34 Recitation
35 Cure Light Wounds
36 Cure Moderate Wounds
37 Cure Serious Wounds
38 Cure Critical wounds
39 Heal
40 Animal Summoning I
41 Animal Summoning II
42 Animal Summoning III
43 Slow Poison
44 Neutralize Poison
45 Call Lightning
46 Static Charge
47 Remove Paralysis
48 Free Action
49 Miscast Magic
50 Strength of One
51 Champion's Strength
52 Flame Strike
53 Raise Dead
54 Resurrection
55 Chaotic Commands
56 Righteous Wrath of the Faithful
57 Sunray
58 Spike Stones
59 Dimension Door Origin
60 Dimension Door Destination
61 Cone of Cold
62 Sol's Searing Orb
63 Fire
64 Cold
65 Electricity
66 Acid
67 Paralysis
68 Malavon's Spike Swath
69 Righteous Wrath of the Faithful Ground
70 Belhifet's Death Animation
71 Portal
72 Sunscorch
73 Blade Barrier (front)
74 Blade Barrier (back)
75 Circle of Bones (front)
76 Circle of Bones (back)
77 Cause Light Wounds
78 Cause Moderate Wounds
79 Cause Serious Wounds
80 Cause Critical Wounds
81 Cause Disease
82 Poison
83 Slay Living
84 Harm
85 Destruction
86 Exaltation
87 Cloudburst
88 Mold Touch
89 Lower Resistance
90 Nothing
91 Soul Eater
92 Smashing Wave
93 Suffocate
94 Abi-Dalzim's Horrid Wilting
95 Nothing
96 Vitriolic Sphere
97 Wailing Virgin Death
98 Undead Ward
99 Wailing Virgin on Hit
100 Wylfdene's Death 1
101 Wylfdene's Death 2
102 Dragon's Death 1
103 Dragon's Death 2
104 Monster Summoning Circle
105 Animal Summoning Circle
106 Earth Summoning Circle
107 Fire Summoning Circle
108 Water Summoning Circle
#234 (0xEA)
Spell Effect: Snilloc's Snowball Swarm Damage
Variants:
BGEE
IWD1
BG2
Parameter #1: Damage
Parameter #2: Irrelevant
Parameter #1: Damage
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the snillocs snowball swarm damage effect to the targeted creature(s), inflicting 'amount' as damage.
Applies the snillocs snowball swarm damage effect to the targeted creature(s), inflicting 'amount' as damage.
#235 (0xEB)
Graphics: Icewind Casting Glow
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Creates 2D Animation for casting glow.
Known values for 'Type' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Invokation
7 Necromancy
8 Transmutation
Known values for 'Type' are:
1 Abjuration
2 Conjuration
3 Divination
4 Enchantment
5 Illusion
6 Invokation
7 Necromancy
8 Transmutation
#236 (0xEC)
Panic Undead
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Leave both parameters set to zeros for this Effect to work.
#237 (0xED)
HP: Crushing Damage
Variants:
IWD1
BG2
Parameter #1: Damage
Parameter #2: Irrelevant
Parameter #1: Damage
Parameter #2: Irrelevant
Description:
*DONT USE*
Damages the target by the value specified by the 'Damage Amount' field, with a damage type of crushing.
The Dice values can be used to inflict varying damage amounts - eg 2d6 would do 2-12 damage (Damage type is still specified by the 'Type' value).
NB. If 'Damage Amount' and the Dice values are both non-zero, the total damage inflicted is: 'Damage + Dice value.
Damages the target by the value specified by the 'Damage Amount' field, with a damage type of crushing.
The Dice values can be used to inflict varying damage amounts - eg 2d6 would do 2-12 damage (Damage type is still specified by the 'Type' value).
NB. If 'Damage Amount' and the Dice values are both non-zero, the total damage inflicted is: 'Damage + Dice value.
#238 (0xEE)
Stat: Save vs. all
Variants:
BG2
BGEE
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Alters all saving throws by the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Save = Save + 'Statistic Modifier' value
1 Flat Value Modifier -> Save = 'Statistic Modifier' value
2 Percentage Modifier -> Save = (Save * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#239 (0xEF)
Spell Effect: Slow Poison
Variants:
IWD1
BG2
Parameter #1: Slow Factor
Parameter #2: Irrelevant
Parameter #1: Slow Factor
Parameter #2: Irrelevant
Description:
Applies the slow poison effect to the targeted creature(s), using the 'Slow Factor' field.
#240 (0xF0)
Summon: Icewind Summoning Spell
Variants:
IWD1
BG2
Parameter #1: Creature Number
Parameter #2: Type
Parameter #1: Creature Number
Parameter #2: Type
Description:
*DONT USE*
Summons a creature, in the style specified by the 'Type' field.
0 MSUMMO1 Monster summoning I
1 MSUMMO2 Monster summoning II
2 MSUMMO3 Monster summoning III
3 MSUMMO4 Monster summoning IV
4 MSUMMO5 Monster summoning V
5 MSUMMO6 Monster summoning VI
6 MSUMMO7 Monster summoning VII
7 ASUMMO1 Animal summoning I
8 ASUMMO2 Animal summoning II
9 ASUMMO3 Animal summoning III
10 GINSECT Giant insect
11 CDOOM Creeping doom
12 MSUMMOM Monster summoning VI (Malavon)
Summons a creature, in the style specified by the 'Type' field.
0 MSUMMO1 Monster summoning I
1 MSUMMO2 Monster summoning II
2 MSUMMO3 Monster summoning III
3 MSUMMO4 Monster summoning IV
4 MSUMMO5 Monster summoning V
5 MSUMMO6 Monster summoning VI
6 MSUMMO7 Monster summoning VII
7 ASUMMO1 Animal summoning I
8 ASUMMO2 Animal summoning II
9 ASUMMO3 Animal summoning III
10 GINSECT Giant insect
11 CDOOM Creeping doom
12 MSUMMOM Monster summoning VI (Malavon)
#241 (0xF1)
HP: Vampiric Touch
Variants:
BG2
Parameter #1: Damage
Parameter #2: Type
Parameter #1: Damage
Parameter #2: Type
Description:
HP equal to the 'Damage' field are subtracted from creature A, and added onto creature B, in the style specified by the 'Type' field.
Known values of 'Type' are:
0 Target to Source
1 Source to Target
Known values of 'Type' are:
0 Target to Source
1 Source to Target
#242 (0xF2)
Graphics: Display Creature Overlay
Variants:
BGEE
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
*DONT USE*
Overlays the animation specified by the 'Type' field over the targeted creature(s).
Known values of 'Type' are:
0 Globe of Invulnerability
1 Shroud of Flame
2 Antimagic Shell
3 Otiluke's Resilient Sphere
4 Protection from Normal Missiles
5 Cloak of Fear
6 Entropy Shield
7 Fire Aura
8 Frost Aura
9 Insect Plague
10 Storm Shield
11 Shield of Lathlander
12 Greater Shield of Lathlander
13 Seven Eyes
Overlays the animation specified by the 'Type' field over the targeted creature(s).
Known values of 'Type' are:
0 Globe of Invulnerability
1 Shroud of Flame
2 Antimagic Shell
3 Otiluke's Resilient Sphere
4 Protection from Normal Missiles
5 Cloak of Fear
6 Entropy Shield
7 Fire Aura
8 Frost Aura
9 Insect Plague
10 Storm Shield
11 Shield of Lathlander
12 Greater Shield of Lathlander
13 Seven Eyes
#243 (0xF3)
Summon: Icewind Animate Dead
Variants:
BG2
BGEE
IWD1
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
*DONT USE*
Summons a creature in the style specified by the 'Type' field.
Known values of 'Type' are:
0 ADEAD Default
1 ADEADL Lich
Summons a creature in the style specified by the 'Type' field.
Known values of 'Type' are:
0 ADEAD Default
1 ADEADL Lich
#244 (0xF4)
State: Prayer
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the prayer effect, in the style specified by the 'Type' field.
Know values for 'Type' are:
0 Beneficial
1 Detrimental
Know values for 'Type' are:
0 Beneficial
1 Detrimental
#245 (0xF5)
State: Negative Prayer
Variants:
IWD1
BG2
Parameter #1: Modifier
Parameter #2: Irrelevant
Parameter #1: Modifier
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the reverse prayer effect to the targeted creature(s).
The targeted creature(s) have saving throws and thac0 modified by the value specified by the 'Modifier' field.
Applies the reverse prayer effect to the targeted creature(s).
The targeted creature(s) have saving throws and thac0 modified by the value specified by the 'Modifier' field.
#246 (0xF6)
Summon: Icewind Summoning Spell (Mixed)
Variants:
IWD1
BG2
Parameter #1: Creature Number
Parameter #2: Type
Parameter #1: Creature Number
Parameter #2: Type
Description:
*DONT USE*
Summons a creature in the style specified by the 'Type'
Known values of 'Type' are:
0 SLIZARD Lizardmen
1 STROLLS Trolls
2 SSHADOW Shadow
3 ISTALKE Invisible Stalker
4 CFELEMW Fire elemental (Wizard)
5 CEELEMW Earth elemental (Wizard)
6 CWELEMW Water elemental (Wizard)
7 CFELEMP Fire elemental (Priest)
8 CEELEMP Earth elemental (Priest)
9 CWELEMP Water elemental (Priest)
10 CEELEMM Earth elemental (Malavon)
Summons a creature in the style specified by the 'Type'
Known values of 'Type' are:
0 SLIZARD Lizardmen
1 STROLLS Trolls
2 SSHADOW Shadow
3 ISTALKE Invisible Stalker
4 CFELEMW Fire elemental (Wizard)
5 CEELEMW Earth elemental (Wizard)
6 CWELEMW Water elemental (Wizard)
7 CFELEMP Fire elemental (Priest)
8 CEELEMP Earth elemental (Priest)
9 CWELEMP Water elemental (Priest)
10 CEELEMM Earth elemental (Malavon)
#247 (0xF7)
Beltyn's Burning Blood
Variants:
BG2
Parameter #1: Strikes Number
Parameter #2: Irrelevant
Parameter #1: Strikes Number
Parameter #2: Irrelevant
Description:
Applies the beltyns burning blood effect to the targeted creature(s).
The affected creature(s) go bersek for the number of attack specified by the 'Strike Number' field, on a failed saving throw vs spells.
The affected creature(s) go bersek for the number of attack specified by the 'Strike Number' field, on a failed saving throw vs spells.
Note:
In IWD1 (with no expansions) param1 acts as a bonus to damage, rather than a strike number.
Warning:
At least in IWD1, this effect can lead to a crash upon save game loading, if a creature is killed due to this effect.
#248 (0xF8)
Summon: Summon Shadow Monsters
Variants:
IWD1
BG2
Parameter #1: Creature Number
Parameter #2: Type
Parameter #1: Creature Number
Parameter #2: Type
Description:
*DONT USE*
Summons a creautre in the style specified by the 'Type' field.
Known values of 'Type' are:
0 SMONSTE Shadow monsters
1 DSMONST Demi-shadow monsters
2 SHADES Shades
Summons a creautre in the style specified by the 'Type' field.
Known values of 'Type' are:
0 SMONSTE Shadow monsters
1 DSMONST Demi-shadow monsters
2 SHADES Shades
#249 (0xF9)
State: Positive Recitation (state)
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the recitation effect to the targeted creature(s), in the style specifed by the 'Type' field.
Known values for 'Type' are:
0 Beneficial
1 Detrimental
Known values for 'Type' are:
0 Beneficial
1 Detrimental
#250 (0xFA)
State: Negative Recitation
Variants:
IWD1
BG2
Parameter #1: Modifier
Parameter #2: Irrelevant
Parameter #1: Modifier
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the recitation effect to the targeted creature(s).
The targeted creature(s) have saving throws and thac0 modified by the value specified by the 'Modifier' field.
Applies the recitation effect to the targeted creature(s).
The targeted creature(s) have saving throws and thac0 modified by the value specified by the 'Modifier' field.
#251 (0xFB)
State: Hold (Lich Touch)
Variants:
IWD1
BG2
Parameter #1: Duration
Parameter #2: Irrelevant
Parameter #1: Duration
Parameter #2: Irrelevant
Description:
*DONT USE*
Inflicts damage specified by the dice values, and holds the targeted creature(s) for the duration specified by the 'Duration' field.
Inflicts damage specified by the dice values, and holds the targeted creature(s) for the duration specified by the 'Duration' field.
#252 (0xFC)
State: Blinded (Sol's Searing Orb)
Variants:
BGEE
IWD1
BG2
Parameter #1: Damage
Parameter #2: Irrelevant
Parameter #1: Damage
Parameter #2: Irrelevant
Description:
*DONT USE*
Inflicts damage as specified by the 'Damage' field and the dice values, and blinds the targeted creature(s).
Inflicts damage as specified by the 'Damage' field and the dice values, and blinds the targeted creature(s).
#253 (0xFD)
Stat: AC vs. Damage Type Modifier (II)
Variants:
IWD1
BG2
Parameter #1: AC Modifier
Parameter #2: Type
Parameter #1: AC Modifier
Parameter #2: Type
Description:
*DONT USE*
Appears to be the same as opcode 0.
Applies the modifier value specified by the 'AC Modifier' field to the category specified by the 'Type' field.
Known values for 'Type' are:
0 All Weapons
1 Crushing
2 Missile
4 Piercing
8 Slashing
16 Base AC setting (sets the targets AC to the value specified by the 'AC Modifier' field -1. If the targets AC is already 'AC Modifier' or below, this effect will do nothing).
Appears to be the same as opcode 0.
Applies the modifier value specified by the 'AC Modifier' field to the category specified by the 'Type' field.
Known values for 'Type' are:
0 All Weapons
1 Crushing
2 Missile
4 Piercing
8 Slashing
16 Base AC setting (sets the targets AC to the value specified by the 'AC Modifier' field -1. If the targets AC is already 'AC Modifier' or below, this effect will do nothing).
#254 (0xFE)
Removal: Effects specified by Resource
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Removes effects from the resource specified by the resource key, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Default
1 Equipped effects list only
2 Timed effects list only
Known values for 'Type' are:
0 Default
1 Equipped effects list only
2 Timed effects list only
#255 (0xFF)
State: Salamander Aura
Variants:
BG2
Parameter #1: Damage
Parameter #2: Type
Parameter #1: Damage
Parameter #2: Type
Description:
Inflicts damage as specified by the 'Damage' field and the dice values to the targeted creature(s).
Known values for 'Type' are:
0 Fire Aura
1 Frost Aura
Known values for 'Type' are:
0 Fire Aura
1 Frost Aura
Note:
The Dice values can be used to inflict varying damage amounts - e.g. 2d6 would do 2-12 damage (Damage type is still specified by the ‘Type’ value).
#256 (0x100)
Spell Effect: Umber Hulk Gaze
Variants:
BG2
BGEE
Parameter #1: Duration
Parameter #2: Irrelevant
Parameter #1: Duration
Parameter #2: Irrelevant
Description:
This effect applies Confusion to the targetted creatures(s). The Duration parameter sets how long the effect works. The effect works as an aura, affecting opponents of the originating creature. The effect is re-applied every 7 seconds. The effect does not stack, due to an applied Immunity Against Spell effect.
If called from spin994, the following target types will not be affected (due to an applied Immunity Against Spell effect on them):
Race - fungi
Race - minotaur
Race - golem
State - blind
If called from spin994, the following target types will not be affected (due to an applied Immunity Against Spell effect on them):
Race - fungi
Race - minotaur
Race - golem
State - blind
#257 (0x101)
(Zombie Lord Aura)
Variants:
BG2
BGEE
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
The use of this effect is unknown, and effect of its parameters are undefined.
#258 (0x102)
Protection: Immunity Resource
Variants:
BGEE
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
*DONT USE*
The Type parameter sets how the effect functions
Known values of 'Type' are:
0 Default
1 Test and set to 0
The Type parameter sets how the effect functions
Known values of 'Type' are:
0 Default
1 Test and set to 0
#259 (0x103)
Summon: Summon Creature
Variants:
IWD1
BG2
Parameter #1: Creature Number
Parameter #2: Type
Parameter #1: Creature Number
Parameter #2: Type
Description:
*DONT USE*
Summons a creature in the style specified by the 'Type' field.
Known values of 'Type' are:
0 Default
1 Ally to source
2 Enemy to source
3 Force summon at source
4 Summon Genie
Summons a creature in the style specified by the 'Type' field.
Known values of 'Type' are:
0 Default
1 Ally to source
2 Enemy to source
3 Force summon at source
4 Summon Genie
#260 (0x104)
Graphics: Animation Removal
Variants:
BG2
BGEE
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the animation of the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#261 (0x105)
Protection: Immunity Effect and Resource
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Opcode
Parameter #1: Irrelevant
Parameter #2: Opcode
Description:
Gives the targeted creature(s) protection from the opcode specified by the 'Opcode' field, and blocks associated strref entries (see efftext.2da).
Known values of 'Type' are:
Opcode (0 to 296)
400 Hopelessness
404 Nausea
405 Enfeeblement
412 Control
416 Bleeding Wounds
431 Energy Drain
452 Bane
453 Power Attack
454 Expertise
455 Arterial Strike
456 Hamstring
457 Rapid Shot
Known values of 'Type' are:
Opcode (0 to 296)
400 Hopelessness
404 Nausea
405 Enfeeblement
412 Control
416 Bleeding Wounds
431 Energy Drain
452 Bane
453 Power Attack
454 Expertise
455 Arterial Strike
456 Hamstring
457 Rapid Shot
#262 (0x106)
Summon: Summon Pomabs
Variants:
IWD1
BG2
Parameter #1: Undefined
Parameter #2: Undefined
Parameter #1: Undefined
Parameter #2: Undefined
Description:
*DONT USE*
The use of this effect is unknown, and effect of its parameters are undefined.
The use of this effect is unknown, and effect of its parameters are undefined.
#263 (0x107)
Spell Effect: Turn Undead (Evil)
Variants:
BG2
Parameter #1: General
Parameter #2: Type
Parameter #1: General
Parameter #2: Type
Description:
*Dont Use*
As opcode #5, affecting undead.
Known values of 'Type' are:
0 Charmed (Target neutral after effect end)
1 Charmed (Target hostile after effect end)
2 Dire charmed (Target neutral after effect end)
3 Dire charmed (Target hostile after effect end)
4 Controlled by Cleric
As opcode #5, affecting undead.
Known values of 'Type' are:
0 Charmed (Target neutral after effect end)
1 Charmed (Target hostile after effect end)
2 Dire charmed (Target neutral after effect end)
3 Dire charmed (Target hostile after effect end)
4 Controlled by Cleric
#264 (0x108)
Spell Effect: Static Charge
Variants:
BGEE
BG2
Parameter #1: Number
Parameter #2: Irrelevant
Parameter #1: Number
Parameter #2: Irrelevant
Description:
Activates the static charge effect, for a number of strikes specified by the 'Number' field.
#265 (0x109)
State: Cloak of Fear
Variants:
BG2
Parameter #1: Number
Parameter #2: Irrelevant
Parameter #1: Number
Parameter #2: Irrelevant
Description:
Applies the cloak of fear effect to the targeted creature(s), for a number of strikes specifed by the 'Number' field.
#266 (0x10A)
Stat: Movement Modifier (forced)
Variants:
BG2
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
#267 (0x10B)
Cure: Remove Confusion
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the confusion effect from the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#268 (0x10C)
Spell Effect: Eye of the Mind
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of the Mind' (SPIN126) innate ability to the targeted creature(s)
Important:
Both parameters should be 0 (zero).
#269 (0x10D)
Spell Effect: Eye of the Sword
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of the Sword' (SPIN127) innate ability to the targeted creature(s)
Important:
Both parameters should be 0 (zero).
#270 (0x10E)
Spell Effect: Eye of the Mage
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of the Mage' (SPIN128) innate ability to the targeted creature(s)
Important:
Both parameters should be 0 (zero).
#271 (0x10F)
Spell Effect: Eye of the Venom
Variants:
BGEE
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of Venom' (SPIN129) innate ability to the targeted creature(s)
Important:
Both parameters should be 0 (zero).
#272 (0x110)
Spell Effect: Eye of the Spirit
Variants:
BGEE
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of Spirit' (SPIN130) innate ability to the targeted creature(s)
Important:
Both parameters should be 0 (zero).
#273 (0x111)
Spell Effect: Eye of the Fortitude
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of Fortitude' (SPIN131) innate ability to the targeted creature(s)
#274 (0x112)
Spell Effect: Eye of the Stone
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Gives the 'Eye of Sword' (SPIN132) innate ability to the targeted creature(s)
#275 (0x113)
Spell Effect: Remove Seven Eyes
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Removes the seven eyes effect from the targeted creature(s).
#276 (0x114)
Remove Effects of Type
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect functions, for example 0 for AC.
#277 (0x115)
HP: Magic Damage (Soul Eater)
Variants:
BG2
Parameter #1: Damage
Parameter #2: Irrelevant
Parameter #1: Damage
Parameter #2: Irrelevant
Description:
Inflicts damage as specified by the 'Damage' field and the dice values to the targeted creature(s).
#278 (0x116)
Spell Effect: Shroud of Flame
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the shroud of flame effect to the targeted creature(s).
#279 (0x117)
Spell Effect: Animal Rage
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the animal rage effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values of 'Type' are:
0 LOS Check (parameter 1 is number of seconds)
1 State
Known values of 'Type' are:
0 LOS Check (parameter 1 is number of seconds)
1 State
#280 (0x118)
Spell Effect: Turn Undead
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
As opcode #5, affecting undead.
Known values of 'Type' are:
0 Command
1 Rebuke
2 Destroy
3 Panic
4 Dependent on caster
Known values of 'Type' are:
0 Command
1 Rebuke
2 Destroy
3 Panic
4 Dependent on caster
#281 (0x119)
Spell Effect: Vitriolic Sphere
Variants:
BG2
Parameter #1: Damage
Parameter #2: Irrelevant
Parameter #1: Damage
Parameter #2: Irrelevant
Description:
Inflicts damage as specified by the 'Damage' field and the dice values to the targeted creature(s).
#282 (0x11A)
HP: Suppress HP Info
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Hides the HP information of the targeted creature(s).
#283 (0x11B)
Text: Float Text
Variants:
BG2
BGEE
Parameter #1: Strref
Parameter #2: Type
Parameter #1: Strref
Parameter #2: Type
Description:
Displays the text specified by the 'Strref' field, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Default (show strref)
1 Cynicism (show Cynicism strrefs)
Known values for 'Type' are:
0 Default (show strref)
1 Cynicism (show Cynicism strrefs)
#284 (0x11C)
Spell Effect: Mace of Disruption
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the mace of disruption effect to the targeted creature(s).
Undead:
1-4 Hit Dice: 100% chance of instant death
5 Hit Dice: 95% chance of instant death
6 Hit Dice: 80% chance of instant death
7 Hit Dice: 65% chance of instant death
8-9 Hit Dice: 50% chance of instant death
10 Hit Dice: 35% chance of instant death
11+ Hit Dice: 20% chance of instant death
Outer Planar Creatures:
5% chance of instant death
Undead:
1-4 Hit Dice: 100% chance of instant death
5 Hit Dice: 95% chance of instant death
6 Hit Dice: 80% chance of instant death
7 Hit Dice: 65% chance of instant death
8-9 Hit Dice: 50% chance of instant death
10 Hit Dice: 35% chance of instant death
11+ Hit Dice: 20% chance of instant death
Outer Planar Creatures:
5% chance of instant death
Important:
Both parameters should be 0 (zero).
Info:
This effect may also include double damage against Undead and Outer Planar creatures.
#285 (0x11D)
State: Sleep (forced)
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the sleep effect to the targeted creature(s).
#286 (0x11E)
Spell Effect: Ranger Tracking
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Activates the ranger tracking ability.
Important:
Both parameters should be 0 (zero).
#287 (0x11F)
Protection: Backstab
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Makes the targeted creature(s) immune to backstabbing.
Important:
Both parameters should be 0 (zero).
#288 (0x120)
Set State
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Sets the spell state. The known values for this effect are listed in SPLSTATE.ids. SPLSTATE.ids can hold up to 255 values, so new values can be added on top of the defaults.
#289 (0x121)
Dragon Gem Cutscene
Variants:
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Both parameters should be 0 (zero).
Both parameters should be 0 (zero).
#290 (0x122)
Protection: from Spell (Message)
Variants:
BGEE
IWD1
BG2
Parameter #1: Value
Parameter #2: Type
Parameter #1: Value
Parameter #2: Type
Description:
The targeted creature(s) become immune to the spell specified by the resource key, subject to the 'Type' field.
Known values for 'Type' are:
0 Default
1 Undead
2 Not Undead
3 Fire Using/Dwelling
4 Not Fire Using/Dwelling
5 Humanoid
6 Not Humanoid
7 Animal
8 Not Animal
9 Elemental
10 Not Elemental
11 Fungus
12 Not Fungus
13 Huge Creature
14 Not Huge Creature
15 Elf
16 Not Elf
17 Umber Hulk
18 Not Umber Hulk
19 Half-Elf
20 Not Half-Elf
21 Humanoid or Animal
22 Not Humanoid or Animal
23 Blind
24 Not Blind
25 Cold Using/Dwelling
26 Not Cold Using/Dwelling
27 Golem
28 Not Golem
29 Minotaur
30 Not Minotaur
31 Undead or Fungus
32 Not Undead or Fungus
33 Food
34 Not Good
35 Neutral
36 Not Neutral
37 Evil
38 Not Evil
39 Paladin
40 Not Paladin
41 Same Moral Alignment as Source
42 Not Same Moral Alignment as Source
43 Source
44 Not Source
45 Water Using/Dwelling
46 Not Water Using/Dwelling
47 Breathing
48 Not Breathing
49 Allies
50 Not Allies
51 Enemies
52 Not Enemies
53 Fire or Cold Using/Dwelling
54 Not Fire or Cold Using/Dwelling
55 Unnatural
56 Not Unnatural
57 Male
58 Not Male
59 Lawful
60 Not Lawful
61 Chaotic
62 Not Chaotic
63 Evasion Check (Thief)
64 Orc
65 Not Orc
66 Deaf
67 Not Deaf
68 Summoned Creature
69 Not Summoned Creature
70 Mind Flayer
71 Not Mind Flayer
72 Silenced
73 Not Silenced
74 Intelligence < 'Value'
75 Intelligence > 'Value'
76 Intelligence <= 'Value'
77 Intelligence >= 'Value'
78 Bard Skald
79 Not Bard Skald
80 Near Enemies
81 Not Near Enemies
82 Drow
83 Not Drow
84 Gray Dwarf
85 Not Gray Dwarf
86 Daytime
87 Not Daytime
88 Outdoor
89 Not Outdoor
90 Keg
91 Not Keg
92 Outsider
93 Not Outsider
Known values for 'Type' are:
0 Default
1 Undead
2 Not Undead
3 Fire Using/Dwelling
4 Not Fire Using/Dwelling
5 Humanoid
6 Not Humanoid
7 Animal
8 Not Animal
9 Elemental
10 Not Elemental
11 Fungus
12 Not Fungus
13 Huge Creature
14 Not Huge Creature
15 Elf
16 Not Elf
17 Umber Hulk
18 Not Umber Hulk
19 Half-Elf
20 Not Half-Elf
21 Humanoid or Animal
22 Not Humanoid or Animal
23 Blind
24 Not Blind
25 Cold Using/Dwelling
26 Not Cold Using/Dwelling
27 Golem
28 Not Golem
29 Minotaur
30 Not Minotaur
31 Undead or Fungus
32 Not Undead or Fungus
33 Food
34 Not Good
35 Neutral
36 Not Neutral
37 Evil
38 Not Evil
39 Paladin
40 Not Paladin
41 Same Moral Alignment as Source
42 Not Same Moral Alignment as Source
43 Source
44 Not Source
45 Water Using/Dwelling
46 Not Water Using/Dwelling
47 Breathing
48 Not Breathing
49 Allies
50 Not Allies
51 Enemies
52 Not Enemies
53 Fire or Cold Using/Dwelling
54 Not Fire or Cold Using/Dwelling
55 Unnatural
56 Not Unnatural
57 Male
58 Not Male
59 Lawful
60 Not Lawful
61 Chaotic
62 Not Chaotic
63 Evasion Check (Thief)
64 Orc
65 Not Orc
66 Deaf
67 Not Deaf
68 Summoned Creature
69 Not Summoned Creature
70 Mind Flayer
71 Not Mind Flayer
72 Silenced
73 Not Silenced
74 Intelligence < 'Value'
75 Intelligence > 'Value'
76 Intelligence <= 'Value'
77 Intelligence >= 'Value'
78 Bard Skald
79 Not Bard Skald
80 Near Enemies
81 Not Near Enemies
82 Drow
83 Not Drow
84 Gray Dwarf
85 Not Gray Dwarf
86 Daytime
87 Not Daytime
88 Outdoor
89 Not Outdoor
90 Keg
91 Not Keg
92 Outsider
93 Not Outsider
#291 (0x123)
Spell Effect: Debian's Rod of Smiting
Variants:
BGEE
IWD1
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
*DONT USE*
Applies the debians rod of smiting effect to the targeted creature(s).
Golems: Extra 4-11 points of damage, with a 5% chance of insteant death.
Outer Planar creatures: 5% chance of an extra 8-24 points.
Applies the debians rod of smiting effect to the targeted creature(s).
Golems: Extra 4-11 points of damage, with a 5% chance of insteant death.
Outer Planar creatures: 5% chance of an extra 8-24 points.
#292 (0x124)
Spell Effect: Magical Rest
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This effect will refresh spells and remove any fatigue.
Important:
Both parameters should be 0 (zero).
#293 (0x125)
Spell Effect: Beholder Dispel Magic
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the beholder dispel magic effect to the targeted creature(s).
Info:
SPIN164 is periodically applied to creatures near the target.
#294 (0x126)
Spell Effect: Harpy Wail
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the harpy wail to the targeted creature(s).
Info:
SPIN166 is periodically applied to creatures near the target, and EFF_P111 is played.
#295 (0x127)
Spell Effect: Jackalwere Gaze
Variants:
BG2
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the jackalwere gaze effect to the targeted creature(s).
Info:
The text Jackalwere Gaze is applied over the target, and SPIN179 is periodically applied to creatures near the target.
#296 (0x128)
Script: Set Global Variable
Variants:
BG2
Parameter #1: Value
Parameter #2: Type
Parameter #1: Value
Parameter #2: Type
Description:
Sets a the global variable specified by the 'Type' field to the value specified by the 'Value' field.
Known values for 'Type' are:
0 RETURN_TO_LONELYWOOD
Known values for 'Type' are:
0 RETURN_TO_LONELYWOOD
#297 (0x129)
Stat: Hide In Shadows
Variants:
BG2
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#298 (0x12A)
Stat: Use Magic Device
Variants:
BGEE
BG2
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
Known values for 'Type' are:
0 Cumulative Modifier -> Skill = Skill + 'Statistic Modifier' value
1 Flat Value Modifier -> Skill = 'Statistic Modifier' value
2 Percentage Modifier -> Skill = (Skill * 'Statistic Modifier' value) / 100
'Statistic Modifier' can be positive or negative.
#400 (0x190)
State: Hopelessness
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the hopelessness effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#401 (0x191)
State: Protection from Evil
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the protection from evil effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#402 (0x192)
Add Effects List
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect functions.
Known values are:
0 default
1 undead
2 not undead
3 fire using/dwelling
4 not fire using/dwelling
5 humanoid
6 not humanoid
7 animal
8 not animal
9 elemental
10 not elemental
11 fungus
12 not fungus
13 huge creature
14 not huge creature
15 elf
16 not elf
17 umber hulk
18 not umber hulk
19 half-elf
20 not half-elf
21 humanoid or animal
22 not humanoid or animal
23 blind
24 not blind
25 cold using/dwelling
26 not cold using/dwelling
27 golem
28 not golem
29 minotaur
30 not minotaur
31 undead or fungus
32 not undead or fungus
33 good
34 not good
35 neutral
36 not neutral
37 evil
38 not evil
39 paladin
40 not paladin
41 same moral alignment as source
42 not same moral alignment as source
43 source
44 not source
45 water using/dwelling
46 not water using/dwelling
47 breathing
48 not breathing
49 allies
50 not allies
51 enemies
52 not enemies
53 fire or cold using/dwelling
54 not fir or cold using/dwelling
55 unnatural
56 not unnatural
57 male
58 not male
59 lawful
60 not lawful
61 chaotic
62 not chaotic
63 orc
64 not orc
65 deaf
66 not deaf
67 same alignment
68 not same alignment
69 allied and same alignment
70 not allied and same alignment
71 hit points greater than effect amount (parameter 1 set to value)
72 hit points less than effect amount (parameter 1 set to value)
73 drow
74 not drow
75 gray dwarf
76 not gray dwarf
77 summon creature
78 not summoned creature
79 goblin
80 not goblin
81 giant
82 not giant
83 troll
84 not troll
85 keg
86 not keg
87 human
88 not human
89 yuan-ti
90 not yuan-ti
91 outsider
92 not outsider
Known values are:
0 default
1 undead
2 not undead
3 fire using/dwelling
4 not fire using/dwelling
5 humanoid
6 not humanoid
7 animal
8 not animal
9 elemental
10 not elemental
11 fungus
12 not fungus
13 huge creature
14 not huge creature
15 elf
16 not elf
17 umber hulk
18 not umber hulk
19 half-elf
20 not half-elf
21 humanoid or animal
22 not humanoid or animal
23 blind
24 not blind
25 cold using/dwelling
26 not cold using/dwelling
27 golem
28 not golem
29 minotaur
30 not minotaur
31 undead or fungus
32 not undead or fungus
33 good
34 not good
35 neutral
36 not neutral
37 evil
38 not evil
39 paladin
40 not paladin
41 same moral alignment as source
42 not same moral alignment as source
43 source
44 not source
45 water using/dwelling
46 not water using/dwelling
47 breathing
48 not breathing
49 allies
50 not allies
51 enemies
52 not enemies
53 fire or cold using/dwelling
54 not fir or cold using/dwelling
55 unnatural
56 not unnatural
57 male
58 not male
59 lawful
60 not lawful
61 chaotic
62 not chaotic
63 orc
64 not orc
65 deaf
66 not deaf
67 same alignment
68 not same alignment
69 allied and same alignment
70 not allied and same alignment
71 hit points greater than effect amount (parameter 1 set to value)
72 hit points less than effect amount (parameter 1 set to value)
73 drow
74 not drow
75 gray dwarf
76 not gray dwarf
77 summon creature
78 not summoned creature
79 goblin
80 not goblin
81 giant
82 not giant
83 troll
84 not troll
85 keg
86 not keg
87 human
88 not human
89 yuan-ti
90 not yuan-ti
91 outsider
92 not outsider
#403 (0x193)
State: Armor of Faith
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the armour of faith effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#404 (0x194)
State: Nausea
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the nausea effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Stinking cloud
1 Ghoul touch
Known values for 'Type' are:
0 Stinking cloud
1 Ghoul touch
#405 (0x195)
State: Enfeeblement
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the fireshield effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#406 (0x196)
State: Fireshield
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the fireshield effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Red
1 Blue
Known values for 'Type' are:
0 Red
1 Blue
#407 (0x197)
State: Death Ward
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the death ward effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#408 (0x198)
State: Holy Power
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the holy power effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#409 (0x199)
State: Righteous Wrath of the Faithful
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applis the righteous wrath of the faithful effect, in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Allies
1 Allies and same alignment
Known values for 'Type' are:
0 Allies
1 Allies and same alignment
#410 (0x19A)
Summon (as ally)
Parameter #1: Number
Parameter #2: Type
Parameter #1: Number
Parameter #2: Type
Description:
The Type parameter sets how the effect functions.
Known values for Type are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke
The EA field of the summoned creature is set to ally.
The Dice values can be used to set the number of creatures summoned, in addition to the Number parameter.
Known values for Type are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke
The EA field of the summoned creature is set to ally.
The Dice values can be used to set the number of creatures summoned, in addition to the Number parameter.
#411 (0x19B)
Summon (as enemy)
Parameter #1: Number
Parameter #2: Type
Parameter #1: Number
Parameter #2: Type
Description:
The Type parameter sets how the effect functions.
Known values for Type are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke
The EA field of the summoned creature is set to enemy.
The Dice values can be used to set the number of creatures summoned, in addition to the Number parameter
Known values for Type are:
0 no animation
1 monster summoning circle
2 animal summoning circle
3 earth summoning circle
4 fire summoning circle
5 water summoning circle
7 puff of smoke
The EA field of the summoned creature is set to enemy.
The Dice values can be used to set the number of creatures summoned, in addition to the Number parameter
#412 (0x19C)
State: Control
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the control effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
1 Default
2 Mental domination.
Known values for 'Type' are:
1 Default
2 Mental domination.
#413 (0x19D)
Icewind Visual Effect
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect functions.
Known values are:
0 sanctuary
1 entangle
2 wisp
3 shield
4 grease
5 web
6 minor globe of invulnerability
7 globe of invulnerability
8 shroud of flame
9 antimagic shell
10 otiluke's resilient sphere
11 protection from normal missiles
12 cloak of fear
13 entropy shield
14 fire aura
15 frost aura
16 insect plague
17 storm shell
18 shield of Lathlander
20 greater shield of Lathlander
22 seven eyes
24 blur
25 invisibility
26 fire shield (red)
27 fire shield (blue)
30 tortoise shell
31 death armour.
Known values are:
0 sanctuary
1 entangle
2 wisp
3 shield
4 grease
5 web
6 minor globe of invulnerability
7 globe of invulnerability
8 shroud of flame
9 antimagic shell
10 otiluke's resilient sphere
11 protection from normal missiles
12 cloak of fear
13 entropy shield
14 fire aura
15 frost aura
16 insect plague
17 storm shell
18 shield of Lathlander
20 greater shield of Lathlander
22 seven eyes
24 blur
25 invisibility
26 fire shield (red)
27 fire shield (blue)
30 tortoise shell
31 death armour.
#414 (0x19E)
State: Otiluke's Resilient Sphere
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the otiluke's resilient sphere effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#415 (0x19F)
State: Barkskin
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the barkskin effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#416 (0x1A0)
State: Bleeding Wounds
Parameter #1: Amount
Parameter #2: Type
Parameter #1: Amount
Parameter #2: Type
Description:
Applies the bleeding wounds effect to the targeted creature(s), inflicting 'Amount' in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Hit points per round
1 Hit points per second
2 Seconds per hit point
Known values for 'Type' are:
0 Hit points per round
1 Hit points per second
2 Seconds per hit point
#417 (0x1A1)
Area Effect Using Effects List
Parameter #1: Radius
Parameter #2: Type
Parameter #1: Radius
Parameter #2: Type
Description:
The Type parameter sets how the effect functions.
Known values are:
0 once
1 once per round
2 once (ignore target)
3 once per round (ignore target).
Known values are:
0 once
1 once per round
2 once (ignore target)
3 once per round (ignore target).
#418 (0x1A2)
State: Free Action
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the free action effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#419 (0x1A3)
State: Unconsciousness
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the unconsciousness effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Awaken on damage
1 Do not awaken on damage
Known values for 'Type' are:
0 Awaken on damage
1 Do not awaken on damage
#420 (0x1A4)
Spell Effect: Death Magic
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the death magic effect to the targeted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Acid
1 Burning
2 Crushing
4 Death
8 Exploding
16 Stoned
32 Freezing
512 Permanent
1024 Destruction.
Known values for 'Type' are:
0 Acid
1 Burning
2 Crushing
4 Death
8 Exploding
16 Stoned
32 Freezing
512 Permanent
1024 Destruction.
#421 (0x1A5)
State: Entropy Shield
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the entropy shield effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#422 (0x1A6)
State: Storm Shell
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the storm shell effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#423 (0x1A7)
State: Protection from the Elements
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the protection from the elements effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#424 (0x1A8)
State: Hold Undead
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the hold undead effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#425 (0x1A9)
State: Control Undead
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the control undead effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#426 (0x1AA)
State: Aegis
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the aegis effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#427 (0x1AB)
State: Executioner's Eyes
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the executioners eyes effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#428 (0x1AC)
Banish
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Important:
Leave both parameters at all zeros for this Effect to work.
#429 (0x1AD)
When Struck Using Effects List
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Important:
Leave both parameters at all zeros for this Effect to work.
#430 (0x1AE)
Projectile Type Using Effects List
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect functions, known values are: 0 for default, and 243 for find traps.
#431 (0x1AF)
State: Energy Drain
Parameter #1: Value
Parameter #2: Irrelevant
Parameter #1: Value
Parameter #2: Irrelevant
Description:
The Value parameter sets the number of levels for this effect.
#432 (0x1B0)
State: Tortoise Shell
Parameter #1: Value
Parameter #2: Irrelevant
Parameter #1: Value
Parameter #2: Irrelevant
Description:
The Value parameter sets the number of hit points for this effect.
#433 (0x1B1)
State: Blink
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
The Type parameter sets how the effect functions, known values are: 0 for default, and 1 for empty body.
#434 (0x1B2)
Persistant Using Effects List
Parameter #1: Value
Parameter #2: Irrelevant
Parameter #1: Value
Parameter #2: Irrelevant
Description:
The Value parameter sets the interval in seconds.
#435 (0x1B3)
Spell Effect: Day Blindness
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the day blindness effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#436 (0x1B4)
Spell Effect: Damage Reduction
Parameter #1: Damage
Parameter #2: Type
Parameter #1: Damage
Parameter #2: Type
Description:
The Type parameter sets how the effect functions, known values are: 1 for +1, 2 for +2, 3 for +3, 4 for +4, and 5 for +5.
#437 (0x1B5)
Disguise
Parameter #1: Value
Parameter #2: Irrelevant
Parameter #1: Value
Parameter #2: Irrelevant
Description:
If Value is zero, then this opcode changes the animation of the target to cleric (keeps race/gender). This works only for player character animations.
If Value is nonzero, then it will set the animation to that value. A permanent timing will set the base animation ID.
If Value is nonzero, then it will set the animation to that value. A permanent timing will set the base animation ID.
#438 (0x1B6)
Spell Effect: Heroic Inspiration
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
This effect increases all saving throws, hit bonus and damage bonus by 1 when the targetted creature(s) is wounded more than 50%.
Important:
Both parameters should be 0 (zero).
#439 (0x1B7)
Script: Prevent AI Slow Down 439]
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Activates the prevent AI slowdown effect.
Important:
Both parameters should be 0 (zero).
#440 (0x1B8)
Spell Effect: Babarian Rage
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the barbarian rage effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#441 (0x1B9)
Stat: Movement Modifier
Parameter #1: Statistic Modifier
Parameter #2: Type
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
Known values for 'Type' are:
0 Cumulative Modifier -> Movement = Movement + 'Statistic Modifier' value
1 Flat Value Modifier -> Movement = 'Statistic Modifier' value
2 Percentage Modifier -> Movement = (Movement * 'Statistic Modifier' value) / 100
#442 (0x1BA)
Feat: Cleave
Parameter #1: Unknown
Parameter #2: Unknown
Parameter #1: Unknown
Parameter #2: Unknown
Description:
Applies the Cleave effect to the targeted creature(s). The target will gain an additional attack if its victim is dies in this attack.
#443 (0x1BB)
State: Protection from Arrows
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the protection from arrows effect to the targeted creatrue(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
1 10/+1
2 10/+2
3 10/+3
4 10/+4
5 10/+5
Known values for 'Type' are:
1 10/+1
2 10/+2
3 10/+3
4 10/+4
5 10/+5
#444 (0x1BC)
State: Tenser's Transformation
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the tensor's transformation effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#445 (0x1BD)
Charm: Slippery Mind
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Used internally by the charm opcode. Removes charm opcodes from ther targetted creature(s).
#446 (0x1BE)
Spell Effect: Smite Evil
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the smite evil effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#447 (0x1BF)
Cure: Restoration
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the restoration effect to the targeted creature(s).
Important:
Both parameters should be 0 (zero).
#448 (0x1C0)
Spell Effect: Alicorn Lance Glow
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Applies the alicorn lance effect to the targeted crreature(s).
Important:
Both parameters should be 0 (zero).
#449 (0x1C1)
Spell Effect: Call Lightning
Parameter #1: Amount
Parameter #2: Irrelevant
Parameter #1: Amount
Parameter #2: Irrelevant
Description:
Activates the call lightning effect, causing strikes equal to the 'Amount' field.
#450 (0x1C2)
State: Globe of Invulnerability
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
Applies the globe of invulnerability effect to the targettted creature(s), in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Minor globe of invulnerability
1 Globe of invulnerability.
Known values for 'Type' are:
0 Minor globe of invulnerability
1 Globe of invulnerability.
#451 (0x1C3)
State: Lower Resistance
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Lowers the resistance of the targettted creature(s) by 2 * caster level (to a maximum of 50%). The effect is non-cummulative.
Important:
Both parameters should be 0 (zero).
#452 (0x1C4)
State: Bane
Parameter #1: Irrelevant
Parameter #2: Type
Parameter #1: Irrelevant
Parameter #2: Type
Description:
This is the reverse of the Bless opcode. The effect lowers the target's BaB and morale by 'Modifier'. The effect is non cumulative and removes Bless on apply.
Important:
Both parameters should be 0 (zero).
#453 (0x1C5)
Spell Effect: Power Attack
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Disables the usage of Expertise, detects the activation/revocation of Power Attack, prints appropriate messages. This effect is used internally.
#454 (0x1C6)
Spell Effect: Expertise
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Disables the usage of Power Attack, detects the activation/revocation of Expertise, prints appropriate messages. This effect is used internally.
#455 (0x1C7)
Spell Effect: Arterial Strike
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Disables the usage of Hmstring, detects the activation/revocation of Arterial Strike, prints appropriate messages. This effect is used internally.
#456 (0x1C8)
Spell Effect: Hamstring
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Disables the usage of Arterial Strike, detects the activation/revocation of Hamstring, prints appropriate messages. This effect is used internally.
#457 (0x1C9)
Spell Effect: Rapid Shot
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Parameter #1: Irrelevant
Parameter #2: Irrelevant
Description:
Detects the activation/revocation of Rapid Shot, prints appropriate messages. This effect is used internally.