Arcanum: Of Steamworks and Magick Obscura Wiki
Advertisement

SpellList.mes contains data used by the game for casting spells and for various other functions. It is found in Arcanum4.dat under the rules folder.


//
// Spell List
//

// Defaults:  Casting Effect: Instant

// Defaults:  No Maintain, No Resist, Range is max visible
// Defaults:  MinIQ is one of (6, 9, 12, 15, 18) based on spell level
// Defaults:  Info is Neutral

// Defaults: Action AoE's are of type Any

// Ordering1: IQ: , Cost: , Maintain: , Resist: , Range: , Info:


//
// Notes:
//    Be *CAREFUL* with [End]AoE's and maintained spells, because if you put a
//    condition on them that can *CHANGE* during the course of play, then you
//    have to assume that it will.  An example of a bug this could cause is if
//    you had a spell that was only supposed to target LIVE critters, but the
//    critter dies...the spell would then become un-cancellable!
//
//    Also, it is possible for a spell to be terminated (interrupted,
//    de-maintained, etc.) before it finishes "starting up".  Because of this,
//    you need to make sure that you remove the begin eye-candy as well as
//    any maintain eye-candy!
//
//    It is not valid to have a maintained spell with no [Begin] section.
//

// College: [Conveyance] ------

// 00 -- Disarm
{1000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self}
{1001}{Cost: 5, Resist: (stat_dexterity @ 0), Info: aggressive}
{1004}{AI_Offensive: 1}
{1005}{[Begin], Type: Damage, DmgType: Dmg_Normal, Dmg: 0, Dmg_Flags: Weap_Dropped}
{1006}{[Begin], Type: EyeCandy, 2, Add}

// 01 -- Unlocking Cantrip
{1050}{AoE: Tgt_Obj_T_Portal | Tgt_Obj_T_Container}
{1051}{Cost: 10}
{1055}{[Begin], AoE: Tgt_Obj_T_Portal, Type: ObjFlag, obj_f_portal_flags, OPF_LOCKED, FLAG_OFF}
{1056}{[Begin], AoE: Tgt_Obj_T_Container, Type: ObjFlag, obj_f_container_flags, OCOF_LOCKED, FLAG_OFF}
{1057}{[Begin], Type: EyeCandy, 2, Add}

// 02 -- Unseen Force
{1100}{AoE: Tgt_Obj_No_Inven | Tgt_Obj_No_Self}
{1101}{Cost: 15, Info: aggressive}
{1104}{AI_Offensive: 10}
{1105}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{1106}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}
{1107}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_Weight_Below_5, Type: AGoal, anim_goal_knockback}
{1108}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_Weight_Below_5, Type: EyeCandy, 2, Add}

// 02 -- Shadow Shift
-1100--AoE: Tgt_Obj_T_Critter-
-1101--Cost: 15-
-1104--AI_Flee: 2-
-1105--[Begin], Type: Movement, Move_Location: Random_Tile_In_Radius_Self, Tile_Radius:5-
-1106--[Begin], Type: EyeCandy, 2, Add-

// 03 -- Spatial Distortion
{1150}{AoE: Tgt_Self | Tgt_Tile_Empty | Tgt_Tile_Pathable_To}
{1151}{Cost: 25}
{1154}{AI_Flee: 4}
{1155}{[Begin], AoE: Tgt_Self, Type: Movement, Move_Location: Target_Tile}
{1156}{[Begin], AoE: Tgt_Self, Type: EyeCandy, 2, Add}

// 04 -- Teleportation
{1200}{AoE: Tgt_Self}
{1201}{Cost: 50, ChargeBeginCost: 0}
{1205}{[Begin], Type: EyeCandy, 2, Add}
{1206}{[Begin], Type: Movement, Move_Location: Teleport_Tile}

//-1205--[Begin], Type: Movement, Move_Location: Teleport_Tile-
//-1206--[Begin], Type: EyeCandy, 2, Add-

-1200--AoE: Tgt_Obj_Self | Tgt_Tile_Empty-
-1201--Cost: 7-
// Note: OR Cost: 0!!
-1205--[Begin], AoE: Tgt_Obj_Self, Apply_AoE: Tgt_Self | Tgt_Tile, Type: Trait64, Teleport_Tile, Target_Tile-
-1206--[Begin], AoE: Tgt_Tile_Empty, Apply_AoE: Tgt_Self, Type: Movement, Move_Location: Teleport_Tile-
-1207--[Begin], AoE: Tgt_Tile_Empty, Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Add-

// College: [Divination] ------

// OSF_DETECTING_MAGIC

// 05 -- Sense Alignment
{1250}{AoE: Tgt_Self}
{1251}{Cost: 5, Maintain: (1 @ 10)}
//-1253--No_Stack: 1, Cancels_SF: OSF_DETECTING_ALIGNMENT, Disallowed_SF: OSF_DETECTING_ALIGNMENT-
{1253}{No_Stack: 1, Disallowed_SF: OSF_DETECTING_ALIGNMENT}
{1255}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_ALIGNMENT, FLAG_ON}
{1256}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_ALIGNMENT, FLAG_OFF}

// 06 -- See Contents
{1300}{AoE: Tgt_Obj_T_Container}
{1301}{Cost: 10}
{1305}{[Begin], Type: Identify, IF_DISPLAY_ALL}

// 06 -- Sense Traps
-1300--AoE: Tgt_Self-
-1301--Cost: 10, Maintain: (5 @ 10)-
-1303--No_Stack: 1, Cancels_SF: OSF_DETECTING_TRAPS-
-1305--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_TRAPS, FLAG_ON-
-1306--[Begin], Type: Effect, 157, Add-
-1307--[End], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_TRAPS, FLAG_OFF-
-1308--[End], Type: Effect, 157, Remove-

// 07 -- Sense Aura
{1350}{AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter}
{1351}{Cost: 15}
{1355}{[Begin], Type: Identify, IF_DISPLAY_ALL}

// 08 -- Sense Hidden
{1400}{AoE: Tgt_Self}
{1401}{Cost: 25, Maintain: (5 @ 10)}
//-1403--No_Stack: 1, Cancels_SF: OSF_DETECTING_INVISIBLE, Disallowed_SF: OSF_DETECTING_INVISIBLE-
{1403}{No_Stack: 1, Disallowed_SF: OSF_DETECTING_INVISIBLE}
{1405}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_INVISIBLE, FLAG_ON}
{1406}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_TRAPS, FLAG_ON}
{1407}{[Begin], Type: Effect, 157, Add}
{1408}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_INVISIBLE, FLAG_OFF}
{1409}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_DETECTING_TRAPS, FLAG_OFF}
{1410}{[End], Type: Effect, 157, Remove}


// 09 -- Divine Magic
{1450}{AoE: Tgt_Obj_Inven}
{1451}{Cost: 30}
{1455}{[Begin], Type: ObjFlag, obj_f_item_flags, OIF_IDENTIFIED, FLAG_ON}
{1456}{[Begin], Type: Identify, IF_DISPLAY_ALL}

// College: [Air] ------

// 11 -- Wind Walk
-1550--AoE: Tgt_Self-
-1551--Cost: 5, Maintain: (1 @ 10)- //, Disabled: 1-
-1553--Cancels_SF: OSF_FLOATING-
-1555--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_FLOATING, FLAG_ON-
-1556--[Begin], Type: AGoal, anim_goal_floating-
-1557--[Begin], Type: EyeCandy, 2, Add-
-1558--[Begin], Type: EyeCandy, 3, Add, Play: Stack-
-1559--[End], Type: ObjFlag, obj_f_spell_flags, OSF_FLOATING, FLAG_OFF-
-1560--[End], Type: EyeCandy, 3, Remove-
-1561--[End], Type: AGoalTerminate, anim_goal_floating-
-1562--[End], Type: EyeCandy, 2, Add, Play: Reverse- // Dissipating
// Here we could have another anim_goal to float down to the ground...

// 10 -- Vitality of Air
{1500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{1501}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
{1503}{No_Stack: 0}
{1504}{AI_Defensive: (2 @ 0)}
{1505}{[Begin], Type: Effect, 160, Add, Count: 4}  // raises Constitution
{1506}{[Begin], Type: EyeCandy, 2, Add}
{1507}{[End], Type: Effect, 160, Remove, Count: 4}
{1508}{[End], Type: EyeCandy, 2, Remove}  // Make sure it wasn't in the process of beginning

// 11 -- Poison Vapours
// Note: Radius *was* 2!!!
{1550}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{1551}{Cost: 10, Maintain: (5 @ 10), Resist: (stat_constitution @ 0), Info: aggressive}
//Maintain: (1 @ 5)
{1554}{AI_Offensive: 14}
{1555}{[Begin], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-50, Dmg_Flags: Scaled}  // 1-4
{1556}{[Begin], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Magic, Dmg: 2-8, Dmg_Flags: Scaled}  // 1-4
{1557}{[Begin], AoE: Tgt_Tile_Radius, Type: Summon, Proto: 4029}
{1558}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{1559}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack | Random_Start}
{1560}{[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-50, Dmg_Flags: Scaled}  // 1-4
{1561}{[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Magic, Dmg: 1-8, Dmg_Flags: Scaled}
{1562}{[End], Type: EyeCandy, 2, Remove}
{1563}{[End], Type: EyeCandy, 3, Remove}
{1564}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{1565}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{1566}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 12 -- Call Winds
{1600}{AoE: Tgt_Self | Tgt_Cone | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Non_Party_Critters, Radius:5}
{1601}{Cost: 15, Resist: (stat_constitution @ -5), Info: aggressive}
{1604}{AI_Offensive: 4}
{1605}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_Weight_Below_5, Type: AGoal, anim_goal_knockback}
{1606}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{1607}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, AoE_SF: OSF_BODY_OF_AIR, Type: Damage, DmgType: Dmg_Normal, Dmg: 30-50}
{1608}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}

// 13 -- Body of Air
{1650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{1651}{Cost: 25, Maintain: (2 @ 10)}
{1653}{Disallowed_TSF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{1654}{AI_Flee: 3, AI_Defensive: (14 @ 0)}
{1655}{[Begin], Type: Trait, art_num, 28, Palette: 1}
{1656}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_AIR, FLAG_ON}
{1657}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_ON}
{1658}{[Begin], Type: Effect, 51, Add}
{1659}{[Begin], Type: EyeCandy, 2, Add}
{1660}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_AIR, FLAG_OFF}
{1661}{[End], Type: Trait, art_num, -1}
{1662}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_OFF}
{1663}{[End], Type: Effect, 51, Remove}
{1664}{[End], Type: EyeCandy, 2, Remove}
{1665}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 14 -- Call Air Elemental
{1700}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{1701}{Cost: 50, Maintain: (5 @ 10)}
{1704}{AI_Summon: 10}
{1705}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28310}
{1706}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{1707}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{1708}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{1709}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{1710}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// College: [Earth] ------

// 15 -- Strength of Earth
{1750}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{1751}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
{1753}{No_Stack: 0}
{1754}{AI_Defensive: (2 @ 0)}
{1755}{[Begin], Type: Effect, 161, Add, Count: 4}  // raises Strength
{1756}{[Begin], Type: EyeCandy, 2, Add}
{1757}{[End], Type: Effect, 161, Remove, Count: 4}
{1758}{[End], Type: EyeCandy, 2, Remove}  // Make sure it wasn't in the process of beginning

// 16 -- Stone Throw
//-1800--AoE: Tgt_Tile | Tgt_Object | Tgt_Obj_No_Self- // Missile
{1800}{AoE: Tgt_Object | Tgt_Obj_No_Self} // Missile
{1801}{Cost: 10, Resist: (stat_constitution @ -5), Info: aggressive}
{1802}{Missile: 0}
{1804}{AI_Offensive: 3}
{1805}{[Begin], AoE: Tgt_Object, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-50, Dmg_Flags: Scaled}
{1806}{[Begin], AoE: Tgt_Object, Type: EyeCandy, 2, Add}

// 17 -- Wall of Stone
{1850}{AoE: Tgt_None, Radius: 2, [Begin]AoE: Tgt_Tile_Empty | Tgt_Tile_Radius_Wall, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{1851}{Cost: 15, Maintain: (1 @ 10)}
{1855}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4032}
{1856}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{1857}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack}
{1858}{[End], Type: EyeCandy, 2, Remove}
{1859}{[End], Type: EyeCandy, 3, Remove}
{1860}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{1861}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{1862}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 17 -- Merge with Stone
-1850--AoE: Tgt_Obj_T_Wall- // NOSTACK
-1851--Cost: 6, Maintain: (1 @ 1)-
-1853--Cancels_SF: OSF_PASSWALLED-
-1855--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_PASSWALLED, FLAG_ON-
-1856--[Begin], Type: EyeCandy, 2, Add-
-1857--[End], Type: ObjFlag, obj_f_spell_flags, OSF_PASSWALLED, FLAG_OFF-
-1858--[End], Type: EyeCandy, 2, Remove-
// Note: FIX!
//1855--[Begin], AoE: Tgt_Obj_T_Wall, Type: ObjFlag, obj_f_wall_flags, OF_BLOCKS_MOVEMENT, FLAG_OFF-
//1856--[End], AoE: Tgt_Obj_T_Wall, Type: ObjFlag, obj_f_wall_flags, OF_BLOCKS_MOVEMENT, FLAG_ON-
//1857--[End], AoE: Tgt_Obj_Radius | Tgt_Obj_In_Wall | Tgt_Obj_No_Self, Type: AGoal, anim_goal_knockback-
//1858--[End], AoE: Tgt_Obj_Radius | Tgt_Obj_In_Wall | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-4-

// 18 -- Body of Stone
{1900}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{1901}{Cost: 25, Maintain: (2 @ 10)}
{1903}{Disallowed_TSF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{1904}{AI_Defensive: (13 @ 0)}
{1905}{[Begin], Type: Trait, art_num, 3, Palette: 1}
{1906}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_EARTH, FLAG_ON}
{1907}{[Begin], Type: Effect, 61, Add}  // -5 speed, +5 dmg
{1908}{[Begin], Type: Effect, 52, Add}  // min DR 50
{1909}{[Begin], Type: EyeCandy, 2, Add}
{1910}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_EARTH, FLAG_OFF}
{1911}{[End], Type: Trait, art_num, -1}
{1912}{[End], Type: Effect, 61, Remove}
{1913}{[End], Type: Effect, 52, Remove}
{1914}{[End], Type: EyeCandy, 2, Remove}
{1915}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 19 -- Call Earth Elemental
{1950}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{1951}{Cost: 50, Maintain: (5 @ 10)}
{1954}{AI_Summon: 9}
{1955}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28311}
{1956}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{1957}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{1958}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{1959}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{1960}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// College: [Fire] ------

// 20 -- Repel Flames
-2000--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object-
-2001--Cost: 5, Maintain: (1 @ 10), Info: friendly-
-2003--No_Stack: 1-
-2005--[Begin], Type: Effect, 53, Add-  // min Fire DR 50
-2006--[Begin], Type: EyeCandy, 2, Add-
-2007--[Begin], Type: EyeCandy, 3, Add, Play: Stack-
-2008--[End], Type: Effect, 53, Remove-
-2009--[End], Type: EyeCandy, 2, Remove-  // Make sure it wasn't in the process of beginning
-2010--[End], Type: EyeCandy, 3, Remove-
-2011--[End], Type: EyeCandy, 2, Add, Play: Reverse- // Dissipating

