Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 11s ago· Viewing build 6745 (Oct 02 2026)

upgrade_chain_lightning

Tesla Bulletsitem

Weapon tier 3 · class citadel_item · inherits from weapon_upgrade_t3

Deadworks (C#)
pawn.AddItem("upgrade_chain_lightning");
pawn.SellItem("upgrade_chain_lightning");

Properties

Ability values, by the name modifiers and AddModifier overrides use. Tier columns are what each upgrade adds; "scaling" is how much more the value grows with spirit power or another stat.

PropertyEnglish labelValueTier 1Provides
TechPowerSpirit Power0TECH_POWER
ChainCountMax Jumps4
ProcChanceProc Chance15
ChainRadiusJump Radius8m
WeaponPowerWeapon Damage0WEAPON_POWER
ProcCooldownMax Frequency0.2
BonusPerChainDamage on Jump33+25
ChainTickRate0.4
AbilityChargesCharges0
DamagePerChainShock Damage33+25
AbilityCooldownCooldown0
AbilityDurationDuration0
AbilityCastDelayCast Delay0
AbilityCastRangeCast Range0
ChannelMoveSpeed-1
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
AbilityUnitTargetLimit1
AbilityPostCastDuration0
AbilityCooldownBetweenChargeCharge Delay-1.0

Modifiers

Defined inside this ability. AddModifier finds each by its scoped name.

Name for AddModifierClassReads ability values
upgrade_chain_lightning/modifier_citadel_chain_lightningmodifier_citadel_chain_lightning
upgrade_chain_lightning/modifier_citadel_chain_lightningeffectmodifier_citadel_chain_lightningeffect

VData

_class"citadel_item"
_editor
1 key
{
  "folder_name": "Weapon"
}
_multibase
1 item
[
  "weapon_upgrade_t3"
]
m_iItemTier"EModTier_3"
m_strCSSClass"electrifiedBullets"
m_eAbilityType"EAbilityType_Item"
m_nShopVersion0
m_bStartTrainedtrue
m_eItemSlotType"EItemSlotType_WeaponMod"
m_mapWeaponInfos
1 key
{
  "primary": {
    "m_flBulletSpeed": 10000
  }
}
m_strAbilityImage"file://{images}/upgrades/mods_weapon/electrified_bullets.psd"
m_strAG2SourceName"item"
m_strShopIconLarge"file://{images}/items/weapon/tesla_bullets.psd"
m_CorruptedItemInfo
1 key
{
  "m_Upgrade": {
    "m_vecPropertyUpgrades": [
      {
        "m_strBonus": "47",
        "m_strPropertyName": "DamagePerChain"
      },
      {
        "m_strBonus": "47",
        "m_strPropertyName": "BonusPerChain"
      },
      {
        "m_strBonus": "5",
        "m_strPropertyName": "ProcChance"
      },
      {
        "m_strBonus": "-0.03",
        "m_strPropertyName": "ProcCooldown"
      },
      {
        "m_strBonus": "4",
        "m_strPropertyName": "ChainCount",
        "m_bRoundCorruptedBonus": true
      },
      {
        "m_strBonus": "7m",
        "m_strPropertyName": "ChainRadius"
      }
    ]
  }
}
m_flBossDamageScale1
m_sCustomStackLabel"#CurrentStacks_label"
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_PASSIVE"
m_PreviewPathParticle"particles/generic/generic_arc.vpcf"
m_nAbilityTargetFlags"CITADEL_UNIT_TARGET_FLAG_NO_INVIS"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_ENEMY"
m_strDisableItemTarget""
m_vecTooltipSectionInfo
1 item
[
  {
    "m_eAbilitySectionType": "EArea_Passive",
    "m_vecSectionAttributes": [
      {
        "m_strLocString": "#upgrade_chain_lightning_desc",
        "m_vecAbilityProperties": [
          "ProcCooldown",
          "ChainCount",
          "ChainRadius"
        ],
        "m_vecImportantAbilityProperties": [
          {
            "m_strImportantProperty": "DamagePerChain"
          },
          {
            "m_strImportantProperty": "ProcChance"
          }
        ]
      }
    ]
  }
]
m_AutoIntrinsicModifiers
1 item
[
  {
    "_class": "modifier_citadel_chain_lightning",
    "m_bIsHidden": true,
    "m_ChainModifier": {
      "_class": "modifier_citadel_chain_lightningeffect",
      "m_bIsHidden": true,
      "m_nAttributes": "MODIFIER_ATTRIBUTE_MULTIPLE",
      "m_ChainParticle": "particles/upgrades/chain_lightning.vpcf",
      "m_strChainSound": "Mods.Weapon.Chain.Lightning.Jump",
      "_my_subclass_name": "modifier_citadel_chain_lightningeffect"
    },
    "m_TracerParticle": "",
    "_my_subclass_name": "modifier_citadel_chain_lightning",
    "m_nAbilityTargetTypes": "CITADEL_UNIT_TARGET_ALL_ENEMY",
    "m_bRequiresTargetFilter": true,
    "m_TracerAdditionParticle": "particles/weapon_fx/electric_bullets_tracer.vpcf",
    "m_bProcChanceAffectedByEffectiveness": true
  }
]
m_eAdditionalShopFilters""
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_SELF"
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"

History

  1. 6722–6745changed
    • +m_nShopVersion0
    • +m_mapWeaponInfos
      { 1 key }
      {
      	primary = 
      	{
      		m_flBulletSpeed = 10000
      	}
      }
    • +m_CorruptedItemInfo
      { 1 key }
      {
      	m_Upgrade = 
      	{
      		m_vecPropertyUpgrades = 
      		[
      			{
      				m_strBonus = "47"
      				m_strPropertyName = "DamagePerChain"
      			},
      			{
      				m_strBonus = "47"
      				m_strPropertyName = "BonusPerChain"
      			},
      			{
      				m_strBonus = "5"
      				m_strPropertyName = "ProcChance"
      			},
      			{
      				m_strBonus = "-0.03"
      				m_strPropertyName = "ProcCooldown"
      			},
      			{
      				m_strBonus = "4"
      				m_strPropertyName = "ChainCount"
      				m_bRoundCorruptedBonus = true
      			},
      			{
      				m_strBonus = "7m"
      				m_strPropertyName = "ChainRadius"
      			},
      		]
      	}
      }
    • +m_sCustomStackLabel#CurrentStacks_label
    • +m_strDisableItemTarget""
    • +m_eAdditionalShopFilters""
    • −m_WeaponInfo
      { 1 key }
      {
      	m_flBulletSpeed = 10000
      }
    • −m_eShopFiltersEShopFilterMagicDamage | EShopFilterFireRate
    • −m_nUpgradeSlotCost1
    • −m_strCastAnimGraphParame_GenericCast
    • −m_strCastAnimSequenceNameability_generic_cast
    • −m_strSelectionNameOverrideitem
  2. 6696–6701first dumped