# EFF v2 (BG2, EE)

Sorted by order in the file (sort alphabetically)

## Main Header

Standard keys

Key | Type
--- | ---
opcode | Integer
target[2] | Lookup (0=None, 1=Self, 2=PresetTarget, 3=Party, 4=Everyone, 5=EveryoneExceptParty, 6=CasterGroup, 7=TargetGroup, 8=EveryoneExceptSelf, 9=OriginalCaster)
power | Integer
parameter1 | Integer
parameter2 | Integer
parameter2a | Integer
parameter2b | Integer
timing | Lookup (0=InstantLimited, 1=InstantPermanent, 2=Equipped, 3=DelayLimited, 4=DelayPermanent, 5=DelayEquipped, 6=LimitedAfterDuration, 7=PermanentAfterDuration, 9=InstantPermanentAfterDeath)
duration | Integer
probability1[100] | Integer
probability2 | Integer
resource | String (8 bytes)
dicenumber | Integer
dicesize | Integer
save_vs_spells | Boolean
save_vs_breath | Boolean
save_vs_poison | Boolean
save_vs_wands | Boolean
save_vs_polymorph | Boolean
ignore_primary_target | Boolean
ignore_secondary_target | Boolean
bypass_mirror_image | Boolean
ignore_difficulty | Boolean
tobex_stacking | Boolean
save_bonus | Integer
tobex_stacking_id | Integer
special | Integer
primary | Integer
resist_dispel | Integer
parameter3 | Integer
parameter4 | Integer
parameter5 | Integer
resource2 | String (8 bytes)
resource3 | String (8 bytes)
parent_type | Lookup (0=None, 1=Spell, 2=Item)
parent_resource | String (8 bytes)
variable_name | String (32 bytes)
sectype | Integer