Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 2s ago· Viewing build 6722 (Sep 29 2026), not the latest

upgrade_capacitor

Capacitoritem

Weapon tier 4 · class upgrade_capacitor · inherits from weapon_upgrade_t4

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

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
DamageDamage100+25
TechPowerSpirit Power0TECH_POWER
ChainCountMax Jumps6
ProcChanceProc Chance20+5
ChainRadiusJump Radius10m
WeaponPowerWeapon Damage0WEAPON_POWER
ProcCooldownMax Frequency0.2
SlowDurationSlow Duration3
BonusFireRateFire Rate5+15FIRE_RATE
BonusPerChainDamage on Jump43
ChainTickRate0.4
AbilityChargesCharges0
DamagePerChainShock Damage43+25
MaxSlowPercentMax Move Speed60
AbilityCooldownCooldown40+-32
AbilityDurationDuration0
AbilityCastDelayCast Delay0.2
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_capacitor/modifier_citadel_chain_lightningmodifier_citadel_chain_lightning
upgrade_capacitor/modifier_citadel_chain_lightningeffectmodifier_citadel_chain_lightningeffect
upgrade_capacitor/modifier_intrinsic_basemodifier_intrinsic_baseBonusFireRate
upgrade_capacitor/modifier_weapon_capacitor_slowmodifier_weapon_capacitor_slow

VData

_class"upgrade_capacitor"
_editor
1 key
{
  "folder_name": "Weapon"
}
_multibase
1 item
[
  "weapon_upgrade_t4"
]
m_iItemTier"EModTier_4"
m_PurgeSound"Mods.Armor.DebuffRemover.Cast"
m_strCSSClass"electrifiedBullets"
m_eAbilityType"EAbilityType_Item"
m_nShopVersion0
m_strCastSound"Mods.Weapon.Capacitor.Cast"
m_bStartTrainedtrue
m_eItemSlotType"EItemSlotType_WeaponMod"
m_DamageParticle"particles/upgrades/capacitor_purge.vpcf"
m_DebuffModifier
6 keys
{
  "_class": "modifier_weapon_capacitor_slow",
  "m_bIsHidden": true,
  "_my_subclass_name": "modifier_weapon_capacitor_slow",
  "m_nEnabledStateMask": "MODIFIER_STATE_SLOWED | MODIFIER_STATE_DASH_DISABLED_DEBUFF | MODIFIER_STATE_SILENCE_MOVEMENT_ABILITES",
  "m_strParticleEffect": "particles/generic/generic_slow_debuff.vpcf",
  "m_strSmallIconCssClass": "slowed"
}
m_mapWeaponInfos
1 key
{
  "primary": {
    "m_flBulletSpeed": 4200,
    "m_flBulletRadius": 24.5,
    "m_mapImpactEffects": {
      "default": {}
    },
    "m_strBulletWhizSound": "Mods.Weapon.Capacitor.Projectile.Whizby",
    "m_flBulletGravityScale": 0.2,
    "m_strBulletImpactSound": "",
    "m_eAttachmentSourceType": "EAttachmentSource_Custom",
    "m_flBulletRadiusVsWorld": 1.5,
    "m_strBulletLoopingSound": "Mods.Weapon.Capacitor.Projectile.Lp",
    "m_strWeaponImpactEffect": "particles/upgrades/capacitor_impact.vpcf",
    "m_strCustomAttachmentSource": "palm_R",
    "m_szBulletTravelTracerParticle": "particles/upgrades/capacitor_projectile.vpcf"
  }
}
m_strAbilityImage"file://{images}/upgrades/mods_weapon/electrified_bullets.psd"
m_strAG2SourceName"item"
m_strShopIconLarge"file://{images}/items/weapon/capacitor.psd"
m_CorruptedItemInfo
1 key
{
  "m_Upgrade": {
    "m_vecPropertyUpgrades": [
      {
        "m_strBonus": "15",
        "m_strPropertyName": "BonusFireRate"
      },
      {
        "m_strBonus": "5m",
        "m_strPropertyName": "ChainRadius"
      },
      {
        "m_strBonus": "37",
        "m_strPropertyName": "DamagePerChain"
      },
      {
        "m_strBonus": "37",
        "m_strPropertyName": "BonusPerChain"
      },
      {
        "m_strBonus": "2",
        "m_strPropertyName": "ChainCount",
        "m_bRoundCorruptedBonus": true
      },
      {
        "m_strBonus": "-0.03",
        "m_strPropertyName": "ProcCooldown"
      },
      {
        "m_strBonus": "-15",
        "m_strPropertyName": "AbilityCooldown"
      },
      {
        "m_strBonus": "1",
        "m_strPropertyName": "SlowDuration"
      },
      {
        "m_strBonus": "100",
        "m_strPropertyName": "Damage"
      }
    ]
  }
}
m_PurgeCastParticle""
m_flBossDamageScale1
m_sCustomStackLabel"#CurrentStacks_label"
m_vecComponentItems
1 item
[
  "upgrade_chain_lightning"
]
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_INSTANT_CAST"
m_PreviewPathParticle"particles/generic/generic_arc.vpcf"
m_nAbilityTargetFlags"CITADEL_UNIT_TARGET_FLAG_NO_INVIS"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_HERO_ENEMY | CITADEL_UNIT_TARGET_CREEP_ENEMY | CITADEL_UNIT_TARGET_BOSS_ENEMY | CITADEL_UNIT_TARGET_MINION_ENEMY"
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT"
m_strDisableItemTarget""
m_strCastAnimGraphParam"e_GenericCast"
m_vecTooltipSectionInfo
3 items
[
  {
    "m_eAbilitySectionType": "EArea_Innate",
    "m_vecSectionAttributes": [
      {
        "m_vecElevatedAbilityProperties": [
          "BonusFireRate"
        ]
      }
    ]
  },
  {
    "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_eAbilitySectionType": "EArea_Active",
    "m_vecSectionAttributes": [
      {
        "m_strLocString": "#upgrade_capacitor_desc",
        "m_vecAbilityProperties": [
          "AbilityCooldown",
          "SlowDuration"
        ],
        "m_vecImportantAbilityProperties": [
          {
            "m_strImportantProperty": "Damage"
          },
          {
            "m_strImportantProperty": "MaxSlowPercent"
          }
        ]
      }
    ]
  }
]
m_AutoIntrinsicModifiers
2 items
[
  {
    "_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
  },
  {
    "_class": "modifier_intrinsic_base",
    "_my_subclass_name": "modifier_intrinsic_base",
    "m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
      "BonusFireRate"
    ]
  }
]
m_eAbilityTargetingShape"CITADEL_ABILITY_TARGETING_SHAPE_SPHERE"
m_eAdditionalShopFilters"EShopFilterMobilityReduction"
m_strCastAnimSequenceName"ability_generic_cast"
m_strHitConfirmationSound"Mods.Weapon.Capacitor.Proc"
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_NONE"
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_IN_ABILITY_ALLOW_ZOOM"