// 20 -- Agility of Fire
{2000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{2001}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
{2003}{No_Stack: 0}
{2004}{AI_Defensive: (2 @ 0)}
{2005}{[Begin], Type: Effect, 162, Add, Count: 4}  // raises Dexterity
{2006}{[Begin], Type: EyeCandy, 2, Add}
{2007}{[End], Type: Effect, 162, Remove, Count: 4}
{2008}{[End], Type: EyeCandy, 2, Remove}  // Make sure it wasn't in the process of beginning

// 21 -- Wall of Fire
{2050}{AoE: Tgt_None, Radius: 2, [Begin]AoE: Tgt_Tile | Tgt_Tile_Radius_Wall, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2051}{Cost: 10, Maintain: (1 @ 10)}
// Note: Damage is done via animation goal
{2055}{[Begin], AoE: Tgt_Tile_Empty_Immobiles, Type: Summon, Proto: 4031}
{2056}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{2057}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack | Random_Start | Fire_Dmg}
{2058}{[End], Type: EyeCandy, 2, Remove}
{2059}{[End], Type: EyeCandy, 3, Remove}
{2060}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2061}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2062}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 22 -- Fireflash
-2100--AoE: Tgt_Obj_Radius, Radius: 2- // Missile
//-2100--AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2- // Missile
{2100}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_No_T_Wall | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned} // Missile
{2101}{Cost: 15, Resist: (stat_constitution @ -5), Info: aggressive}
{2102}{Missile: 0}
{2104}{AI_Offensive: 13}
{2105}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Invulnerable | Tgt_Non_Party_Critters, Type: Damage, DmgType: Dmg_Fire, Dmg: 15-45, Dmg_Flags: Scaled}
{2106}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Invulnerable | Tgt_Non_Party_Critters, Type: EyeCandy, 2, Add}
{2107}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Invulnerable | Tgt_Non_Party_Critters, Type: EyeCandy, 3, Add, Play: Stack}
{2108}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4050}
{2109}{[Begin], AoE: Tgt_Tile_Empty, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{2110}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}


// 23 -- Body of Fire
{2150}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{2151}{Cost: 25, Maintain: (10 @ 10)}
{2153}{Disallowed_TSF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{2154}{AI_Defensive: (2 @ 0)}
{2155}{[Begin], Type: Trait, art_num, 26, Palette: 1}
{2156}{[Begin], Type: Effect, 54, Add}  // min Fire DR 50
{2157}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_FIRE, FLAG_ON}
{2158}{[Begin], Type: EyeCandy, 2, Add}
{2159}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_FIRE, FLAG_OFF}
{2160}{[End], Type: Effect, 54, Remove}
{2161}{[End], Type: Trait, art_num, -1}
// Note: Extra fire dmg, when hit or attack is done elsewhere
{2162}{[End], Type: EyeCandy, 2, Remove}
{2163}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 24 -- Call Fire Elemental
{2200}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2201}{Cost: 50, Maintain: (5 @ 10)}
{2204}{AI_Summon: 8}
{2205}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28312}
{2206}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{2207}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{2208}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2209}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2210}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// College: [Water] ------

// 25 -- Purity of Water
{2250}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{2251}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
//-2253--No_Stack: 1-
{2253}{No_Stack: 0}
{2254}{AI_Defensive: (2 @ 0)}
{2255}{[Begin], Type: Effect, 163, Add, Count: 4}  // raises Beauty
{2256}{[Begin], Type: EyeCandy, 2, Add}
{2257}{[End], Type: Effect, 163, Remove, Count: 4}
{2258}{[End], Type: EyeCandy, 2, Remove}  // Make sure it wasn't in the process of beginning

// 26 -- Call Fog
//-2300--AoE: Tgt_None, [Begin]AoE: Tgt_Tile, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned-
{2300}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Tile | Tgt_Tile_Radius, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2301}{Cost: 10, Maintain: (1 @ 10)}
{2304}{AI_Flee: 1}
{2305}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4033}
{2306}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{2307}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack | Random_Start}
{2308}{[End], Type: EyeCandy, 2, Remove}
{2309}{[End], Type: EyeCandy, 3, Remove}
{2310}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2311}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2312}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 26 -- Water Walk
-2300--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object-
-2301--Cost: 5, Maintain: (1 @ 1), Info: friendly-
-2303--Cancels_SF: OSF_WATER_WALKING-
-2305--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_ON-
-2306--[Begin], Type: EyeCandy, 2, Add-
-2307--[Begin], Type: EyeCandy, 3, Add, Play: Stack-
-2308--[End], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_OFF-
-2309--[End], Type: EyeCandy, 2, Remove-
-2310--[End], Type: EyeCandy, 3, Remove-
-2311--[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback- // Dissipating

//-2307--[End], Any (Object over water), Type: AGoal, anim_goal_drown-
//Any (Object over water)

// 27 -- Squall of Ice
// Note: Radius WAS 2
//-2350--AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned-
{2350}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2351}{Cost: 15, Maintain: (5 @ 10), Resist: (stat_constitution @ -5)}
//Maintain: (1 @ 5)
{2354}{AI_Offensive: 11}
{2355}{[Begin], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Normal, Dmg: 3-12, Dmg_Flags: Scaled}
{2356}{[Begin], AoE: Tgt_Tile_Radius, Type: Summon, Proto: 4034}
{2357}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{2358}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack | Random_Start | Ice_Dmg}
//-2359--[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-12, Dmg_Flags: Scaled-
{2359}{[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-1, Dmg_Flags: Scaled}
// Note: Does this handle *all* summoned objects?  Sure seems to...
// Do extra damage versus Fire Elementals/Body of Fire
{2360}{[Maintain], AoE: Tgt_Obj_Radius, AoE_SF: OSF_BODY_OF_FIRE, Type: Damage, DmgType: Dmg_Normal, Dmg: 3-12}
{2361}{[End], Type: EyeCandy, 2, Remove}
{2362}{[End], Type: EyeCandy, 3, Remove}
{2363}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2364}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2365}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}
// Note: SHOULD DMG_TYPE be DMG_COLD?

// 28 -- Body of Water
{2400}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{2401}{Cost: 25, Maintain: (2 @ 10)}
{2403}{Disallowed_TSF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{2404}{AI_Defensive: (11 @ 0)}
{2405}{[Begin], Type: Trait, art_num, 27, Palette: 1}
{2406}{[Begin], Type: Effect, 55, Add}
{2407}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_WATER, FLAG_ON}
{2408}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_ON}
{2409}{[Begin], Type: Effect, 62, Add}   // Speed -5
{2410}{[Begin], Type: EyeCandy, 2, Add}
{2411}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_BODY_OF_WATER, FLAG_OFF}
{2412}{[End], Type: Effect, 55, Remove}
{2413}{[End], Type: Trait, art_num, -1}
{2414}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_WATER_WALKING, FLAG_OFF}
{2415}{[End], Type: Effect, 62, Remove}
{2416}{[End], Type: EyeCandy, 2, Remove}
{2417}{[End], Type: EyeCandy, 2, Add, Play: Reverse}
// Note: Object is invlunerable to normal dmg here!

// 29 -- Call Water Elemental
{2450}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2451}{Cost: 50, Maintain: (5 @ 10)}
{2454}{AI_Summon: 7}
{2455}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28313}
{2456}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{2457}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{2458}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2459}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2460}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// College: [Force] ------

// 30 -- Shield of Protection
{2500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
//-2500--AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead- // NOSTACK
{2501}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
{2503}{No_Stack: 1}
{2504}{AI_Defensive: (2 @ 0)}
{2505}{[Begin], Type: Effect, 63, Add, Count: 10}
{2506}{[Begin], Type: Effect, 155, Add, Count: 25, Scaled: 25}  // 25
{2507}{[Begin], Type: EyeCandy, 2, Add}
{2508}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{2509}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_ON}
{2510}{[End], Type: Effect, 63, Remove, Count: 10}
{2511}{[End], Type: Effect, 155, Remove, Count: 25, Scaled: 25}
{2512}{[End], Type: EyeCandy, 2, Remove}
{2513}{[End], Type: EyeCandy, 3, Remove}
{2514}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
{2515}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_OFF}

// 31 -- Jolt
//2550 -- AoE: Tgt_Object (Self-Radius) | NOSELF, Radius:1 --
-2550--AoE: Tgt_Obj_Radius, Radius:1-
{2550}{AoE: Tgt_Obj_Radius | Tgt_Self | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Non_Party_Critters, Radius:1}
{2551}{Cost: 10, Resist: (stat_constitution @ -10), Info: aggressive}
//-2552--[Begin]Caster: 16-
{2554}{AI_Offensive: 6}
{2555}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Electrical, Dmg: 2-25, Dmg_Flags: Scaled}
{2556}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 2, Add}
{2557}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 3, Add, Play: Stack}

// 32 -- Wall of Force
{2600}{AoE: Tgt_None, Radius: 2, [Begin]AoE: Tgt_Tile_Empty | Tgt_Tile_Radius_Wall, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{2601}{Cost: 15, Maintain: (2 @ 10)}
{2605}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4030}
{2606}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add}
{2607}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 3, Add, Play: Stack | Random_Start}
{2608}{[End], Type: EyeCandy, 2, Remove}
{2609}{[End], Type: EyeCandy, 3, Remove}
{2610}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{2611}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{2612}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 33 -- Bolt of Lightning
{2650}{AoE: Tgt_Object | Tgt_Obj_No_Self | Tgt_Obj_No_ST_Critter_Dead} // Missile
{2651}{Cost: 25, Resist: (stat_constitution @ -5), Info: aggressive}
{2652}{Missile: 0}
{2654}{AI_Offensive: 15}
{2655}{[Begin], Type: Damage, DmgType: Dmg_Electrical, Dmg: 20-70, Dmg_Flags: Scaled}
{2656}{[Begin], Type: EyeCandy, 2, Add}
{2657}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}

// 34 -- Disintegrate
// Note: No longer should affect walls!
//-2700--AoE: Tgt_Object | Tgt_Obj_No_Self | Tgt_Obj_No_T_PC- // Missile
{2700}{AoE: Tgt_Object | Tgt_Obj_No_Self | Tgt_Obj_No_T_PC | Tgt_Obj_No_T_Wall | Tgt_Obj_No_Invulnerable} // Missile
{2701}{Cost: 50, Resist: (stat_constitution @ -5), Info: aggressive}
{2702}{Missile: 0}
{2704}{AI_Offensive: 20}
{2705}{[Begin], Type: Damage, DmgType: Dmg_Electrical, Dmg: 30000-30000}
{2706}{[Begin], Type: EyeCandy, 2, Add, Play: Callback | Destroy}
{2707}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_ON}

// College: [Mental] ------

// 35 -- Charm
{2750}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_No_T_PC | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{2751}{Cost: 5, Maintain: (1 @ 10), Resist: (stat_willpower @ -5)} //, Info: aggressive-
{2753}{No_Stack: 1, Cancels_SF: OSF_CHARMED, Disallowed_TSF: OSF_CHARMED}
{2755}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_CHARMED, FLAG_ON}
{2756}{[Begin], Type: EyeCandy, 2, Add}
{2757}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_CHARMED, FLAG_OFF}
{2758}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 36 -- Stun
{2800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{2801}{Cost: 10, Resist: (stat_willpower @ -5), Info: aggressive}
{2804}{AI_Offensive: 7}
{2805}{[Begin], Type: EyeCandy, 2, Add}
{2806}{[End], Type: Damage, Dmg_Flags: Stunned}

// 37 -- Drain Will (WAS Stupefy)
{2850}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{2851}{Cost: 15, Maintain: (1 @ 10), Resist: (stat_willpower @ -5), Info: aggressive}
{2854}{AI_Offensive: 10}
{2855}{[Begin], Type: Effect, 59, Add}  // Halve IQ
{2856}{[Begin], Type: EyeCandy, 2, Add}
{2857}{[End], Type: Effect, 59, Remove}

// 38 -- Nightmare
{2900}{AoE: Tgt_Obj_Radius | Tgt_Self | Tgt_Obj_No_Self | Tgt_Non_Party_Critters | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, Radius:5}
{2901}{Cost: 20, Resist: (stat_willpower @ -5), Info: aggressive}
{2904}{AI_Offensive: 16}
{2905}{[Begin], Type: EyeCandy, 2, Add}
{2906}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}

// 39 -- Dominate Will
{2950}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_No_T_PC | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{2951}{Cost: 25, Maintain: (6 @ 10), Resist: (stat_willpower @ -5), Info: aggressive}
{2953}{No_Stack: 0, Disallowed_TSF: OSF_MIND_CONTROLLED}
{2954}{AI_Offensive: 19}
{2955}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{2956}{[Begin], Type: EyeCandy, 2, Add}
{2957}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}
// Note: Could make maintain cost affected by WP or level (or etc.) of target?

// College: [Meta] ------

// 40 -- Resist Magic
{3000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{3001}{Cost: 5, Maintain: (1 @ 10)}
{3003}{No_Stack: 1}
{3004}{AI_Defensive: (3 @ 0)}
{3005}{[Begin], Type: Effect, 56, Add}  // min Magic DR 50
{3006}{[Begin], Type: EyeCandy, 2, Add}
{3007}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3008}{[End], Type: Effect, 56, Remove}
{3009}{[End], Type: EyeCandy, 2, Remove}
{3010}{[End], Type: EyeCandy, 3, Remove}
{3011}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 41 -- Disperse Magic
{3050}{AoE: Tgt_Object}
{3051}{Cost: 10}
{3054}{AI_Defensive: (6 @ 1)}
{3055}{[Begin], Type: EyeCandy, 2, Add}  // Must be in this order in case was cast on a summoned critter
{3056}{[Begin], Type: Dispel}

// 42 -- Dweomer Shield
{3100}{AoE: Tgt_Object}
{3101}{Cost: 15, Maintain: (5 @ 10)}
{3103}{No_Stack: 1}
// Disabled because causes problems...
//-3104--AI_Defensive: (8 @ 1)-
{3105}{[Begin], Type: Dispel}
{3106}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ANTI_MAGIC_SHELL, FLAG_ON}
{3107}{[Begin], Type: EyeCandy, 2, Add}
{3108}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3109}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_ANTI_MAGIC_SHELL, FLAG_OFF}
{3110}{[End], Type: EyeCandy, 2, Remove}
{3111}{[End], Type: EyeCandy, 3, Remove}
{3112}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 43 -- Bonds of Magick
{3150}{AoE: Tgt_Object | Tgt_Obj_No_Self | Tgt_Obj_T_Critter}
{3151}{Cost: 35, Maintain: (5 @ 10), Info: friendly}
{3153}{No_Stack: 1}
{3154}{AI_Defensive: (10 @ 1)}
{3155}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_BONDS_OF_MAGIC, FLAG_ON}
{3156}{[Begin], Type: EyeCandy, 2, Add}
{3157}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3158}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_BONDS_OF_MAGIC, FLAG_OFF}
{3159}{[End], Type: EyeCandy, 2, Remove}
{3160}{[End], Type: EyeCandy, 3, Remove}
{3161}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 44 -- Reflection Shield
{3200}{AoE: Tgt_Object}
{3201}{Cost: 30, Maintain: (5 @ 10), Info: friendly}
{3203}{No_Stack: 1}
{3204}{AI_Defensive: (15 @ 0)}
{3205}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_FULL_REFLECTION, FLAG_ON}
{3206}{[Begin], Type: EyeCandy, 2, Add}
{3207}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3208}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_FULL_REFLECTION, FLAG_OFF}
{3209}{[End], Type: EyeCandy, 2, Remove}
{3210}{[End], Type: EyeCandy, 3, Remove}
{3211}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// College: [Morph] ------

// 45 -- Hardened Hands
{3250}{AoE: Tgt_Obj_T_Critter}
{3251}{Cost: 5, Maintain: (1 @ 10), Info: friendly}
{3253}{No_Stack: 1}
{3254}{AI_Defensive: (2 @ 0)}
{3255}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_HARDENED_HANDS, FLAG_ON}
{3256}{[Begin], Type: EyeCandy, 2, Add}
{3257}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3258}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_HARDENED_HANDS, FLAG_OFF}
{3259}{[End], Type: EyeCandy, 2, Remove}
{3260}{[End], Type: EyeCandy, 3, Remove}
{3261}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 46 -- Weaken
{3300}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_Self}
{3301}{Cost: 15, Maintain: (2 @ 10), Resist: (stat_constitution @ -5), Info: aggressive}
{3303}{No_Stack: 1}
{3304}{AI_Offensive: 1}
{3305}{[Begin], Type: Effect, 154, Add, Count: 25, Scaled: 25}
{3306}{[Begin], Type: Effect, 326, Add, Count: 5}
{3307}{[Begin], Type: EyeCandy, 2, Add}
{3308}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3309}{[End], Type: Effect, 154, Remove, Count: 25, Scaled: 25}
{3310}{[End], Type: Effect, 326, Remove, Count: 5}
{3311}{[End], Type: EyeCandy, 2, Remove}
{3312}{[End], Type: EyeCandy, 3, Remove}

