private static void AddStandardTraps()
{
#region Acid Blob
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_acid",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 15,
DiceNumber = 3,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Acid Blob, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_acid",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_acid",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_acid",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 20,
DiceNumber = 5,
DiceType = 6,
DisarmDC = 20,
DisplayName = " Acid Blob, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_acid",
SaveDC = 20,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_acid",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_acid",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 25,
DiceNumber = 12,
DiceType = 6,
DisarmDC = 25,
DisplayName = " Acid Blob, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_acid",
SaveDC = 25,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_acid",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_acid",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 25,
DiceNumber = 18,
DiceType = 6,
DisarmDC = 25,
DisplayName = " Acid Blob, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_acid",
SaveDC = 25,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_acid",
TriggerArea = 2,
});
#endregion
#region Acid Splash
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_acidspl",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 12,
DiceNumber = 2,
DiceType = 8,
DisarmDC = 12,
DisplayName = " Acid Splash, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_acidspl",
SaveDC = 12,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_acidspl",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_acidspl",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 14,
DiceNumber = 3,
DiceType = 8,
DisarmDC = 14,
DisplayName = " Acid Splash, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_acidspl",
SaveDC = 14,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_acidspl",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_acidspl",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 17,
DiceNumber = 5,
DiceType = 8,
DisarmDC = 17,
DisplayName = " Acid Splash, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_acidspl",
SaveDC = 17,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_acidspl",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_acidspl",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ACID,
Description = "This trap seems to be meant to spray some awful substance on its victim, though likely just one, based on the nozzle you've found.",
DetectDC = 20,
DiceNumber = 8,
DiceType = 8,
DisarmDC = 20,
DisplayName = " Acid Splash, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_acidspl",
SaveDC = 20,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_acidspl",
TriggerArea = 2,
});
#endregion
#region Electrical
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_elec",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ELECTRICAL,
Description = "This trap seems to be fitted with a cathode and annode, almost certainly designed to electrocute its victims. Probably many victims at once.",
DetectDC = 19,
DiceNumber = 8,
DiceType = 6,
DisarmDC = 19,
DisplayName = " Electrical, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 5.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_elec",
SaveDC = 19,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_elec",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_elec",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ELECTRICAL,
Description = "This trap seems to be fitted with a cathode and annode, almost certainly designed to electrocute its victims. Probably many victims at once.",
DetectDC = 22,
DiceNumber = 15,
DiceType = 6,
DisarmDC = 22,
DisplayName = " Electrical, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 5.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_elec",
SaveDC = 22,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_elec",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_elec",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ELECTRICAL,
Description = "This trap seems to be fitted with a cathode and annode, almost certainly designed to electrocute its victims. Probably many victims at once.",
DetectDC = 26,
DiceNumber = 20,
DiceType = 6,
DisarmDC = 26,
DisplayName = " Electrical, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 5.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_elec",
SaveDC = 26,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_elec",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_elec",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_ELECTRICAL,
Description = "This trap seems to be fitted with a cathode and annode, almost certainly designed to electrocute its victims. Probably many victims at once.",
DetectDC = 28,
DiceNumber = 30,
DiceType = 6,
DisarmDC = 28,
DisplayName = " Electrical, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 5.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_elec",
SaveDC = 28,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_elec",
TriggerArea = 2,
});
#endregion
#region Fire
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_fire",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_FIRE,
Description = "This trap seems to be meant to spray some awful substance on its victims, which may be many based on the nozzles you can find.",
DetectDC = 18,
DiceNumber = 5,
DiceType = 6,
DisarmDC = 18,
DisplayName = " Fire, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 2.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_fire",
SaveDC = 18,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_fire",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_fire",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_FIRE,
Description = "This trap seems to be meant to spray some awful substance on its victims, which may be many based on the nozzles you can find.",
DetectDC = 20,
DiceNumber = 8,
DiceType = 6,
DisarmDC = 20,
DisplayName = " Fire, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 2.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_fire",
SaveDC = 20,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_fire",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_fire",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_FIRE,
Description = "This trap seems to be meant to spray some awful substance on its victims, which may be many based on the nozzles you can find.",
DetectDC = 23,
DiceNumber = 15,
DiceType = 6,
DisarmDC = 23,
DisplayName = " Fire, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 4.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_fire",
SaveDC = 23,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_fire",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_fire",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_FIRE,
Description = "This trap seems to be meant to spray some awful substance on its victims, which may be many based on the nozzles you can find.",
DetectDC = 26,
DiceNumber = 25,
DiceType = 6,
DisarmDC = 26,
DisplayName = " Fire, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 4.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_fire",
SaveDC = 26,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_fire",
TriggerArea = 2,
});
#endregion
#region Frost
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_frost",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_COLD,
Description = "This trap seems to be meant to dramatically drop the temperature of its target.",
DetectDC = 12,
DiceNumber = 2,
DiceType = 4,
DisarmDC = 12,
DisplayName = " Frost, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_frost",
SaveDC = 12,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_frost",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_frost",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_COLD,
Description = "This trap seems to be meant to dramatically drop the temperature of its target.",
DetectDC = 13,
DiceNumber = 3,
DiceType = 4,
DisarmDC = 13,
DisplayName = " Frost, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_frost",
SaveDC = 13,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_frost",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_frost",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_COLD,
Description = "This trap seems to be meant to dramatically drop the temperature of its target.",
DetectDC = 14,
DiceNumber = 5,
DiceType = 4,
DisarmDC = 14,
DisplayName = " Frost, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_frost",
SaveDC = 14,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_frost",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_frost",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_COLD,
Description = "This trap seems to be meant to dramatically drop the temperature of its target.",
DetectDC = 15,
DiceNumber = 8,
DiceType = 4,
DisarmDC = 15,
DisplayName = " Frost, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_frost",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_frost",
TriggerArea = 2,
});
#endregion
#region Negative
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_neg",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_NEGATIVE,
Description = "This trap seems to directly channel some kind of harmful magical energy, without casting spells",
DetectDC = 12,
DiceNumber = 2,
DiceType = 6,
DisarmDC = 12,
DisplayName = " Negative, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_neg",
SaveDC = 12,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_neg",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_neg",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_NEGATIVE,
Description = "This trap seems to directly channel some kind of harmful magical energy, without casting spells",
DetectDC = 15,
DiceNumber = 3,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Negative, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_neg",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_neg",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_neg",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_NEGATIVE,
Description = "This trap seems to directly channel some kind of harmful magical energy, without casting spells",
DetectDC = 18,
DiceNumber = 5,
DiceType = 6,
DisarmDC = 18,
DisplayName = " Negative, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_neg",
SaveDC = 18,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_neg",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_neg",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_NEGATIVE,
Description = "This trap seems to directly channel some kind of harmful magical energy, without casting spells",
DetectDC = 21,
DiceNumber = 8,
DiceType = 6,
DisarmDC = 21,
DisplayName = " Negative, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_neg",
SaveDC = 21,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_neg",
TriggerArea = 2,
});
#endregion
#region Sonic
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_sonic",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_SONIC,
Description = "This trap seems to be centered on the use of thunderstones. It is likely to be powerfully-noisy, and perhaps even damaging because of it.",
DetectDC = 12,
DiceNumber = 2,
DiceType = 4,
DisarmDC = 12,
DisplayName = " Sonic, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 3.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_sonic",
SaveDC = 12,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_sonic",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_sonic",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_SONIC,
Description = "This trap seems to be centered on the use of thunderstones. It is likely to be powerfully-noisy, and perhaps even damaging because of it.",
DetectDC = 14,
DiceNumber = 3,
DiceType = 4,
DisarmDC = 14,
DisplayName = " Sonic, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 3.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_sonic",
SaveDC = 14,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_sonic",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_sonic",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_SONIC,
Description = "This trap seems to be centered on the use of thunderstones. It is likely to be powerfully-noisy, and perhaps even damaging because of it.",
DetectDC = 17,
DiceNumber = 5,
DiceType = 4,
DisarmDC = 17,
DisplayName = " Sonic, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 3.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_sonic",
SaveDC = 17,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_sonic",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_sonic",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_SONIC,
Description = "This trap seems to be centered on the use of thunderstones. It is likely to be powerfully-noisy, and perhaps even damaging because of it.",
DetectDC = 20,
DiceNumber = 8,
DiceType = 4,
DisarmDC = 20,
DisplayName = " Sonic, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 3.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_sonic",
SaveDC = 20,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_sonic",
TriggerArea = 2,
});
#endregion
#region Spike
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_minor_spike",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_PIERCING,
Description = "This trap seems to be designed to fire something solid at its targets, though you can't see the exact payload.",
DetectDC = 15,
DiceNumber = 2,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Spike, Minor",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_minor_spike",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_minor_spike",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_average_spike",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_PIERCING,
Description = "This trap seems to be designed to fire something solid at its targets, though you can't see the exact payload.",
DetectDC = 15,
DiceNumber = 3,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Spike, Average",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_average_spike",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_average_spike",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_strong_spike",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_PIERCING,
Description = "This trap seems to be designed to fire something solid at its targets, though you can't see the exact payload.",
DetectDC = 15,
DiceNumber = 5,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Spike, Strong",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_strong_spike",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_strong_spike",
TriggerArea = 2,
});
ALFA.Shared.Modules.InfoStore.ModuleTraps.Add("std_deadly_spike",
new ALFA.Shared.TrapResource()
{
AttackBonus = -1,
Classification = "Standard",
DamageType = CLRScriptBase.DAMAGE_TYPE_PIERCING,
Description = "This trap seems to be designed to fire something solid at its targets, though you can't see the exact payload.",
DetectDC = 15,
DiceNumber = 25,
DiceType = 6,
DisarmDC = 15,
DisplayName = " Spike, Deadly",
EffectArea = CLRScriptBase.SHAPE_SPHERE,
EffectSize = 1.0f,
MinimumToTrigger = 1,
NumberOfShots = 1,
ResRef = "std_deadly_spike",
SaveDC = 15,
SpellId = -1,
SpellTrap = false,
TargetAlignment = CLRScriptBase.ALIGNMENT_ALL,
TargetRace = CLRScriptBase.RACIAL_TYPE_ALL,
Tag = "std_deadly_spike",
TriggerArea = 2,
});
#endregion
foreach (ALFA.Shared.TrapResource trap in ALFA.Shared.Modules.InfoStore.ModuleTraps.Values)
{
trap.CalculateCR();
}
}