History

  1. 6722–6745changed
    • +m_nShopVersion0
    • +m_mapWeaponInfos
      { 1 key }
      {
      	primary = 
      	{
      		m_flBulletSpeed = 4200
      		m_flBulletRadius = 24.5
      		m_mapImpactEffects = 
      		{
      			default = 
      			{
      			}
      		}
      		m_strBulletWhizSound = "Mods.Weapon.Capacitor.Projectile.Whizby"
      		m_flBulletGravityScale = 0.2
      		m_strBulletImpactSound = ""
      		m_eAttachmentSourceType = "EAttachmentSource_Custom"
      		m_flBulletRadiusVsWorld = 1.5
      		m_strBulletLoopingSound = "Mods.Weapon.Capacitor.Projectile.Lp"
      		m_strWeaponImpactEffect = "particles/upgrades/capacitor_impact.vpcf"
      		m_strCustomAttachmentSource = "palm_R"
      		m_szBulletTravelTracerParticle = "particles/upgrades/capacitor_projectile.vpcf"
      	}
      }
    • +m_CorruptedItemInfo
      { 1 key }
      {
      	m_Upgrade = 
      	{
      		m_vecPropertyUpgrades = 
      		[
      			{
      				m_strBonus = "15"
      				m_strPropertyName = "BonusFireRate"
      			},
      			{
      				m_strBonus = "5m"
      				m_strPropertyName = "ChainRadius"
      			},
      			{
      				m_strBonus = "37"
      				m_strPropertyName = "DamagePerChain"
      			},
      			{
      				m_strBonus = "37"
      				m_strPropertyName = "BonusPerChain"
      			},
      			{
      				m_strBonus = "2"
      				m_strPropertyName = "ChainCount"
      				m_bRoundCorruptedBonus = true
      			},
      			{
      				m_strBonus = "-0.03"
      				m_strPropertyName = "ProcCooldown"
      			},
      			{
      				m_strBonus = "-15"
      				m_strPropertyName = "AbilityCooldown"
      			},
      			{
      				m_strBonus = "1"
      				m_strPropertyName = "SlowDuration"
      			},
      			{
      				m_strBonus = "100"
      				m_strPropertyName = "Damage"
      			},
      		]
      	}
      }
    • +m_sCustomStackLabel#CurrentStacks_label
    • +m_strDisableItemTarget""
    • +m_eAdditionalShopFiltersEShopFilterMobilityReduction
    • −m_WeaponInfo
      { 12 keys }
      {
      	m_flBulletSpeed = 4200
      	m_flBulletRadius = 24.5
      	m_mapImpactEffects = 
      	{
      		default = 
      		{
      		}
      	}
      	m_strBulletWhizSound = "Mods.Weapon.Capacitor.Projectile.Whizby"
      	m_flBulletGravityScale = 0.2
      	m_strBulletImpactSound = ""
      	m_eAttachmentSourceType = "EAttachmentSource_Custom"
      	m_flBulletRadiusVsWorld = 1.5
      	m_strBulletLoopingSound = "Mods.Weapon.Capacitor.Projectile.Lp"
      	m_strWeaponImpactEffect = "particles/upgrades/capacitor_impact.vpcf"
      	m_strCustomAttachmentSource = "palm_R"
      	m_szBulletTravelTracerParticle = "particles/upgrades/capacitor_projectile.vpcf"
      }
    • −m_eShopFiltersEShopFilterMagicDamage | EShopFilterFireRate
    • −m_nUpgradeSlotCost1
    • −m_strSelectionNameOverrideitem
  2. 6696–6701first dumped