// 46 -- Stone to Flesh
-3300--AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone-
-3301--Cost: 5-
-3305--[Begin], AoE: Tgt_Obj_T_Critter, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF-
-3306--[Begin], Type: EyeCandy, 2, Add-
-3307--[Begin], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF-
// Note: No longer valid on Walls!
//-3300--AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Wall | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone-
//-3301--Cost: 5-
//-3305--[Begin], AoE: Tgt_Obj_T_Critter, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF-
//-3306--[Begin], Type: EyeCandy, 2, Add-
//-3307--[Begin], AoE: Tgt_Obj_T_Wall | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF-

// 47 -- Shrink
{3350}{AoE: Tgt_Obj_T_Critter}
{3351}{Cost: 20, Maintain: (2 @ 10), Resist: (stat_constitution @ -5)}
{3353}{Cancels_SF: OSF_SHRUNK}
{3354}{AI_Offensive: 1}
{3355}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SHRUNK, FLAG_ON}
{3356}{[Begin], Type: Effect, 60, Add}
{3357}{[Begin], Type: EyeCandy, 2, Add}
{3358}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SHRUNK, FLAG_OFF}
{3359}{[End], Type: Effect, 60, Remove}
{3360}{[End], Type: EyeCandy, 2, Remove}
{3361}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 48 -- Flesh to Stone
{3400}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone | Tgt_Obj_No_Self}
{3401}{Cost: 20, Duration: (10 @ -1), Resist: (stat_constitution @ -5), Info: aggressive}
{3404}{AI_Offensive: 9}
{3405}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: EyeCandy, 2, Add}
{3406}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_ON}
{3407}{[Begin], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: EyeCandy, 3, Remove}
{3408}{[Begin], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, AoE_SF: OSF_STONED, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF}
{3409}{[End], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: EyeCandy, 2, Remove}
{3410}{[End], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF}
{3411}{[End], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: EyeCandy, 3, Remove}
{3412}{[End], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, AoE_SF: OSF_STONED, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_ON}
// Note: No longer valid on Walls!
//-3350--AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Wall | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone | Tgt_Obj_No_Self-
//-3351--Cost: 10, Resist: (stat_constitution @ -5), Info: aggressive-
//-3355--[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: EyeCandy, 2, Add-
//-3356--[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_ON-
//-3357--[Begin], AoE: Tgt_Obj_T_Wall | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: EyeCandy, 3, Remove-
//-3358--[Begin], AoE: Tgt_Obj_T_Wall | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, AoE_SF: OSF_STONED, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF-

// 49 -- Polymorph Other
{3450}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead  | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{3451}{Cost: 30, Maintain: (5 @ 10), Resist: (stat_constitution @ -5), Info: aggressive}
//-3453--Cancels_SF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED-
{3453}{Disallowed_TSF: OSF_POLYMORPHED | OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_STONED}
{3454}{AI_Offensive: 18}
{3455}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_POLYMORPHED, FLAG_ON}
{3456}{[Begin], Type: EyeCandy, 2, Add}
{3457}{[Begin], Type: Trait, art_num, 20}  // 20 is sheep, 0 is wolf  //, List: Animal_Weak-
{3458}{[Begin], Type: Effect, 156, Add}
{3459}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_POLYMORPHED, FLAG_OFF}
{3460}{[End], Type: Trait, art_num, -1}
{3461}{[End], Type: Effect, 156, Remove}

// College: [Nature] ------

// 50 -- Charm Beast
//-3500--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object-
{3500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_Radius | Tgt_Self | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical, [Begin]Radius: 6}
{3501}{Cost: 8, Resist: (stat_willpower @ -5)} //, Info: aggressive-
//-3503--Cancels_SF: OSF_CHARMED-
{3505}{[Begin], AoE: Tgt_Obj_Radius, Type: ObjFlag, obj_f_spell_flags, OSF_CHARMED, FLAG_ON}
{3506}{[Begin], AoE: Tgt_Obj_Radius, Type: EyeCandy, 2, Add}
//-3507--[End], Type: ObjFlag, obj_f_spell_flags, OSF_CHARMED, FLAG_OFF-

// 51 -- Entangle
{3550}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
//-3551--Cost: 5, Maintain: (1 @ 10), Info: aggressive-
{3551}{Cost: 5, Maintain: (2 @ 10), DurationTriggerCount: 2, Resist: (stat_strength @ -1)}  // 1 time
{3553}{Disallowed_TSF: OSF_ENTANGLED}
{3554}{AI_Defensive: (4 @ 1)}
{3555}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_ON}
{3556}{[Begin], Type: EyeCandy, 2, Add}
{3557}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3558}{[Begin], Type: Effect, 62, Add}  // Speed -5
{3559}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_OFF}
{3560}{[End], Type: EyeCandy, 2, Remove}
{3561}{[End], Type: EyeCandy, 3, Remove}
{3562}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
{3563}{[End], Type: Effect, 62, Remove}

// 52 -- Control Beast
{3600}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Object}
{3601}{Cost: 15, Maintain: (2 @ 10), Resist: (stat_willpower @ -5), Info: aggressive}
//-3603--No_Stack: 1-
{3603}{No_Stack: 0, Disallowed_TSF: OSF_MIND_CONTROLLED}
{3605}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{3606}{[Begin], Type: EyeCandy, 2, Add}
{3607}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3608}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}
{3609}{[End], Type: EyeCandy, 2, Remove}
{3610}{[End], Type: EyeCandy, 3, Remove}
{3611}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 53 -- Succor Beast
{3650}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{3651}{Cost: 20, Maintain: (4 @ 10)}
{3654}{AI_Summon: 6}
{3655}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 0, List: 4} // Proto: 28319-  // 28340  //, List: Animal_Tough-
{3656}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{3657}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{3658}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{3659}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{3660}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 54 -- Regenerate
{3700}{AoE: Tgt_Self | Tgt_All_Party_Critters | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{3701}{Cost: 25, Maintain: (5 @ 10), Info: friendly}
{3703}{No_Stack: 1}
{3704}{}
{3705}{[Begin], AoE: Tgt_Self, Type: EyeCandy, 2, Add}
{3706}{[Begin], AoE: Tgt_Self, Type: EyeCandy, 3, Add, Play: Stack}
{3707}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged, Type: Heal, Dmg: 1-7, Dmg_Flags: Scaled}
{3708}{[End], AoE: Tgt_Self, Type: EyeCandy, 2, Remove}
{3709}{[End], AoE: Tgt_Self, Type: EyeCandy, 3, Remove}
{3710}{[End], AoE: Tgt_Self, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
//-3710--[End], Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Add, Play: Reverse- // Dissipating


// College: [Necromantic (Evil)] ------

// 55 -- Harm
{3750}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self}
{3751}{Cost: 5, Info: aggressive}
{3754}{AI_Offensive: 1}
// Dmg_Magic
{3755}{[Begin], Type: Damage, DmgType: Dmg_Normal, Dmg: 3-40, Dmg_Flags: Scaled}
{3756}{[Begin], Type: EyeCandy, 2, Add}

// 56 -- Poison
-3800--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_Self-
-3801--Cost: 10, Info: aggressive-
-3804--AI_Offensive: 8-
-3805--[Begin], Type: Damage, DmgType: Dmg_Poison, Dmg: 50-  // 50
-3806--[Begin], Type: EyeCandy, 2, Add-

// 56 -- Conjure Spirit
{3800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{3801}{Cost: 10, Maintain: (3 @ 10)}
{3803}{No_Stack: 1, Disallowed_TSF: OSF_SPOKEN_WITH_DEAD}
{3804}{No_Reflect: 1}
{3805}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_ON}
{3806}{[Begin], Type: EyeCandy, 2, Add}
{3807}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{3808}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_OFF}
{3809}{[End], Type: EyeCandy, 2, Remove}
{3810}{[End], Type: EyeCandy, 3, Remove}
{3811}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
//---[Begin], AoE: Tgt_Obj_No_Self | Tgt_Tile_Radius, Type: Summon, Proto: -2-
//---[End], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-

// 57 -- Summon Undead
{3850}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{3851}{Cost: 15, Maintain: (2 @ 10)}
// NOTE: Disable the following line if you want the old "Summon Undead" that is KOS to *everything*!
{3854}{AI_Summon: 1}
// 28440 -- Greater Skeleton?
//-3855--[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28442, Clear_Faction: 1- // Bone Butcher
{3855}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 0, List: 5} // Summon Undead Scaled List
// NOTE: Remove the following line if you want the old "Summon Undead" that is KOS to *everything*!
{3856}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{3857}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{3858}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{3859}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{3860}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 58 -- Create Undead
{3900}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Summoned}
{3901}{Cost: 20, Maintain: (3 @ 10)}
//-3903--No_Stack: 1, Cancels_SF: OSF_SPOKEN_WITH_DEAD-
{3903}{}
{3904}{No_Reflect: 1}
{3905}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Heal, Dmg_Flags: Full | Reanimate}
{3906}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}
{3907}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: EyeCandy, 2, Add}
{3908}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_critter_flags, OCF_UNDEAD, FLAG_ON}
{3909}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{3910}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}
{3911}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Damage, Dmg_Flags: Full | Death}
// For Multiplayer, we allow PCs to be resurrected after being turned into Undead, for Game-Play reasons
{3912}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable | Tgt_Obj_T_PC, Type: ObjFlag, obj_f_critter_flags, OCF_UNDEAD, FLAG_OFF}

// 59 -- Quench Life
{3950}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter  | Tgt_Obj_No_Self | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical, [Callback]AoE: Tgt_Object}
{3951}{Cost: 50, Resist: (stat_constitution @ -5), Info: aggressive}
{3954}{AI_Offensive: 17}
{3955}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
{3956}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{3957}{[Callback], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
//-3958--[Callback], Type: Damage, Dmg_Flags: Full | Death, Dmg_Flags: Scaled-
{3958}{[Callback], Type: Damage, DmgType: Dmg_Normal, Dmg: 50-100, Dmg_Flags: Scaled}

// College: [Necromantic (Good)] ------

// 60 -- Minor Healing
{4000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{4001}{Cost: 5, Info: friendly}
{4004}{AI_HealingLight: 1}
{4005}{[Begin], Type: Heal, Dmg: 5-30, Dmg_Flags: Scaled}
{4006}{[Begin], Type: EyeCandy, 2, Add}

// 61 -- Halt Poison
{4050}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{4051}{Cost: 8, Info: friendly}
{4054}{AI_CurePoison: 1}
{4055}{[Begin], Type: Heal, DmgType: Dmg_Poison, Dmg: 50}
{4056}{[Begin], Type: EyeCandy, 2, Add}

// 62 -- Major Healing
{4100}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{4101}{Cost: 20, Info: friendly}
{4104}{AI_HealingMedium: 3}
{4105}{[Begin], Type: Heal, Dmg: 40-80, Dmg_Flags: Scaled | Scars | Crippling}
{4106}{[Begin], Type: EyeCandy, 2, Add}

// 63 -- Sanctuary
{4150}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead}
{4151}{Cost: 15, Maintain: (5 @ 10)}
{4155}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ENSHROUDED, FLAG_ON}
{4156}{[Begin], Type: EyeCandy, 2, Add}
{4157}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{4158}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_ENSHROUDED, FLAG_OFF}
{4159}{[End], Type: EyeCandy, 3, Remove}
{4160}{[End], Type: EyeCandy, 2, Remove}
{4161}{[End], Type: EyeCandy, 2, Add, Play: Reverse}


// 64 -- Ressurrect
{4200}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [Callback]AoE: Tgt_Object}
{4201}{Cost: 50, Info: friendly}
{4203}{Cancels_SF: OSF_SPOKEN_WITH_DEAD}
{4204}{AI_Resurrect: 1}
{4205}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
{4206}{[Callback], Type: Heal, Dmg_Flags: Full | Resurrect}

//-4205--[Begin], AoE: Tgt_Obj_No_ST_Critter_Unresurrectable, Type: EyeCandy, 2, Add, Play: Callback-
//-4206--[Begin], AoE: Tgt_Obj_ST_Critter_Unresurrectable, Type: EyeCandy, 3, Add-
//-4207--[Callback], AoE: Tgt_Obj_No_ST_Critter_Unresurrectable, Type: Heal, Dmg_Flags: Full | Resurrect-
//-4208--[Callback], AoE: Tgt_Obj_No_ST_Critter_Unresurrectable, Type: Heal, DmgType: Dmg_Poison, Dmg: 32000-

// College: [Phantasm] ------

// 65 -- Illuminate
//-4250--AoE: Tgt_Self-
{4250}{AoE: Tgt_Obj_T_Critter}
{4251}{Cost: 3, Maintain: (1 @ 10)}
{4253}{No_Stack: 1}
{4255}{[Begin], Type: EyeCandy, 3, Add}
{4256}{[End], Type: EyeCandy, 3, Remove}

// 66 -- Flash
{4300}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{4301}{Cost: 10, Duration: (10 @ -1), Resist: (stat_constitution @ -5), Info: aggressive}
{4304}{AI_Offensive: 1}
{4303}{No_Stack: 1}
{4305}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_ON}
{4306}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_OFF}


// 67 -- Blur Sight
{4350}{AoE: Tgt_Self}
{4351}{Cost: 15, Maintain: (2 @ 10)}
{4353}{No_Stack: 1}
{4354}{AI_Defensive: (7 @ 0)}
{4355}{[Begin], Type: Effect, 159, Add, Count: 30}
{4356}{[End], Type: Effect, 159, Remove, Count: 30}

// 68 -- Phantasmal Fiend
{4400}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{4401}{Cost: 20, Maintain: (4 @ 10), Resist: (stat_willpower @ -5)}
{4404}{AI_Summon: 3}
{4405}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28464} // 28325
{4406}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_ILLUSION, FLAG_ON}
{4407}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{4408}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{4409}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{4410}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{4411}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 69 -- Invisibility
{4450}{AoE: Tgt_Obj_T_Critter}
{4451}{Cost: 30, Maintain: (6 @ 10), Info: friendly}
{4453}{No_Stack: 1, Disallowed_TSF: OSF_INVISIBLE}
{4454}{AI_Flee: 10}
{4455}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_INVISIBLE, FLAG_ON}
{4456}{[Begin], AoE: Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add} // 23
{4457}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_INVISIBLE, FLAG_OFF}
{4458}{[End], AoE: Tgt_Obj_T_Critter, Type: EyeCandy, 2, Remove} // 23

// College: [Summon] ------

// 70 -- Plague of Insects
{4500}{AoE: Tgt_Object, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_Self}
{4501}{Cost: 3, Maintain: (1 @ 10), Info: aggressive}
//-4503--No_Stack: 1, Cancels_SF: OSF_ENTANGLED, Disallowed_TSF: OSF_ENTANGLED-
{4503}{No_Stack: 1}
{4504}{AI_Offensive: 2}
//-4505--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_ON-
{4505}{[Begin], Type: EyeCandy, 2, Add}
{4506}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{4507}{[Begin], Type: Effect, 62, Add}  // Speed -5
{4508}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
//-4510--[EndCallback], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_OFF-
{4509}{[EndCallback], Type: EyeCandy, 2, Remove}
{4510}{[EndCallback], Type: EyeCandy, 3, Remove}
{4511}{[EndCallback], Type: Effect, 62, Remove}


