Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 7s ago· Viewing build 6698 (Sep 17 2026), not the latest

ability_astro_rifle

ability

class ability_astro_rifle · inherits from signature_base

Deadworks (C#)
pawn.AddAbility("ability_astro_rifle", slot);
pawn.RemoveAbility("ability_astro_rifle");

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 1Tier 2Tier 3Provides
DamageDamage48+0.584963 spirit scaling
MaxStacksMax Stacks10
TechPowerSpirit Power0TECH_POWER
SlowPercentMove Speed0+15MOVEMENT_SPEED_SLOW_PERCENT
WeaponPowerWeapon Damage0WEAPON_POWER
AbilityChargesCharges4
DebuffDurationDebuff Duration15
AbilityCooldownCooldown10.5
AbilityDurationDuration0
AbilityCastDelayCast Delay0
AbilityCastRangeCast Range0
ChannelMoveSpeed-1
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
SlowDurationPerStack0+1
AbilityUnitTargetLimit1
AbilityPostCastDuration0
DamageAmplificationPerStackBonus Damage per Stack10+5
AbilityCooldownBetweenChargeCharge Delay2.0

Modifiers

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

Name for AddModifierClassReads ability values
ability_astro_rifle/modifier_astro_rifle_debuffmodifier_astro_rifle_debuff
ability_astro_rifle/modifier_astro_rifle_selfmodifier_astro_rifle_self
ability_astro_rifle/slow Slowedmodifier_slow_baseSlowPercent

VData

_class"ability_astro_rifle"
_editor
1 key
{
  "folder_name": "Hero Astro"
}
_multibase
1 item
[
  "signature_base"
]
m_iMaxLevel1
m_WeaponInfo
15 keys
{
  "m_flRange": 10000,
  "m_iClipSize": 20,
  "m_flBulletSpeed": 13000,
  "m_flBulletRadius": 5,
  "m_flBulletLifetime": 3,
  "m_vecScatterOffsets": [
    [
      0,
      0
    ],
    [
      1,
      0
    ],
    [
      -1,
      0
    ]
  ],
  "m_strBulletWhizSound": "Shiv.Dagger.Whizby",
  "m_flBulletGravityScale": 0.1,
  "m_flPenetrationPercent": 0,
  "m_flBulletRadiusVsWorld": 5,
  "m_strWeaponImpactEffect": "",
  "m_flDamageFalloffEndRange": -1,
  "m_szMuzzleFlashEffectName": "",
  "m_flDamageFalloffStartRange": -1,
  "m_szBulletTravelTracerParticle": "particles/abilities/astro/astro_marksman_projectile.vpcf"
}
m_iUpdateTime1647302636
m_SelfModifier
6 keys
{
  "_class": "modifier_astro_rifle_self",
  "m_bIsHidden": true,
  "m_sStartSound": "Hornet.Assassinate.Zoom.In",
  "m_sExpiredSound": "Astro.ZoomOut",
  "_my_subclass_name": "modifier_astro_rifle_self",
  "m_WeaponFxParticle": "particles/abilities/astro/astro_marksman_buff.vpcf"
}
m_eAbilityType"EAbilityType_Signature"
m_strCastSound"Shiv.Wpn.Fire"
m_bStartTrainedfalse
m_DebuffModifier
7 keys
{
  "_class": "modifier_astro_rifle_debuff",
  "m_SlowModifier": {
    "_class": "modifier_slow_base",
    "_my_subclass_name": "slow",
    "m_sLocalizationName": "modifier_astro_rifle_slow",
    "m_strParticleEffect": "particles/upgrades/slow_bullet.vpcf",
    "m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
      "SlowPercent"
    ]
  },
  "_my_subclass_name": "modifier_astro_rifle_debuff",
  "m_sLocalizationName": "modifier_astro_rifle_debuff",
  "m_strParticleEffect": "particles/abilities/astro/astro_marksman_debuff.vpcf",
  "m_strTargetHitSound": "",
  "m_strSmallIconCssClass": "marksman"
}
m_strAbilityImage"file://{images}/hud/abilities/hornet/hornet_assassinate.psd"
m_flBossDamageScale1
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_PRESS"
m_nAbilityPointsCost0
m_PreviewPathParticle"particles/generic/generic_arc.vpcf"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_ENEMY"
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_ALLOW_SELF_CAST"
m_nAbillityUnlocksCost1
m_strSecondaryStatName"ability_astro_rifle_amplification"
m_AbilityTooltipDetails
1 key
{
  "m_vecAbilityInfoSections": [
    {
      "m_strLocString": "#ability_astro_rifle_desc",
      "m_vecBasicProperties": [
        "MaxStacks",
        "DebuffDuration",
        "SlowDurationPerStack"
      ],
      "m_vecAbilityPropertiesBlock": [
        {
          "m_vecAbilityProperties": [
            {
              "m_strImportantProperty": "Damage"
            },
            {
              "m_strImportantProperty": "DamageAmplificationPerStack"
            }
          ]
        }
      ]
    }
  ]
}
m_skillshotMissParticle"particles/abilities/skillshot_default_miss_owner.vpcf"
m_strCastAnimGraphParam"b_Shoot"
m_bitsInterruptingStates"MODIFIER_STATE_STUNNED"
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_NONE"
m_strAbilityChargeReadySound""
m_strAbilityOffCooldownSound""
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"

History

  1. 6722–6745removed
  2. 6696–6701first dumped