// 71 -- Orcish Champion
{4550}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{4551}{Cost: 10, Maintain: (2 @ 10)}
{4554}{AI_Summon: 1}
{4555}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28443} // 17298 // 28315
{4556}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{4557}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{4558}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{4559}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{4560}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 72 -- Guardian Ogre
{4600}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{4601}{Cost: 15, Maintain: (3 @ 10)}
{4604}{AI_Summon: 2}
{4605}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 17286} // 17276 //28316
{4606}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{4607}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{4608}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{4609}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{4610}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 73 -- Whisper to Shadows
-4650--AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned-
-4651--Cost: 20, Maintain: (5 @ 10)-
-4655--[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28317-
-4656--[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON-
-4657--[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback-
-4658--[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback- // Dissipating
-4659--[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF-
-4660--[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-

// 73 -- Hellgate
{4650}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{4651}{Cost: 30, Maintain: (6 @ 10)}
{4654}{AI_Summon: 4}
{4655}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28318}
{4656}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{4657}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{4658}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{4659}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{4660}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}
// Note: Demon *could* regenerate by having maintain effect to do so...but for now, we don't want this

// 74 -- Familiar
{4700}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{4701}{Cost: 60}
{4703}{Disallowed_SF: OSF_FAMILIAR}
{4704}{AI_Summon: 5}
{4705}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 0, List: 3}
{4706}{[Begin], Apply_AoE: TGT_SELF, Type: ObjFlag, obj_f_spell_flags, OSF_FAMILIAR, FLAG_ON}
{4707}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{4708}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_npc_flags, ONF_FAMILIAR, FLAG_ON}
{4709}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{4710}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}


// College: [Temporal] ------

// 75 -- Magelock
{4750}{AoE: Tgt_Obj_T_Portal | Tgt_Obj_No_ST_Magically_Held}
{4751}{Cost: 5, Maintain: (1 @ 10)}
//-4753--Disallowed_FlagIdx: obj_f_portal_flags, Disallowed_FlagIdx: OPF_MAGICALLY_HELD-
{4755}{[Begin], Type: ObjFlag, obj_f_portal_flags, OPF_MAGICALLY_HELD, FLAG_ON}
{4756}{[Begin], Type: EyeCandy, 2, Add}
{4757}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{4758}{[End], Type: ObjFlag, obj_f_portal_flags, OPF_MAGICALLY_HELD, FLAG_OFF}
{4759}{[End], Type: EyeCandy, 2, Remove}
{4760}{[End], Type: EyeCandy, 3, Remove}
{4761}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 76 -- Congeal Time
{4800}{AoE: Tgt_List, [Begin]AoE: Tgt_Self | Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Non_Party_Critters, [Begin]Radius:9}
{4801}{Cost: 10, Maintain: (2 @ 10), Resist: (stat_willpower @ -5)}  //, Info: aggressive
{4803}{No_Stack: 1}
{4804}{AI_Defensive: (5 @ 1)}
{4805}{[Begin], AoE: Tgt_Obj_No_Self, Type: Effect, 57, Add}  // halve speed
{4806}{[Begin], AoE: Tgt_Obj_No_Self, Type: EyeCandy, 2, Add}
{4807}{[Begin], AoE: Tgt_Obj_No_Self, Type: EyeCandy, 3, Add, Play: Stack}
{4808}{[End], Type: Effect, 57, Remove}
{4809}{[End], Type: EyeCandy, 2, Remove}
{4810}{[End], Type: EyeCandy, 3, Remove}
{4811}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 77 -- Hasten
{4850}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{4851}{Cost: 20, Maintain: (3 @ 10), Info: friendly}
{4853}{No_Stack: 1}
{4854}{AI_Flee: 7}
{4855}{[Begin], Type: Effect, 58, Add}
{4856}{[Begin], Type: EyeCandy, 2, Add}
{4857}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{4858}{[End], Type: Effect, 58, Remove}
{4859}{[End], Type: EyeCandy, 2, Remove}
{4860}{[End], Type: EyeCandy, 3, Remove}
{4861}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 78 -- Stasis
{4900}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{4901}{Cost: 25, Maintain: (4 @ 10), DurationTriggerCount: 2, Resist: (stat_willpower @ -10), Info: aggressive}
{4903}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED}
{4904}{AI_Defensive: (9 @ 1)}
{4905}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{4906}{[Begin], Type: EyeCandy, 2, Add}
{4907}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{4908}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{4909}{[End], Type: EyeCandy, 2, Remove}
{4910}{[End], Type: EyeCandy, 3, Remove}
{4911}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 79 -- Tempus Fugit
{4950}{AoE: Tgt_Self | Tgt_All_Party_Critters} // NOSTACK
{4951}{Cost: 40, Maintain: (5 @ 10)}
{4953}{Cancels_SF: OSF_TEMPUS_FUGIT}
{4954}{AI_Flee: 8}
{4955}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_TEMPUS_FUGIT, FLAG_ON}
{4956}{[Begin], Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Add}
{4957}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_TEMPUS_FUGIT, FLAG_OFF}
{4958}{[End], Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Remove}
{4959}{[End], Apply_AoE: Tgt_Self, Type: EyeCandy, 3, Add, Play: Reverse}

// Note: Here we could re-set the flag if dispel were to take it off...
//   but for now that can't happen...
//-4957--[Maintain], Type: ObjFlag, obj_f_spell_flags, OSF_TEMPUS_FUGIT, FLAG_ON-




// Item-Only Spells -----

// 80 -- Regeneration
{5000}{AoE: Tgt_Parent_Obj}
{5001}{Cost: 0}
{5005}{[Maintain], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, Type: Heal, Dmg: 1}
// Note: We *could* allow regen after death...perhaps...for artifact ability...

// 81 -- Drain Life
{5050}{AoE: Tgt_Attacker_Obj | Tgt_Parent_Obj}
{5051}{Cost: 0, Info: aggressive}
// Note: No Undead?
{5055}{[Begin], AoE: Tgt_Attacker_Obj | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, Type: Damage, DmgType: Dmg_Magic, Dmg: 3}
{5056}{[Begin], AoE: Tgt_Parent_Obj | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, Type: Heal, Dmg: 3}

// 82 -- Fire Shield
-5100--AoE: Tgt_Attacker_Obj-
{5100}{AoE: Tgt_Object, Radius:2}
{5101}{Cost: 0, Info: aggressive}
{5103}{No_Stack: 1, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee}
{5105}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: Damage, DmgType: Dmg_Fire, Dmg: 3-5}
{5106}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: EyeCandy, 3, Add}

// 83 -- Shield
{5150}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object} // NOSTACK
{5151}{Cost: 0, Duration: (8 @ -1)}
{5153}{Disallowed_TSF: OSF_SHIELDED}
{5155}{[Begin], Type: Effect, 63, Add, Count: 10}
{5156}{[Begin], Type: Effect, 155, Add, Count: 25}
{5157}{[Begin], Type: EyeCandy, 2, Add}
{5158}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{5159}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_ON}
{5160}{[End], Type: Effect, 63, Remove, Count: 10}
{5161}{[End], Type: Effect, 155, Remove, Count: 25}
{5162}{[End], Type: EyeCandy, 2, Remove}
{5163}{[End], Type: EyeCandy, 3, Remove}
{5164}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
{5165}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_OFF}

// 84 -- Invisibility, Continuing (Ring)
{5200}{AoE: Tgt_Parent_Obj}
{5201}{Cost: 0}
{5203}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{5205}{[Begin], ItemTriggers: Wear, Type: ObjFlag, obj_f_spell_flags, OSF_INVISIBLE, FLAG_ON}
{5206}{[Begin], ItemTriggers: Unwear, Type: ObjFlag, obj_f_spell_flags, OSF_INVISIBLE, FLAG_OFF}

// 85 -- Demonic Armor: Base Effects
{5250}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5251}{Cost: 0}
{5253}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{5255}{[Begin], ItemTriggers: Wear, Type: Effect, 144, Add}
{5256}{[Begin], ItemTriggers: Unwear, Type: Effect, 144, Remove}
{5257}{[Begin], AoE: Tgt_Obj_ST_Critter_Good, ItemTriggers: Wear, Type: Damage, DmgType: Dmg_Normal, Dmg: 30-40}
{5258}{[Begin], AoE: Tgt_Obj_ST_Critter_Good, ItemTriggers: Wear, Type: Effect, 145, Add, Cause: Injury}
{5259}{[Begin], ItemTriggers: Unwear, Type: Damage, DmgType: Dmg_Normal, Dmg: 10-20}
{5260}{[Begin], ItemTriggers: Unwear, Type: Effect, 145, Add, Cause: Injury}

// 86 -- Demonic Armor: Dmg Shield
{5300}{AoE: Tgt_Object, Radius:2}
{5301}{Cost: 0, Info: aggressive}
{5303}{No_Stack: 1, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee}
{5305}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: Damage, DmgType: Dmg_Electrical, Dmg: 3-5}
{5306}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: EyeCandy, 3, Add}
//-5307--[Begin], AoE: Tgt_Obj_ST_Critter_Good, ItemTriggers: Parent_Hit | Target_Attacker, Type: Damage, DmgType: Dmg_Electrical, Dmg: 3-5-
//-5308--[Begin], AoE: Tgt_Obj_ST_Critter_Good, ItemTriggers: Parent_Hit | Target_Attacker, Type: EyeCandy, 3, Add-

// 87 -- Electrical Shield
{5350}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5351}{Cost: 0, Info: aggressive}
{5353}{No_Stack: 1, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee}
{5355}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: Damage, DmgType: Dmg_Electrical, Dmg: 3-5}
{5356}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: EyeCandy, 3, Add}

// 88 -- SnakeForm
{5400}{AoE: Tgt_Obj_T_Critter}
{5401}{Cost: 0}
{5403}{No_Stack: 1, Cancels_SF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{5405}{[Begin], Type: EyeCandy, 2, Add}
{5406}{[Begin], Type: Trait, art_num, 15}  // 15 is Snake Man

// 89 -- EarthQuake
{5450}{AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_Self, Radius:5}
{5451}{Resist: (stat_dexterity @ -5), Info: aggressive}
// Note: Activate the Proc *CHANCE*?
{5453}{No_Stack: 1, ItemTriggers: Parent_Dmgs_Opponent} //  | Random_Chance_Uncommon
{5455}{[Begin], ItemTriggers: Parent_Dmgs_Opponent, Type: EyeCandy, 2, Add}
{5456}{[Begin], ItemTriggers: Parent_Dmgs_Opponent, Type: AGoal, anim_goal_knock_down}

// 90 -- Harm Undead
{5500}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Undead}
{5501}{Cost: 0, Info: aggressive}
{5503}{No_Stack: 1}
{5505}{[Begin], Type: EyeCandy, 2, Add}
{5506}{[Begin], Type: Damage, DmgType: Dmg_Normal, Dmg: 1-6}

// 91 -- Area Fear Undead
{5550}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Undead}
{5551}{Cost: 0, Info: aggressive}
{5553}{No_Stack: 1}
{5555}{[Begin], Type: EyeCandy, 2, Add}
{5556}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}

// 92 -- Holy Smiting
{5600}{AoE: Tgt_Obj_T_Critter}
{5601}{Cost: 0, Info: aggressive}
{5603}{No_Stack: 1}
{5605}{[Begin], Type: EyeCandy, 2, Add}
{5606}{[Begin], Type: Damage, DmgType: Dmg_Normal, Dmg: 1-6}

// 93 -- Slaying Strength
// Note: Could limit this by attacker type? (Undead, etc.)
{5650}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5651}{Duration: (8 @ -1), Info: friendly}
{5653}{No_Stack: 1, ItemTriggers: Parent_Hit | Parent_Atks_Opponent}
{5655}{[Begin], ItemTriggers: Parent_Hit | Parent_Atks_Opponent, Type: Effect, 152, Add}
{5656}{[End], ItemTriggers: Parent_Hit | Parent_Atks_Opponent, Type: Effect, 152, Remove}

// 94 -- Hammer of the Earth
{5700}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5701}{Info: friendly}
{5703}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{5705}{[Begin], ItemTriggers: Wear, Type: Effect, 148, Add}
{5706}{[Begin], ItemTriggers: Wear, Type: Effect, 149, Add}
{5707}{[Begin], ItemTriggers: Unwear, Type: Effect, 148, Remove}
{5708}{[Begin], ItemTriggers: Unwear, Type: Effect, 149, Remove}

// 95 -- Axe of the Winds
{5750}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5751}{Info: friendly}
{5753}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{5755}{[Begin], ItemTriggers: Wear, Type: Effect, 150, Add}
{5756}{[Begin], ItemTriggers: Unwear, Type: Effect, 150, Remove}

// 96 -- Dagger of Pain
{5800}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5801}{Info: friendly}
{5803}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{5805}{[Begin], ItemTriggers: Wear, Type: Effect, 146, Add}
{5806}{[Begin], ItemTriggers: Unwear, Type: Effect, 146, Remove}

// 97 -- Animate Corpse
// Note: UNIMPED
{5850}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5851}{Info: friendly}
{5853}{No_Stack: 1, ItemTriggers: Wear | Unwear}

// 98 -- Spell Breaker
// Note: UNIMPED
{5900}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{5901}{Info: aggressive}
{5903}{No_Stack: 1, ItemTriggers: Wear | Unwear}

// 99 -- Bashing
// Note: UNIMPED
{5950}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{5951}{Resist: (stat_willpower @ -5), Info: aggressive}
{5955}{[Begin], Type: EyeCandy, 2, Add}
{5956}{[End], Type: Damage, Dmg_Flags: Stunned}

// 100 -- Life Ward
// Note: UNIMPED
{6000}{AoE: Tgt_None, [Begin]AoE: Tgt_Parent_Obj | Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [Callback]AoE: Tgt_Object}
{6001}{Info: friendly}
{6003}{Cancels_SF: OSF_SPOKEN_WITH_DEAD, ItemTriggers: Parent_Dying}
{6005}{[Begin], ItemTriggers: Parent_Dying, Type: EyeCandy, 2, Add, Play: Callback}
{6006}{[Callback], ItemTriggers: Parent_Dying, Type: Heal, Dmg_Flags: Full | Resurrect}
{6007}{[Callback], ItemTriggers: Parent_Dying, Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}

// 101 -- Chain Lightning
// Note: UNIMPED
{6050}{AoE: Tgt_Object | Tgt_Obj_No_Self} // Missile
{6051}{Cost: 5, Resist: (stat_constitution @ -5), Info: aggressive}
{6052}{Missile: 0}
{6055}{[Begin], Type: Damage, DmgType: Dmg_Electrical, Dmg: 10-40}
{6056}{[Begin], Type: EyeCandy, 2, Add}
{6057}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}

// 102 -- Greater Healing
// Note: UNIMPED
{6100}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged_Poisoned}
{6101}{Info: friendly}
{6105}{[Begin], Type: Heal, Dmg_Flags: Full}
{6106}{[Begin], Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}
{6107}{[Begin], Type: EyeCandy, 2, Add}

// 103 -- Steal Life
// Note: UNIMPED
{6150}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical}
{6151}{Duration: (60 @ -1), Info: aggressive}
{6153}{No_Stack: 1}
{6155}{[Begin], Type: Effect, 153, Add}
{6156}{[Begin], Type: Recharge, 1, Max: 40}
{6157}{[End], Type: Effect, 153, Remove}

// 104 -- Mind Warp
// Note: UNIMPED
{6200}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{6201}{Duration: (60 @ -1), Info: aggressive}
{6203}{No_Stack: 1}
{6205}{[Begin], Type: Effect, 153, Add}
{6206}{[End], Type: Effect, 153, Remove}

// 105 -- Unrevivifiable Undead
// Note: UNIMPED
//-6250--AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical-
{6250}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical}
{6251}{Info: friendly}
{6253}{No_Stack: 1}
{6255}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_UNREVIVIFIABLE, FLAG_ON}

// 106 -- Area Fear
// Note: UNIMPED
{6300}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical}
{6301}{Cost: 0, Info: aggressive}
{6303}{No_Stack: 1}
{6305}{[Begin], Type: EyeCandy, 2, Add}
{6306}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}

// 107 -- Area Fatigue
// Note: UNIMPED
{6350}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Undead}
{6351}{Cost: 0, Info: aggressive}
{6353}{No_Stack: 1}
{6355}{[Begin], Type: EyeCandy, 2, Add}
{6356}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}

// 108 -- Area Fear (Animals)
// Note: UNIMPED
{6400}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical}
{6401}{Cost: 0, Info: aggressive}
{6403}{No_Stack: 1}
{6405}{[Begin], Type: EyeCandy, 2, Add}
{6406}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}

// 109 -- Area Reanimate
// Note: UNIMPED
{6450}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Summoned}
{6451}{Cost: 10, Maintain: (1 @ 60)}
{6453}{No_Stack: 1, Cancels_SF: OSF_SPOKEN_WITH_DEAD}
{6455}{[Begin], Type: Heal, Dmg_Flags: Full | Resurrect}
{6456}{[Begin], Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}
{6457}{[Begin], Type: EyeCandy, 2, Add}
{6458}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_UNDEAD, FLAG_ON}
{6459}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{6460}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}
{6461}{[End], Type: Damage, Dmg_Flags: Full | Death}

// 110 -- Wolf Form
// Note: UNIMPED
{6500}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical}
{6501}{Cost: 0}
{6503}{No_Stack: 1, Cancels_SF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{6505}{[Begin], Type: EyeCandy, 2, Add}
{6506}{[Begin], Type: Trait, art_num, 15}  // 15 is Snake Man

// 111 -- Returning
// Note: UNIMPED
{6550}{AoE: Tgt_Obj_T_Critter}
{6551}{Cost: 0}
{6553}{No_Stack: 1, Cancels_SF: OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_POLYMORPHED}
{6555}{[Begin], Type: EyeCandy, 2, Add}
{6556}{[Begin], Type: Trait, art_num, 15}  // 15 is Snake Man

// 112 -- Staff of the Necromancer
{6600}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{6601}{Info: friendly}
{6603}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{6605}{[Begin], ItemTriggers: Wear, Type: Effect, 151, Add}
{6606}{[Begin], ItemTriggers: Unwear, Type: Effect, 151, Remove}

// 113 -- Paralyze (Evil)
{6650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{6651}{Cost: 10, Duration: (5 @ -1), Info: aggressive}
{6653}{No_Stack: 1}
//-6653--No_Stack: 1, ItemTriggers: Target_Hit-
//Target_Hit | Target_Attacker
{6654}{AI_Defensive: (9 @ 1)}
{6655}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{6656}{[Begin], Type: EyeCandy, 2, Add}
{6657}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{6658}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{6659}{[End], Type: EyeCandy, 2, Remove}
{6660}{[End], Type: EyeCandy, 3, Remove}
{6661}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 114 -- Elven Perfume
{6700}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{6701}{Duration: (720 @ -1), Range: 2, Info: friendly}
{6703}{No_Stack: 1, ItemTriggers: Item_Used}
{6705}{[Begin], ItemTriggers: Item_Used, Type: Effect, 166, Add}
{6706}{[End], ItemTriggers: Item_Used, Type: Effect, 166, Remove}

// 115 -- Heal Light (Will'O'Wisp)
{6750}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{6751}{Range: 2, Info: friendly}
{6753}{No_Stack: 1, ItemTriggers: Item_Used}
{6754}{AI_HealingLight: 5}
{6755}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{6757}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 117 -- Reserved for Pad Lighting (Pad Lighting1)
{6800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{6801}{Range: 2, Info: friendly}
{6803}{No_Stack: 1, ItemTriggers: Item_Used}
{6805}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{6807}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 118 -- Reserved for Pad Lighting (Pad Lighting2)
{6850}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{6851}{Range: 2, Info: friendly}
{6853}{No_Stack: 1, ItemTriggers: Item_Used}
{6855}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{6857}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 119 -- Reserved for Pad Lighting (Pad Lighting3)
{6900}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{6901}{Range: 2, Info: friendly}
{6903}{No_Stack: 1, ItemTriggers: Item_Used}
{6905}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{6907}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 120 -- Reserved for Pad Lighting (Pad Lighting4)
{6950}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{6951}{Range: 2, Info: friendly}
{6953}{No_Stack: 1, ItemTriggers: Item_Used}
{6955}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{6957}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 121 -- Reserved for Pad Lighting (Pad Lighting5)
{7000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{7001}{Range: 2, Info: friendly}
{7003}{No_Stack: 1, ItemTriggers: Item_Used}
{7005}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{7007}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 122 -- SuperHeal (SuperHeal)
{7050}{AoE: Tgt_Object, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{7051}{Cost: 0, Info: friendly}
{7053}{No_Stack: 1, Cancels_SF: OSF_SPOKEN_WITH_DEAD}
{7054}{AI_HealingHeavy: 8}
{7055}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
{7056}{[Callback], Type: Heal, Dmg_Flags: Full | Resurrect}

// 123 -- Araya Projectile
{7100}{AoE: Tgt_Tile | Tgt_Object | Tgt_Obj_No_Self} // Missile
{7101}{Cost: 4, Resist: (stat_constitution @ -5), Info: aggressive}
{7102}{Missile: 0}
{7104}{AI_Offensive: 3}
{7105}{[Begin], AoE: Tgt_Object, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-7}
{7106}{[Begin], AoE: Tgt_Object, Type: EyeCandy, 2, Add}

// 124 -- Summon Seether
{7150}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{7151}{Cost: 5, Maintain: (1 @ 1)}
{7154}{AI_Summon: 1}
{7155}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28348}
{7156}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{7157}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{7158}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{7159}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{7160}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 125 -- Summon Were-Rat
{7200}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{7201}{Cost: 5, Maintain: (1 @ 1)}
{7204}{AI_Summon: 1}
{7205}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28327}
{7206}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{7207}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{7208}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{7209}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{7210}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 126 -- Summon Wargun
{7250}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{7251}{Cost: 5, Maintain: (1 @ 1)}
{7254}{AI_Summon: 1}
{7255}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 27331}
{7256}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{7257}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{7258}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{7259}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{7260}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 127 -- Summon Baleful Hound
{7300}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{7301}{Cost: 5, Maintain: (1 @ 1)}
{7304}{AI_Summon: 1}
{7305}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 27335}
{7306}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{7307}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{7308}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{7309}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{7310}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 128 -- Flesh to Stone (Duration)
{7350}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_T_Portal | Tgt_Obj_M_Stone | Tgt_Obj_No_Self}
{7351}{Cost: 20, Duration: (8 @ -1), Resist: (stat_constitution @ -5), Info: aggressive}
{7354}{AI_Offensive: 9}
{7355}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: EyeCandy, 2, Add}
{7356}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_ON}
{7357}{[Begin], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: EyeCandy, 3, Remove}
{7358}{[Begin], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, AoE_SF: OSF_STONED, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF}
{7359}{[End], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: EyeCandy, 2, Add}
{7360}{[End], AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_M_Stone, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_OFF}
{7361}{[End], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, Type: EyeCandy, 3, Remove}
{7362}{[End], AoE: Tgt_Obj_T_Portal | Tgt_Obj_M_Stone, AoE_SF: OSF_STONED, Type: ObjFlag, obj_f_spell_flags, OSF_STONED, FLAG_ON}

// 129 -- Slow Party
{7400}{AoE: Tgt_Self | Tgt_All_Party_Critters} // NOSTACK
{7401}{Cost: 30, Duration: (20 @ -1)}
{7403}{Cancels_SF: OSF_TEMPUS_FUGIT}
{7404}{AI_Flee: 8}
{7405}{[Begin], Type: ObjFlag, obj_f_critter_flags2, OCF2_SLOW_PARTY, FLAG_ON}
{7406}{[Begin], Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Add}
{7407}{[End], Type: ObjFlag, obj_f_critter_flags2, OCF2_SLOW_PARTY, FLAG_OFF}
{7408}{[End], Apply_AoE: Tgt_Self, Type: EyeCandy, 2, Remove}
{7409}{[End], Apply_AoE: Tgt_Self, Type: EyeCandy, 3, Add, Play: Reverse}

// 130 -- Poison DOT (Evil variation on Regenerate)
{7450}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{7451}{Duration: (4 @ -1), DurationTriggerCount: 24, Info: aggressive}
{7453}{No_Stack: 1}
{7454}{}
{7455}{[Begin], Type: NoOp}
{7456}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_Damaged, Type: EyeCandy, 2, Add}
{7457}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_Damaged, Type: Damage, DmgType: Dmg_Poison, Dmg: 5}

// 131 -- Fatigue DOT
{7500}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical}
{7501}{Duration: (4 @ -1), DurationTriggerCount: 24, Info: aggressive}
{7503}{No_Stack: 1}
{7504}{}
{7505}{[Begin], Type: NoOp}
{7506}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_Damaged, Type: EyeCandy, 2, Add}
{7507}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_Damaged, Type: Damage, DmgType: Dmg_Magic, Dmg: 5}

// 132 -- Call Winds (All)
{7550}{AoE: Tgt_Self | Tgt_Cone, Radius:5}
{7551}{Cost: 4, Resist: (stat_constitution @ -5), Info: aggressive}
{7554}{AI_Offensive: 4}
{7555}{[Begin], AoE: Tgt_Obj_Weight_Below_5, Type: AGoal, anim_goal_knockback}
{7556}{[Begin], AoE: Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{7557}{[Begin], AoE: Tgt_Obj_T_Critter, AoE_SF: OSF_BODY_OF_AIR, Type: Damage, DmgType: Dmg_Normal, Dmg: 5-30}
{7558}{[Begin], AoE: Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}

// 133 -- Unseen Force  (All)
{7600}{AoE: Tgt_Self}
{7601}{Cost: 5, Info: aggressive}
{7604}{AI_Offensive: 5}
{7605}{[Begin], AoE: Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{7606}{[Begin], AoE: Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}
{7607}{[Begin], AoE: Tgt_Obj_Weight_Below_5, Type: AGoal, anim_goal_knockback}
{7608}{[Begin], AoE: Tgt_Obj_Weight_Below_5, Type: EyeCandy, 2, Add}

// 134 -- Stasis (Duration)
{7650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{7651}{Cost: 10, Duration: (6 @ -1), Info: aggressive}
{7653}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED}
{7654}{AI_Defensive: (9 @ 1)}
{7655}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{7656}{[Begin], Type: EyeCandy, 2, Add}
{7657}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{7658}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{7659}{[End], Type: EyeCandy, 2, Remove}
{7660}{[End], Type: EyeCandy, 3, Remove}
{7661}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 135 -- Freeze
{7700}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{7701}{Cost: 10, Duration: (6 @ -1), Info: aggressive}
//-7651--Cost: 10, Maintain: (2 @ 1), Resist: (stat_willpower @ -10), Info: aggressive-
//-10851--Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly-
{7703}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED}
{7704}{AI_Defensive: (9 @ 1)}
{7705}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{7706}{[Begin], Type: ObjFlag, obj_f_flags, OF_FROZEN, FLAG_ON}
{7707}{[Begin], Type: EyeCandy, 2, Add}
{7708}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{7709}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{7710}{[End], Type: ObjFlag, obj_f_flags, OF_FROZEN, FLAG_OFF}
{7711}{[End], Type: EyeCandy, 2, Remove}
{7712}{[End], Type: EyeCandy, 3, Remove}
{7713}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 136 -- Summon Undead
{7750}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile_Empty, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{7751}{Cost: 5, Maintain: (1 @ 1)}
{7754}{AI_Summon: 1}
{7755}{[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 28322}
{7756}{[Begin], Apply_AoE: Tgt_Summoned, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{7757}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{7758}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{7759}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{7760}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 137 -- Conjure Spirit II  -- Different art, used for Pelogian (Mike) in Tulla
{7800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{7801}{Cost: 0, Maintain: (0 @ 86400), DurationTriggerCount: 80000}  // 24 hours of real-time: should be enough for now...
//-7801--Cost: 15, Maintain: (3 @ 10)-
{7803}{No_Stack: 1, Disallowed_TSF: OSF_SPOKEN_WITH_DEAD}
{7805}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_ON}
{7806}{[Begin], Type: EyeCandy, 2, Add}
{7807}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{7808}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_OFF}
{7809}{[End], Type: EyeCandy, 2, Remove}
{7810}{[End], Type: EyeCandy, 3, Remove}
{7811}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 138 -- Heal Potion
{7850}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{7851}{Range: 2, Info: friendly}
{7853}{No_Stack: 1, ItemTriggers: Item_Used}
{7854}{AI_HealingLight: 2}
{7855}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 10}
{7856}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 139 -- Haste Boots
{7900}{AoE: Tgt_Parent_Obj}
{7901}{Cost: 0}
{7903}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{7905}{[Begin], ItemTriggers: Wear, Type: Effect, 58, Add}
{7906}{[Begin], ItemTriggers: Unwear, Type: Effect, 58, Remove}


// 140 -- MI 59
{7950}{AoE: Tgt_None}
{7951}{Cost: 0}






// Tech-Item-Only "Spells" ----- '140'

// 01 --  mtTechSnare [Mechanical: Bear Trap]
-10000--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object-
-10001--Duration: (10 @ -1), Info: aggressive-  // 60
-10003--Cancels_SF: OSF_ENTANGLED, ItemTriggers: Target_Hit-
-10005--[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_ON-
-10006--[Begin], Type: EyeCandy, 2, Add-
-10007--[Begin], Type: EyeCandy, 3, Add, Play: Stack-
-10008--[Begin], Type: Effect, 62, Add-  // Speed -5
-10009--[End], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_OFF-
-10010--[End], Type: EyeCandy, 2, Remove-
-10011--[End], Type: EyeCandy, 3, Remove-
-10012--[End], Type: EyeCandy, 2, Add, Play: Reverse- // Dissipating
-10013--[End], Type: Effect, 62, Remove-

{10000}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{10001}{Cost: 0, Duration: (10 @ -1), Resist: (stat_willpower @ -10), Info: aggressive}
{10003}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED}
//-10005--[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON-
{10005}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_ON}  // OCF_PARALYZED
{10006}{[Begin], Type: EyeCandy, 2, Add}
{10007}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
//-10008--[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF-
{10008}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_ENTANGLED, FLAG_OFF}
{10009}{[End], Type: EyeCandy, 2, Remove}
{10010}{[End], Type: EyeCandy, 3, Remove}
{10011}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating


// 02 --  mtTechBrainBuilder [Item: Brain Builder]
{10050}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Parent_Obj}
{10051}{Info: friendly}
{10053}{No_Stack: 1, ItemTriggers: Item_Used}
{10055}{[Begin], ItemTriggers: Item_Used, Type: Effect, 320, Add, Count: 1}
{10056}{[Begin], ItemTriggers: Item_Used, Type: Effect, 357, Add, Count: 1}
{10057}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 03 --  mtTechHypnoticSuggestion [Item: Elixir of Hypnotic Suggestion]
{10100}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_No_T_PC | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
// Note: No RESISTS!
//-10101--Maintain: (1 @ 2), Resist: (stat_willpower @ -5), Info: aggressive-
{10101}{Duration: (60 @ -1), Range: 2, Info: aggressive}
{10103}{No_Stack: 0, Disallowed_TSF: OSF_MIND_CONTROLLED, ItemTriggers: Item_Used}
{10104}{AI_Offensive: 19}
{10105}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{10106}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10107}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}

// 04 --  mtTechParalysis [Basic Tech: Paralysis (Duration) Effect]
{10150}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{10151}{Duration: (6 @ -1), Info: aggressive}
{10153}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED}
{10154}{AI_Defensive: (9 @ 1)}
{10155}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{10156}{[Begin], Type: EyeCandy, 2, Add}
{10157}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{10158}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{10159}{[End], Type: EyeCandy, 2, Remove}
{10160}{[End], Type: EyeCandy, 3, Remove}
{10161}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating


// 05 --  mtTechMuscleMaker [Item: Muscle Maker]
{10200}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
//-10201--Cost: 1, Maintain: (1 @ 60), ChargesFromCells: 1, Info: friendly-
{10201}{Cost: 0, Info: friendly}
{10203}{No_Stack: 1, ItemTriggers: Item_Used}
{10205}{[Begin], ItemTriggers: Item_Used, Type: Effect, 321, Add, Count: 1}
{10206}{[Begin], ItemTriggers: Item_Used, Type: Effect, 358, Add, Count: 1}
{10207}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}


// 06 --  mtTechDexEnhancer [Electrical: Charged Ring]
{10250}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{10251}{Range: 2, Info: friendly}
{10253}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{10255}{[Begin], ItemTriggers: Wear, Type: Effect, 118, Add}
{10256}{[Begin], ItemTriggers: Wear, Type: EyeCandy, 2, Add}
{10257}{[Begin], ItemTriggers: Unwear, Type: Effect, 118, Remove}

// 07 --  mtTechMagicDetect [Electrical: Magic Detector]
{10300}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{10301}{Cost: 2, Maintain: (1 @ 10), Info: friendly}
{10303}{No_Stack: 1, ItemTriggers: Item_Used}

// 08 --  mtTechJolt [Electrical: Shocking Staff]
// Note: The reason it is no-self is because we can't differentiate between a crit. failure and other types of dmg (poison/etc.)
//-10350--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object-
{10350}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{10351}{Cost: 0, ChargesFromCells: 1, Info: aggressive}
{10353}{No_Stack: 1, ItemTriggers: Target_Hit | Target_Attacker}
{10355}{[Begin], ItemTriggers: Target_Hit | Target_Attacker, Type: ChargeNBranch, Cost: 1}
{10356}{[Begin], ItemTriggers: Target_Hit | Target_Attacker, Type: Damage, DmgType: Dmg_Electrical, Dmg: 1-10}
{10357}{[Begin], ItemTriggers: Target_Hit | Target_Attacker, Type: EyeCandy, 2, Add}

// 09 --  mtTechExplodeHallucinate [Item: Hallucinate (Grenade)]
{10400}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned}
{10401}{Info: aggressive}
{10403}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{10405}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}
{10406}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{10407}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{10408}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{10409}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{10410}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{10411}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 10 --  mtTechHealRegen [Electrical: Healing Jacket]
{10450}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10451}{Cost: 2, Maintain: (1 @ 10), Range: 2, Info: friendly}
{10453}{No_Stack: 1, ItemTriggers: Item_Used}

// 11 --  mtTechHealLight [Anatomical: Heal Light]
{10500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{10501}{Range: 2, Info: friendly}
{10503}{No_Stack: 0, ItemTriggers: Item_Used}
{10504}{AI_HealingLight: 2}
{10505}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 20}
{10506}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 12 --  mtTechFatigueRestore [Anatomical: Fatigue Restore]
{10550}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10551}{Range: 2, Info: friendly}
{10553}{No_Stack: 1, ItemTriggers: Item_Used}
{10554}{AI_FatigueRecover: 2}
{10555}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Magic, Dmg: 20}
{10556}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 13 --  mtTechCurePoison [Anatomical: Cure Poison]
{10600}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Poisoned}
{10601}{Range: 2, Info: friendly}
{10603}{No_Stack: 1, ItemTriggers: Item_Used}
{10604}{AI_CurePoison: 2}
{10605}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Poison, Dmg: 80}
{10606}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 14 --  mtTechFatigueLimiter [Anatomical: Fatigue Limiter]
{10650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Object}
{10651}{Duration: (180 @ -1), Range: 2, Info: friendly}
{10653}{No_Stack: 1, ItemTriggers: Item_Used}
{10655}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_ON}
{10656}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10657}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_OFF}

// 15 --  mtTechHealAccelerator [Anatomical: Heal Accelerator]
{10700}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10701}{Duration: (4 @ -1), DurationTriggerCount: 24, Range: 2, Info: friendly}
{10703}{No_Stack: 1, ItemTriggers: Item_Used}
{10705}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 1}
{10706}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10707}{[Maintain], ItemTriggers: Item_Used, Type: Heal, Dmg: 1}
//-10705--[Begin], ItemTriggers: Item_Used, Type: Effect, 124, Add-
//-10706--[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add-
//-10707--[End], ItemTriggers: Item_Used, Type: Effect, 124, Remove-

// 16 --  mtTechWonderDrug [Anatomical: Wonder Drug]
{10750}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10751}{Range: 2, Info: friendly}
{10753}{No_Stack: 1, ItemTriggers: Item_Used}
{10754}{AI_HealingMedium:2}
{10755}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Normal, Dmg: 60}
{10756}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Magic, Dmg: 60}
{10757}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 17 --  mtTechCureAll [Anatomical: Cure All]
{10800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10801}{Range: 2, Info: friendly}
{10803}{No_Stack: 1, ItemTriggers: Item_Used}
{10804}{AI_HealingMedium:2, AI_CurePoison: 2}
{10805}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg_Flags: Full | Scars | Crippling}
{10806}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Magic, Dmg: 160}
{10807}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}
{10808}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 18 --  mtTechBoostIntelligence [Elixirs: Boost Intelligence]
{10850}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10851}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{10853}{No_Stack: 1, ItemTriggers: Item_Used}
{10855}{[Begin], ItemTriggers: Item_Used, Type: Effect, 116, Add}
{10856}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10857}{[End], ItemTriggers: Item_Used, Type: Effect, 116, Remove}

// 19 --  mtTechBoostStrength [Elixirs: Boost Strength]
{10900}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10901}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{10903}{No_Stack: 1, ItemTriggers: Item_Used}
{10905}{[Begin], ItemTriggers: Item_Used, Type: Effect, 117, Add}
{10906}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10907}{[End], ItemTriggers: Item_Used, Type: Effect, 117, Remove}

// 20 --  mtTechBoostPerception [Elixirs: Boost Perception]
{10950}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{10951}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{10953}{No_Stack: 1, ItemTriggers: Item_Used}
{10955}{[Begin], ItemTriggers: Item_Used, Type: Effect, 121, Add}
{10956}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{10957}{[End], ItemTriggers: Item_Used, Type: Effect, 121, Remove}

// 21 --  mtTechBoostDexterity [Elixirs: Boost Dexterity]
{11000}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{11001}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{11003}{No_Stack: 1, ItemTriggers: Item_Used}
{11005}{[Begin], ItemTriggers: Item_Used, Type: Effect, 120, Add}
{11006}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11007}{[End], ItemTriggers: Item_Used, Type: Effect, 120, Remove}

// 22 --  mtTechBoostMental [Elixirs: Boost Mental Stats]
{11050}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{11051}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{11053}{No_Stack: 1, ItemTriggers: Item_Used}
{11055}{[Begin], ItemTriggers: Item_Used, Type: Effect, 122, Add}
{11056}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11057}{[End], ItemTriggers: Item_Used, Type: Effect, 122, Remove}

// 23 --  mtTechBoostPhysical [Elixirs: Boost Physical Stats]
{11100}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{11101}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{11103}{No_Stack: 1, ItemTriggers: Item_Used}
{11105}{[Begin], ItemTriggers: Item_Used, Type: Effect, 123, Add}
{11106}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11107}{[End], ItemTriggers: Item_Used, Type: Effect, 123, Remove}

// 24 --  mtTechBoostAll [Elixirs: Boost All Stats]
{11150}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{11151}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{11153}{No_Stack: 1, ItemTriggers: Item_Used}
{11155}{[Begin], ItemTriggers: Item_Used, Type: Effect, 122, Add}
{11156}{[Begin], ItemTriggers: Item_Used, Type: Effect, 123, Add}
{11157}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11158}{[End], ItemTriggers: Item_Used, Type: Effect, 122, Remove}
{11159}{[End], ItemTriggers: Item_Used, Type: Effect, 123, Remove}

// 25 --  mtTechPoison [Chemistry: Poison]
-11200--AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, Radius: 2-
{11200}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead}
//-11201--Cost: 2, Maintain: (1 @ 10), Range: 2, Info: aggressive-
{11201}{Cost: 0, Range: 2, Info: aggressive}
-11203--No_Stack: 1, ItemTriggers: Parent_Atks_Location-
{11203}{No_Stack: 1, ItemTriggers: Item_Used}
{11205}{[Begin], AoE: Tgt_Obj_T_Critter, Type: Damage, DmgType: Dmg_Poison, Dmg: 70}
{11206}{[Begin], AoE: Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}
-11207--[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4050-
-11208--[Begin], AoE: Tgt_Tile_Empty, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback-
-11209--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-
//-1609--[End], AoE: Tgt_Self, Type: Destroy-

// 26 --  mtTechHallucinate [Chemistry: Hallucinite]

// Original mtTechHallucinate -- Need to switch this back at some point!  9/20/00  JLR
{11250}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Object}
{11251}{Duration: (600 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: aggressive}
{11253}{No_Stack: 1}
{11255}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON}
{11256}{[Begin], Type: EyeCandy, 2, Add}
//, ItemTriggers: Parent_Atks_Location

// SWITCHED BACK TO OLD EFFECT 10/25/00 JLR!!!
//-11250--AoE: Tgt_List, Radius: 1, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_List-
//-11251--Cost: 0, Duration: (10 @ -1), Info: aggressive-
//-11253--No_Stack: 1, ItemTriggers: Parent_Atks_Location-
//-11255--[Begin], AoE: Tgt_Obj_Radius, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON-
//-11256--[Begin], AoE: Tgt_Obj_Radius, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-
//-11257--[Begin], AoE: Tgt_Obj_Radius, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack-
//-11258--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy-
//-11259--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050-
//-11260--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback-
//-11261--[End], ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF-
//-11262--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Remove-
//-11263--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Remove-
//-11264--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Reverse- // Dissipating
//-11265--[Callback], Apply_AoE: Tgt_Summoned, Type: Destroy, Summoned Object-



//-2108--[Begin], AoE: Tgt_Tile_Empty, Type: Summon, Proto: 4050-
//-2109--[Begin], AoE: Tgt_Tile_Empty, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback-
//-2110--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-

// Original mtTechHallucinate -- Need to switch this back at some point!  9/20/00  JLR
//-11250--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Object-
//-11251--Duration: (600 @ 2), DurationStatInfo: (21 @ 180), Info: aggressive-
//-11253--No_Stack: 1, ItemTriggers: Parent_Atks_Location-
//-11255--[Begin], ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_FLEEING, FLAG_ON-
//-11256--[Begin], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-




// 27 --  mtTechAcid [Chemistry: Acid (???)]
{11300}{AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2}
{11301}{Cost: 0, Info: aggressive}
{11303}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{11305}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Acid, Dmg: 10-100}
{11306}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{11307}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{11308}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{11309}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 28 --  mtTechAnimalScent [Chemistry: Animal Scent]
{11350}{AoE: Tgt_Obj_T_Critter}
{11351}{Cost: 0, Duration: (338 @ -1), Range: 2}
{11353}{No_Stack: 0, ItemTriggers: Item_Used}
{11355}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_ANIMAL_ENSHROUD, FLAG_ON}
{11356}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_ANIMAL_ENSHROUD, FLAG_OFF}

// 29 --  mtTechChargedRegen [Armor: Charged Regenerate]
{11400}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical}
{11401}{Cost: 0, Maintain: (0 @ 5), ChargesFromCells: 1, Info: friendly}
{11403}{No_Stack: 1, ItemTriggers: Wear | Unwear}
{11405}{[Begin], Type: NoOp}  // Needed or spell won't maintain!
{11406}{[Maintain], ItemTriggers: Wear, Type: TestNBranch, HP_Damage, GreaterThan, TestVal: 0}
{11407}{[Maintain], ItemTriggers: Wear, Type: ChargeNBranch, Cost: 1}  // 10
{11408}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead, ItemTriggers: Wear, Type: EyeCandy, 2, Add}
{11409}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Dead, ItemTriggers: Wear, Type: Heal, Dmg: 4}

// 30 --  mtTechVenom [Food: Venom]
{11450}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead}
{11451}{Range: 2, Info: aggressive}
{11453}{No_Stack: 0, ItemTriggers: Item_Used}
{11454}{AI_Offensive:2}
{11455}{[Begin], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Poison, Dmg: 10}
{11456}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 31 --  mtTechCleaner [Food: Cleaner]
{11500}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead}
{11501}{Range: 2, Info: aggressive}
{11503}{No_Stack: 0, ItemTriggers: Item_Used}
{11505}{[Begin], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Poison, Dmg: 20}
{11506}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 32 --  mtTechStrongPoison [Food: Strong Poison]
{11550}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead}
//-11551--Range: 2, Info: aggressive-
{11551}{Duration: (60 @ -1), Range: 2, Info: aggressive}
{11553}{No_Stack: 0, ItemTriggers: Item_Used}
{11554}{AI_Offensive:2}
{11555}{[Begin], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Poison, Dmg: 290} // 60
{11556}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11557}{[Begin], ItemTriggers: Item_Used, Type: Effect, 359, Add}
{11558}{[End], ItemTriggers: Item_Used, Type: Effect, 359, Remove}

// 33 --  mtTechWine [Food: Wine]
//-11600--AoE: Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical-
{11600}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Party_Critter}
//-11601--Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly-
{11601}{Duration: (360 @ -1), Range: 2, Info: friendly}
{11603}{No_Stack: 0, ItemTriggers: Item_Used}
//AoE: Tgt_All_Party_Critters,
{11605}{[Begin], ItemTriggers: Item_Used, Type: Effect, 132, Add}
{11606}{[Begin], ItemTriggers: Item_Used, Type: Effect, 167, Add}
{11607}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_spell_flags, OSF_DRUNK, FLAG_ON}
{11608}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11609}{[End], ItemTriggers: Item_Used, Type: Effect, 132, Remove}
{11610}{[End], ItemTriggers: Item_Used, Type: Effect, 167, Remove}
{11611}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_spell_flags, OSF_DRUNK, FLAG_OFF}

// 34 --  mtTechWine [Food: Aqua Vitae]
//-11650--AoE: Tgt_Self | Tgt_All_Party_Critters | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical-
{11650}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Party_Critter}
{11651}{Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly}
{11653}{No_Stack: 1, ItemTriggers: Item_Used}
{11655}{[Begin], ItemTriggers: Item_Used, Type: Effect, 133, Add}
{11656}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{11657}{[End], ItemTriggers: Item_Used, Type: Effect, 133, Remove}

// 35 -- mtTechElectricalShield [Armor: Electrical Shield]
{11700}{AoE: Tgt_Parent_Obj, [Begin]AoE: Tgt_Obj_T_Critter}
{11701}{Cost: 0}
{11703}{No_Stack: 1, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee}
{11705}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: Damage, DmgType: Dmg_Electrical, Dmg: 1-10}
{11706}{[Begin], AoE: Tgt_Obj_No_Self, ItemTriggers: Parent_Hit | Target_Attacker | Target_Attacker_Weapon_Melee, Type: EyeCandy, 3, Add}

// 36 -- mtTechExplosion [Item: Explosion (Grenade)]
///-11750--AoE: Tgt_Tile | Tgt_Self | Tgt_Obj_Radius, Radius: 2-
{11750}{AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, Radius: 2, [Callback]AoE: Tgt_Summoned}
///-11750--AoE: Tgt_Tile_Self | Tgt_Obj_Radius, Radius: 2-
{11751}{Cost: 0, Info: aggressive}
{11753}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
// Currently doesn't work
//-11754--AI_Offensive: 5-
{11755}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Fire, Dmg: 5-30}
{11756}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Normal, Dmg: 5-30}
{11757}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{11758}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{11759}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Non_Party_Critters, ItemTriggers: Parent_Atks_Location, Type: AGoal, anim_goal_knockback}
{11760}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{11761}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{11762}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{11763}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 37 -- mtTechDynamite [Item: Explosion (Dynamite)]
///-11750--AoE: Tgt_Tile | Tgt_Self | Tgt_Obj_Radius, Radius: 2-
{11800}{AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2, [Callback]AoE: Tgt_Summoned}
///-11750--AoE: Tgt_Tile_Self | Tgt_Obj_Radius, Radius: 2-
{11801}{Cost: 0, Info: aggressive}
{11803}{No_Stack: 0}
{11805}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Fire, Dmg: 5-20}
{11806}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Normal, Dmg: 100-200}
{11807}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 2, Add}
{11808}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 3, Add, Play: Stack}
{11809}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{11810}{[Begin], AoE: Tgt_Tile, Type: Summon, Proto: 4050}
{11811}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{11812}{[Begin], Apply_AoE: Tgt_Self, Type: Destroy}
{11813}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 38 -- mtTechExplodeFlash [Item: Explode (Flash)]
// Original mtTechExplodeFlash -- Need to switch this back at some point!  9/20/00  JLR
{11850}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Non_Party_Critters, [Begin]Radius: 2, [End]AoE: Tgt_Object, [Callback]AoE: Tgt_Summoned}
{11851}{Cost: 0, Duration: (10 @ -1), Info: aggressive}
{11853}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{11855}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_ON}  // Flash spell
{11856}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{11857}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{11858}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{11859}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{11860}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{11861}{[End], AoE: Tgt_Object, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_OFF}
{11862}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

//-11850--AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned-
//-11851--Cost: 5, Duration: (1 @ -1), DurationTriggerCount: 30, Resist: (stat_constitution @ 0), Info: aggressive-
//-11853--No_Stack: 0, ItemTriggers: Parent_Atks_Location-
//-11855--[Begin], AoE: Tgt_Obj_Radius, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-25-  // 1-4-
//-11856--[Begin], AoE: Tgt_Tile_Radius, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4029-
//-11857--[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-
//-11858--[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack | Random_Start-
//-11859--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy-
//-11860--[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-25-  // 1-4
//-11861--[End], Type: EyeCandy, 2, Remove-
//-11862--[End], Type: EyeCandy, 3, Remove-
//-11863--[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback- // Dissipating
//-11864--[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF-
//-11865--[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-

//-12300--AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical-
//-12301--Duration: (10 @ -1), Resist: (stat_constitution @ -5), Range: 2, Info: friendly-
//-12303--No_Stack: 1-
//-12305--[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_ON-
//-12306--[End], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_OFF-



//-11850--AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, Radius: 2, [Callback]AoE: Tgt_Summoned-
//-11851--Cost: 0, Info: aggressive-
//-11853--No_Stack: 0, ItemTriggers: Parent_Atks_Location-
//-11855--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Cast, Spell: 186-  // Flash spell
//-11856--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-
//-11857--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack-
//-11858--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050-
//-11859--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback-
//-11860--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy-
//-11861--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-



// 39 -- mtTechExplodeSmoke [Item: Explode (Smoke)]
{11900}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Tile_Radius, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
// Note: 80 GAME seconds!
{11901}{Cost: 0, Duration: (10 @ -1), Info: aggressive}
{11903}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{11905}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4033}
{11906}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{11907}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack | Random_Start}
{11908}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{11909}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Remove}
{11910}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Remove}
{11911}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{11912}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{11913}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 40 -- mtTechExplodeStun [Item: Explode (Stun)]
{11950}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 3, [Callback]AoE: Tgt_Summoned}
{11951}{Cost: 0, Info: aggressive}
{11953}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{11955}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: Damage, Dmg_Flags: Stunned}
{11956}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{11957}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{11958}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{11959}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{11960}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{11961}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 41 -- mtTechExplodeFire [Item: Explode (Fire)] -- Fire Obstruction/Barrier of Fire
{12000}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius | Tgt_Non_Party_Critters, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
// Note: 80 GAME seconds!
{12001}{Cost: 0, Duration: (10 @ -1), Info: aggressive}
{12003}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{12005}{[Begin], AoE: Tgt_Tile_Radius, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4031}
{12006}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{12007}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack | Random_Start | Fire_Dmg}
{12008}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{12009}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Remove}
{12010}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Remove}
{12011}{[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{12012}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// ----------------------------
// ----------------------------

// Original mtTechExplodeFire -- Need to switch this back at some point!  9/20/00  JLR
//-12000--AoE: Tgt_None, [Begin]AoE: Tgt_Tile, [End]AoE: Tgt_Summoned, [Callback]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned-
// Note: 80 GAME seconds!
//-12001--Cost: 0, Duration: (10 @ -1), Info: aggressive-
//-12003--No_Stack: 0, ItemTriggers: Parent_Atks_Location-
//-12005--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4031-
//-12006--[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-
//-12007--[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack | Random_Start | Fire_Dmg-
//-12008--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy-
//-12009--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Remove-
//-12010--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Remove-
//-12011--[End], ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Reverse | End_Callback- // Dissipating
//-12012--[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-




// 42 -- mtTechAlchohol [Food: Wine]
//-12050--AoE: Tgt_Self | Tgt_All_Party_Critters | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical-
{12050}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Party_Critter}
//-12051--Duration: (0 @ 2), DurationStatInfo: (21 @ 180), Range: 2, Info: friendly-
{12051}{Duration: (360 @ -1), Range: 2, Info: friendly}
{12053}{No_Stack: 0}
{12055}{[Begin], Type: Effect, 132, Add}
{12056}{[Begin], Type: Effect, 167, Add}
{12057}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_DRUNK, FLAG_ON}
{12058}{[Begin], Type: EyeCandy, 2, Add}
{12059}{[End], Type: Effect, 132, Remove}
{12060}{[End], Type: Effect, 167, Remove}
{12061}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_DRUNK, FLAG_OFF}

// 43 -- mtTechMagneticInversion [Item: Magnetic Inversion]
{12100}{AoE: Tgt_Obj_T_Critter}
//-12101--Cost: 0, Maintain: (0 @ 5), ChargesFromCells: 1, Info: friendly-
{12101}{Cost: 0, Info: friendly}
{12103}{No_Stack: 1, ItemTriggers: Wear | Unwear}
//-12105--[Begin], ItemTriggers: Wear, Type: Cast, Spell: 187- // Magnetic Inversion Charge
//-12106--[Begin], ItemTriggers: Unwear, Type: Interrupt, Spell: 187-

// OLD WAY: CHANGE TO ABOVE WHEN GET WORKING!!!
{12105}{[Begin], ItemTriggers: Wear, Type: ObjFlag, obj_f_spell_flags, OSF_MAGNETIC_INVERSION, FLAG_ON}
{12106}{[Begin], ItemTriggers: Wear, Type: EyeCandy, 2, Add, Play: No_ID}
{12107}{[Begin], ItemTriggers: Unwear, Type: ObjFlag, obj_f_spell_flags, OSF_MAGNETIC_INVERSION, FLAG_OFF}
{12108}{[Begin], ItemTriggers: Unwear, Type: EyeCandy, 2, Remove, Play: No_ID}

//-11405--[Begin], NoOp-  // Needed or spell won't maintain!
//-11406--[Maintain], ItemTriggers: Wear, Type: ChargeNBranch, Cost: 10-


// 44 -- mtTechAnimalLure [Item: Animal Lure]
{12150}{AoE: Tgt_Obj_T_Critter, [End]AoE: Tgt_Summoned}
{12151}{Cost: 0, Duration: (2 @ -1), DurationTriggerCount: 15, Range: 2, Info: aggressive}
{12153}{No_Stack: 1, ItemTriggers: Item_Used}
{12155}{[Begin], Apply_AoE: Tgt_Tile_Empty | Tgt_Tile_Offscreen, ItemTriggers: Item_Used, Type: Summon, Proto: 0, List: 0}
{12156}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Item_Used, Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{12157}{[Begin], ItemTriggers: Item_Used, Type: AIRedirect, OCF_ANIMAL}
{12158}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{12159}{[Maintain], ItemTriggers: Item_Used, Type: AIRedirect, OCF_ANIMAL}
// Note: We don't bother removing the critter...he will fight the PC too, if he lives?


// 45 -- mtTechTrapSpringer [Item: Trap Springer]
{12200}{AoE: Tgt_Obj_T_Portal | Tgt_Obj_T_Container | Tgt_Obj_ST_Openable_Locked}
{12201}{Cost: 0, Duration: (4 @ -1), Range: 2, Info: friendly}
{12203}{No_Stack: 1, ItemTriggers: Item_Used}
{12205}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{12206}{[Begin], Apply_AoE: Tgt_Source, ItemTriggers: Item_Used, Type: Destroy}
{12207}{[End], ItemTriggers: Item_Used, Type: Use}
{12208}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}

// 46 -- mtTechExplodePoison [Item: Explode (Poison)]
{12250}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned}
{12251}{Cost: 0, Info: aggressive}
{12253}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{12255}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_No_ST_Critter_Undead, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Poison, Dmg: 5-30}
{12256}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{12257}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{12258}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: AGoal, anim_goal_knockback}
{12259}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{12260}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{12261}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{12262}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 47 --  mtTechFlash [Item: Flash (Blindness)]
{12300}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{12301}{Duration: (10 @ -1), Resist: (stat_constitution @ -5), Range: 2, Info: friendly}
{12303}{No_Stack: 1}
{12305}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_ON}
{12306}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_BLINDED, FLAG_OFF}

// 48 -- mtTechMagneticInversionCharge [Item: Magnetic Inversion Charge]
{12350}{AoE: Tgt_Obj_T_Critter}
{12351}{Cost: 0, Maintain: (0 @ 5), ChargesFromCells: 1, Info: friendly}
{12353}{No_Stack: 1}
// If can't charge, terminate early
{12355}{[Begin], Type: ChargeNBranch, Cost: 1, Branch: 4}
// If was able to charge, restart the effect
{12356}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_MAGNETIC_INVERSION, FLAG_ON}
{12357}{[Begin], Type: EyeCandy, 2, Add, Play: Check_Already}
{12358}{[Begin], Type: Terminate}
// Turn it off
{12359}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_MAGNETIC_INVERSION, FLAG_OFF}
{12360}{[Begin], Type: EyeCandy, 2, Remove}
{12361}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_MAGNETIC_INVERSION, FLAG_OFF}
{12362}{[End], Type: EyeCandy, 2, Remove}

// 49 -- mtTechTrapSkillEnhancer [Item: Arm/Disarm Trap Skill Enhancer]
{12400}{AoE: Tgt_Obj_T_Critter}
{12401}{Cost: 0, Info: friendly}
{12403}{No_Stack: 1}
{12405}{[Begin], Type: NoOp}

// 50 -- mtTechInvigorator [Item: Invigorator]
{12450}{AoE: Tgt_Object, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{12451}{Duration: (60 @ -1), Range: 2, Info: friendly}
{12453}{No_Stack: 1, ItemTriggers: Item_Used}
{12454}{AI_HealingLight: 8}
{12455}{[Begin], Type: Effect, 318, Add, Count: 25}  // raises Max Hps & Fatigue
{12456}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Normal, Dmg: 25}  // WAS 15
{12457}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Magic, Dmg: 25}
{12458}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{12459}{[End], Type: Effect, 318, Remove, Count: 25}
{12460}{[End], Type: EyeCandy, 2, Add, Play: Reverse}

// 51 -- mtTechReanimator [Item: Raise Dead]
{12500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [Callback]AoE: Tgt_Object}
{12501}{Info: friendly}
{12503}{Cancels_SF: OSF_SPOKEN_WITH_DEAD, ItemTriggers: Item_Used}
{12504}{AI_Resurrect: 1}
{12505}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
{12506}{[Callback], Type: Heal, Dmg_Flags: Full | Resurrect}


// 52 -- mtTechHealInjection [Item: Clockwork Physician]
{12550}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{12551}{Range: 2, Info: friendly}
{12553}{No_Stack: 1, ItemTriggers: Item_Used}
{12554}{AI_HealingLight: 2}
{12555}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 20}
{12556}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 53 -- mtTechMiracleCure [Item: Super Wonder Drug]
{12600}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_Damaged}
{12601}{Range: 2, Info: friendly}
{12603}{No_Stack: 1, ItemTriggers: Item_Used}
{12604}{AI_HealingLight: 2}
{12605}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Normal, Dmg: 100}
{12606}{[Begin], ItemTriggers: Item_Used, Type: Heal, DmgType: Dmg_Magic, Dmg: 100}
{12607}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 54 -- mtTechMentalInhibitor [Item: Stupify]
{12650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
//---Cost: 8, Maintain: (1 @ 3), Resist: (stat_willpower @ -5), Info: aggressive-
{12651}{Duration: (60 @ -1), Info: aggressive}
{12654}{AI_Offensive: 10}
{12655}{[Begin], Type: Effect, 59, Add}  // Halve IQ
{12656}{[Begin], Type: EyeCandy, 2, Add}
{12657}{[End], Type: Effect, 59, Remove}

// 55 -- mtTechNecromizer [Item: Zombify]
{12700}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Summoned}
{12701}{Duration: (360 @ -1), Range: 2}
//-12703--No_Stack: 1, Cancels_SF: OSF_SPOKEN_WITH_DEAD-
{12703}{ItemTriggers: Item_Used}
{12705}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Heal, Dmg_Flags: Full | Reanimate}
{12706}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Heal, DmgType: Dmg_Poison, Dmg: 32000}
{12707}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: EyeCandy, 2, Add}
{12708}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_critter_flags, OCF_UNDEAD, FLAG_ON}
{12709}{[Begin], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_ON}
{12710}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: ObjFlag, obj_f_spell_flags, OSF_MIND_CONTROLLED, FLAG_OFF}
{12711}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable, Type: Damage, Dmg_Flags: Full | Death}
// For Multiplayer, we allow PCs to be resurrected after being turned into Undead, for Game-Play reasons
{12712}{[End], AoE: Tgt_Obj_No_ST_Critter_Unrevivifiable | Tgt_Obj_T_PC, Type: ObjFlag, obj_f_critter_flags, OCF_UNDEAD, FLAG_OFF}



// 56 -- mtTechFortifier [Item: Fortifier]
{12750}{AoE: Tgt_Object, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{12751}{Duration: (120 @ -1), Range: 2, Info: friendly}
{12753}{No_Stack: 1, ItemTriggers: Item_Used}
{12754}{}
{12755}{[Begin], ItemTriggers: Item_Used, Type: Effect, 319, Add, Count: 30}  // raises Normal Damage Resistance
{12756}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_ON}
{12757}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{12758}{[End], ItemTriggers: Item_Used, Type: Effect, 319, Remove, Count: 30}
{12759}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_OFF}
// Hurts you when it terminates
// Note: Should be ~30%?
{12760}{[End], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Normal, Dmg: 20-40}
{12761}{[End], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Magic, Dmg: 30-60}
{12762}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse}

// 57 -- mtTechSleepAid [Item: Sleep Aid]
{12800}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{12801}{Range: 2, Info: aggressive}
{12803}{No_Stack: 0, ItemTriggers: Item_Used}
{12805}{[Begin], ItemTriggers: Item_Used, Type: Damage, DmgType: Dmg_Magic, Dmg_Flags: Full}
{12806}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}

// 58 -- mtTechPotionOfParalysis [Item: Potion of Paralysis]
//-12850--AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical-
//-12851--Range: 2, Info: aggressive-
//-12853--No_Stack: 1, ItemTriggers: Item_Used-
//-12854---
//-12855--[Begin], ItemTriggers: Item_Used, Type: Cast, Spell: 143-  // Tech: Paralysis (Duration) spell
//-12856--[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add-

{12850}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{12851}{Duration: (6 @ -1), Range: 2, Info: aggressive}
{12853}{No_Stack: 1, Disallowed_TCF: OCF_PARALYZED, ItemTriggers: Item_Used}
{12854}{AI_Defensive: (9 @ 1)}
{12855}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{12856}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{12857}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
{12858}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{12859}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
{12860}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
{12861}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating




// 59 -- mtTechKnockOutGas [Item: Knock-Out Gas]
{12900}{AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 3}
{12901}{Cost: 0, Info: aggressive}
{12903}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{12905}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Magic, Dmg_Flags: Full}
{12906}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{12907}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{12908}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{12909}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{12910}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{12911}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}


// 60 -- mtTechExplodeElectrical [Item: Electrocution (Grenade)]
{12950}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned}
{12951}{Cost: 0, Info: aggressive}
{12953}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{12955}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Electrical, Dmg: 5-30}
{12956}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Normal, Dmg: 1-5}
{12957}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{12958}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{12959}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{12960}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{12961}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{12962}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}


// 61 -- mtTechMustardGas [Item: Mustard Gas (Grenade)]
{13000}{AoE: Tgt_None, Radius: 1, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Tile_Radius | Tgt_Obj_No_ST_Critter_Undead | Tgt_Non_Party_Critters, [Maintain]AoE: Tgt_Obj_Radius | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_ST_Critter_Undead, [End]AoE: Tgt_Summoned, [EndCallback]AoE: Tgt_Summoned}
{13001}{Cost: 5, Duration: (1 @ -1), DurationTriggerCount: 30, Resist: (stat_constitution @ 0), Info: aggressive}
{13003}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{13005}{[Begin], AoE: Tgt_Obj_Radius, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-25}  // 1-4-
{13006}{[Begin], AoE: Tgt_Tile_Radius, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4029}
{13007}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{13008}{[Begin], Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack | Random_Start}
{13009}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{13010}{[Maintain], AoE: Tgt_Obj_Radius, Type: Damage, DmgType: Dmg_Poison, Dmg: 15-25}  // 1-4
{13011}{[End], Type: EyeCandy, 2, Remove}
{13012}{[End], Type: EyeCandy, 3, Remove}
{13013}{[End], Type: EyeCandy, 2, Add, Play: Reverse | End_Callback} // Dissipating
{13014}{[Callback], Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_OFF}
{13015}{[EndCallback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 62 -- mtTechExplodeConcussion [Item: Concussion (Grenade)]
{13050}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned}
{13051}{Cost: 0, Info: aggressive}
{13053}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{13055}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Normal, Dmg: 25-50}
{13056}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Magic, Dmg: 10-20}
{13057}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{13058}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{13059}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: AGoal, anim_goal_knockback}
{13060}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{13061}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{13062}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{13063}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}


// 63 -- mtTechExplodeParalysis [Item: Paralysis (Grenade)]
{13100}{AoE: Tgt_List, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [End]AoE: Tgt_List | Tgt_Summoned, [Callback]AoE: Tgt_Summoned}
{13101}{Duration: (6 @ -1), Info: aggressive}
{13103}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{13105}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{13106}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{13107}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{13108}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{13109}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
//-13109--[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback-
{13110}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{13111}{[End], AoE: Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{13112}{[End], AoE: Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Remove}
{13113}{[End], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}
//-13113--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-


// Last method:
//-13100--AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2-
//-13101--Info: aggressive-
//-13103--No_Stack: 0, ItemTriggers: Parent_Atks_Location-
//-13105--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: Cast, Spell: 143-  // Tech: Paralysis (Duration) spell
//-13106--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add-
//-13107--[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack-
//-13108--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050-
//-13109--[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback-
//-13110--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy-
//-13111--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-




// 64 -- mtTechGrenadeLauncher [Item: Grenade Launcher]
{13150}{AoE: Tgt_Object}
{13151}{Info: aggressive}
{13153}{No_Stack: 0, ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker}
// WAS Spell: 176-  // Dynamite
{13155}{[Begin], ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker, Type: Cast, Spell: 205}  // Explode: Grenade Launcher
//-13156--[Begin], ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker, Type: EyeCandy, 2, Add-

//-13150--AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2-
//-13151--Cost: 0, Info: aggressive-
//-13153--No_Stack: 0, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker-
//-13155--[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: Damage, DmgType: Dmg_Normal, Dmg: 25-50-
//-13156--[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: Damage, DmgType: Dmg_Magic, Dmg: 10-20-
//-13157--[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: EyeCandy, 2, Add-
//-13158--[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: EyeCandy, 3, Add, Play: Stack-
//-13159--[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: AGoal, anim_goal_knockback-
//-13160--[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: Summon, Proto: 4050-
//-13161--[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: EyeCandy, 2, Add, Play: Callback-
//-13162--[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Dmgs_Opponent | Target_Attacker, Type: Destroy-
//-13163--[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object-

//Parent_Atks_Opponent
//Parent_Dmgs_Opponent

// 65 -- mtTechTranquilizerGun [Item: Tranquilizer Gun]
{13200}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{13201}{Info: aggressive}
{13203}{No_Stack: 0, ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker}
{13205}{[Begin], AoE: Tgt_Obj_M_Flesh, ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker, Type: Damage, DmgType: Dmg_Magic, Dmg_Flags: Full}
{13206}{[Begin], ItemTriggers: Parent_Dmgs_Opponent_W_Item | Target_Attacker, Type: EyeCandy, 2, Add}

// 66 -- mtTechExplodeGL [Item: Grenade Launcher Part II]
{13250}{AoE: Tgt_None, [Begin]AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, [Begin]Radius: 2, [Callback]AoE: Tgt_Summoned}
{13251}{Info: aggressive}
{13253}{No_Stack: 0}
{13255}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Portal | Tgt_Obj_T_Container, Type: Damage, DmgType: Dmg_Normal, Dmg: 5-10}
{13256}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Portal | Tgt_Obj_T_Container, Type: Damage, DmgType: Dmg_Magic, Dmg: 5-10}
{13257}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Portal | Tgt_Obj_T_Container, Type: EyeCandy, 2, Add}
{13258}{[Begin], AoE: Tgt_Obj_T_Critter | Tgt_Obj_T_Portal | Tgt_Obj_T_Container, Type: EyeCandy, 3, Add, Play: Stack}
//-13259--[Begin], AoE: Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback-
{13259}{[Begin], AoE: Tgt_Tile, Type: Summon, Proto: 4050}
{13260}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{13261}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 67 -- mtTechVivifier [Item: Vivifier]
{13300}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{13301}{Cost: 0, Info: friendly}
{13303}{No_Stack: 1, ItemTriggers: Item_Used}
{13305}{[Begin], ItemTriggers: Item_Used, Type: Effect, 324, Add, Count: 1}
{13306}{[Begin], ItemTriggers: Item_Used, Type: Effect, 325, Add, Count: 1}
{13307}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}


// Item-Only Spells Part 2 -----

// 1 -- mtMI2KerghanDeathSpell [Kerghan-specific-caster Death Spell]
{13350}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter  | Tgt_Obj_No_Self | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical, [Callback]AoE: Tgt_Object}
{13351}{Cost: 50, Resist: (stat_constitution @ -5), Info: aggressive}
{13352}{CastingAnim: 14}
{13354}{AI_Offensive: 17}
{13355}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
//-13356--[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON-
//-13357--[Callback], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF-
{13356}{[Callback], Type: Damage, DmgType: Dmg_Normal, Dmg: 50-100, Dmg_Flags: Scaled}
//-13358-

// 2 -- mtMI2KerghanAtkSpell [Kerghan-specific-caster Attack Spell]
{13400}{AoE: Tgt_Self | Tgt_Cone | Tgt_Obj_No_Self | Tgt_Non_Party_Critters, Radius:5}
{13401}{Cost: 15, Resist: (stat_constitution @ -5), Info: aggressive}
{13402}{CastingAnim: 14}
{13404}{AI_Offensive: 4}
{13405}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_Weight_Below_5, Type: AGoal, anim_goal_knockback}
{13406}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: Damage, DmgType: Dmg_Normal, Dmg: 15-50}
{13407}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{13408}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, AoE_SF: OSF_BODY_OF_AIR, Type: Damage, DmgType: Dmg_Normal, Dmg: 30-50}
{13409}{[Begin], AoE: Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: EyeCandy, 2, Add}

// 3 -- mtMI2KerghanHealing [Kerghan-specific-caster Healing Spell]
//-13450--AoE: Tgt_Self | Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead-
{13450}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead}
{13451}{Cost: 5, Maintain: (0 @ 1), DurationTriggerCount: 80000, Info: friendly}
{13453}{No_Stack: 1}
{13454}{}
{13455}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{13456}{[Begin], Type: EyeCandy, 2, Add}
{13457}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{13458}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_ON}
{13459}{[Maintain], AoE: Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_Damaged, Type: Heal, Dmg: 7}
{13460}{[End], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{13461}{[End], Type: EyeCandy, 2, Remove}
{13462}{[End], Type: EyeCandy, 3, Remove}
{13463}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating
{13464}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SHIELDED, FLAG_OFF}

// 4 -- mtMI2PotionFatigueSlower [Item: Potion of Fatigue Slower]
{13500}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical, [End]AoE: Tgt_Object}
{13501}{Duration: (60 @ -1), Range: 2, Info: friendly}
{13503}{No_Stack: 1, ItemTriggers: Item_Used}
{13505}{[Begin], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_ON}
{13506}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13507}{[End], ItemTriggers: Item_Used, Type: ObjFlag, obj_f_critter_flags, OCF_FATIGUE_LIMITING, FLAG_OFF}
{13508}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse}

// 5 -- mtMI2PotionEssenceOfIntellect [Potion of Essence of Intellect]
{13550}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{13551}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}
{13553}{No_Stack: 1, ItemTriggers: Item_Used}
{13555}{[Begin], ItemTriggers: Item_Used, Type: Effect, 331, Add, Count: 10}  // +10 Intelligence
{13556}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13557}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
{13558}{[End], ItemTriggers: Item_Used, Type: Effect, 331, Remove, Count: 10}
{13559}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
{13560}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
{13561}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 6 -- mtMI2PotionHaste [Item: Potion of Haste]
{13600}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{13601}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}
{13603}{No_Stack: 1, ItemTriggers: Item_Used}
{13604}{AI_Defensive: (3 @ 0)}
{13605}{[Begin], ItemTriggers: Item_Used, Type: Effect, 332, Add, Count: 20}  // +20 Speed
{13606}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13607}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
{13608}{[End], ItemTriggers: Item_Used, Type: Effect, 332, Remove, Count: 20}
{13609}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
{13610}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
{13611}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 7 -- mtMI2PotionLiquidOfSkinThickening [Item: Potion of ]
{13650}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{13651}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}
{13653}{No_Stack: 1, ItemTriggers: Item_Used}
{13655}{[Begin], ItemTriggers: Item_Used, Type: Effect, 333, Add, Count: 20}  // +20 Damage Resistance
{13656}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13657}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
{13658}{[End], ItemTriggers: Item_Used, Type: Effect, 333, Remove, Count: 20}
{13659}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
{13660}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
{13661}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 8 -- mtMI2PotionKalispisVenom [Item: Potion of Kalispi's Venom]
{13700}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead, [End]AoE: Tgt_Object}
{13701}{Cost: 0, Duration: (60 @ -1), Range: 2, Info: friendly}
{13703}{No_Stack: 1, ItemTriggers: Item_Used}
{13704}{AI_Defensive: (3 @ 0)}
{13705}{[Begin], ItemTriggers: Item_Used, Type: Effect, 334, Add, Count: 80}  // +80 Poison Resistance
{13706}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13707}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 3, Add, Play: Stack}
{13708}{[End], ItemTriggers: Item_Used, Type: Effect, 334, Remove, Count: 80}
{13709}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Remove}
{13710}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 3, Remove}
{13711}{[End], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 9 -- mtMI2PotionRestorative []
{13750}{AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Mechanical}
{13751}{Duration: (4 @ -1), DurationTriggerCount: 24, Range: 2, Info: friendly}
{13753}{No_Stack: 1, ItemTriggers: Item_Used}
{13755}{[Begin], ItemTriggers: Item_Used, Type: Heal, Dmg: 2}
{13756}{[Begin], ItemTriggers: Item_Used, Type: EyeCandy, 2, Add}
{13757}{[Maintain], ItemTriggers: Item_Used, Type: Heal, Dmg: 2}

// 10 -- mtMI2ConjureSpiritPermanent []
{13800}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Animal | Tgt_Obj_No_ST_Critter_Mechanical | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{13801}{Cost: 0, Maintain: (0 @ 86400), DurationTriggerCount: 80000}  // 24 hours of real-time: should be enough for now...
{13803}{No_Stack: 1}
{13805}{[Begin], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_ON}
{13806}{[Begin], Type: EyeCandy, 2, Add}
{13807}{[Begin], Type: EyeCandy, 3, Add, Play: Stack}
{13808}{[End], Type: ObjFlag, obj_f_spell_flags, OSF_SPOKEN_WITH_DEAD, FLAG_OFF}
{13809}{[End], Type: EyeCandy, 2, Remove}
{13810}{[End], Type: EyeCandy, 3, Remove}
{13811}{[End], Type: EyeCandy, 2, Add, Play: Reverse} // Dissipating

// 11 -- mtMI2PhantomKnightDeath []
{13850}{AoE: Tgt_Obj_T_Critter, [Callback]AoE: Tgt_Summoned}
{13851}{Cost: 0, Info: friendly}
{13853}{No_Stack: 1}
//-13855--[Begin], Type: NoOp-
{13855}{[Begin], AoE: Tgt_Obj_T_Critter, Type: ObjFlag, obj_f_flags, OF_DONTDRAW, FLAG_ON}
{13856}{[Begin], Apply_AoE: Tgt_Tile, Type: Summon, Proto: 4050}
{13857}{[Begin], Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
//-13857--[Begin], AoE: Tgt_Obj_T_Critter, Type: Destroy, Object-
//-13857--[Begin], AoE: Tgt_Obj_T_Critter, Type: NoOp-
{13858}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 12 -- Teleport Exit
{13900}{AoE: Tgt_Self}
{13901}{Cost: 50, ChargeBeginCost: 0}
{13904}{No_Resist: 1}
{13905}{[Begin], Type: EyeCandy, 2, Add}
{13906}{[Begin], Type: Movement, Move_Location: Teleport_Area_Portal}

// 13 -- Tech: Molotov Cocktail
{13950}{AoE: Tgt_Tile | Tgt_Obj_Radius | Tgt_Non_Party_Critters, Radius: 2, [Callback]AoE: Tgt_Summoned}
{13951}{Cost: 0, Info: aggressive}
{13952}{Is_Tech: 1}
{13953}{No_Stack: 0, ItemTriggers: Parent_Atks_Location}
{13955}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Fire, Dmg: 3-15}
{13956}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: Damage, DmgType: Dmg_Normal, Dmg: 3-15}
{13957}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add}
{13958}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 3, Add, Play: Stack}
{13959}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, ItemTriggers: Parent_Atks_Location, Type: AGoal, anim_goal_knockback}
{13960}{[Begin], AoE: Tgt_Tile, ItemTriggers: Parent_Atks_Location, Type: Summon, Proto: 4050}
{13961}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, ItemTriggers: Parent_Atks_Location, Type: EyeCandy, 2, Add, Play: Callback}
{13962}{[Begin], Apply_AoE: Tgt_Self, ItemTriggers: Parent_Atks_Location, Type: Destroy}
{13963}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 14 -- Tech: Time Bomb
{14000}{AoE: Tgt_Tile | Tgt_Obj_Radius, Radius: 2, [Callback]AoE: Tgt_Summoned}
{14001}{Cost: 0, Info: aggressive}
{14002}{Is_Tech: 1}
{14003}{No_Stack: 0}
{14005}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Fire, Dmg: 5-20}
{14006}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: Damage, DmgType: Dmg_Normal, Dmg: 100-200}
{14007}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 2, Add}
{14008}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self, Type: EyeCandy, 3, Add, Play: Stack}
{14009}{[Begin], AoE: Tgt_Obj_Radius | Tgt_Obj_No_Self | Tgt_Obj_T_Critter, Type: AGoal, anim_goal_knockback}
{14010}{[Begin], AoE: Tgt_Tile, Type: Summon, Proto: 4050}
{14011}{[Begin], AoE: Tgt_Tile, Apply_AoE: Tgt_Summoned, Type: EyeCandy, 2, Add, Play: Callback}
{14012}{[Begin], Apply_AoE: Tgt_Self, Type: Destroy}
{14013}{[Callback], AoE: Tgt_Summoned, Type: Destroy, Summoned Object}

// 15 -- MI2: Quench Life (Full)
{14050}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter  | Tgt_Obj_No_Self | Tgt_Obj_No_ST_Critter_Dead | Tgt_Obj_No_ST_Critter_Undead | Tgt_Obj_No_ST_Critter_Mechanical, [Callback]AoE: Tgt_Object}
{14051}{Cost: 50, Info: aggressive}
{14054}{No_Resist: 1}
{14055}{[Begin], Type: EyeCandy, 2, Add, Play: Callback}
{14056}{[Begin], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_ON}
{14057}{[Callback], Type: ObjFlag, obj_f_critter_flags, OCF_PARALYZED, FLAG_OFF}
{14058}{[Callback], Type: Damage, Dmg_Flags: Full | Death, Dmg_Flags: Scaled}

// 16 -- Wolf Form (Permanent)
{14100}{AoE: Tgt_None, [Begin]AoE: Tgt_Obj_T_Critter | Tgt_Obj_No_ST_Critter_Dead  | Tgt_Obj_No_Self, [End]AoE: Tgt_Object}
{14101}{Cost: 0}
{14103}{Disallowed_TSF: OSF_POLYMORPHED | OSF_BODY_OF_AIR | OSF_BODY_OF_EARTH | OSF_BODY_OF_FIRE | OSF_BODY_OF_WATER | OSF_STONED}
{14104}{}
{14105}{[Begin], Type: EyeCandy, 2, Add}
{14106}{[Begin], Type: ObjFlag, obj_f_critter_flags2, OCF2_PERMA_POLYMORPH, FLAG_ON}
{14107}{[Begin], Type: Trait, art_num, 0}  // 20 is sheep, 0 is wolf  //, List: Animal_Weak-
//-14108--[Begin], Type: Effect, 156, Add-
Advertisement